Join us on Discord!
You can help CodeWalrus stay online by donating here.
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - _iPhoenix_

#31
PC, Mac & Vintage Computers / Re: Gateway to Legend
July 08, 2018, 03:29:07 PM
I really like how you implemented fighting. It looks awesome.

I do think that the boss you showed should have more health, because you defeated it in like five hits :P

On bosses, maybe you could show a boss bar or something that shows a visual indicator of the health of the boss.
Also, the fanfare after the boss fight works amazingly.

(Sorry for such a choppy post, I'm in a bit of a rush right now)
#32
Drawing & Animation / Re: Walrii fanart
July 05, 2018, 01:39:43 PM
Quote from: xlibman on July 04, 2018, 01:27:27 PM
I probably won't do a timelapse of myself doing walruses, since the Google Chrome one took about 5 minutes to make in real time xd

But I love it ^^

Do you have a small GIF version that I can append to the first post of this thread?

Yep!
#33
With map packs, I think it would be cool if you could use a preset boss or define your own boss.
#34
I made myself a new version of the _iPhoenix_ walrus, and I did a time lapse of me doing it!





I'll probably switch over soon, but I have a few things I want to change first!

Edit; I'd like to see a time lapse of xlib doing his, because holy c he is good
#35
Phones & Tablets / Re: Block Ninja
June 25, 2018, 01:59:07 AM
Quote from: c4ooo on June 24, 2018, 08:05:10 PM
Quote from: _iPhoenix_ on June 18, 2018, 06:33:20 PM
It is easily the best Python app in the app store with loads of features you will use and loads of features you didn't know you'd use.
Running user code? How come the app doesn't go against apple TOS?

It was shut down once or twice in the past, but I think it uses some clever loophole.

As far as I can tell, it currently does not bypass the Apple TOS.
#36
Phones & Tablets / Re: Block Ninja
June 22, 2018, 05:04:41 AM
A small change, but I fixed some Block Ninja bugs! Bombs no longer count in streaks, and streaks are significantly easier to get. I also changed the icon for bombs, because it was super difficult hard to see in the last update.

Happy Slicing! Download.
#37
Randomness / Re: Walrii storytelling!
June 18, 2018, 06:56:14 PM
...3 to 5 pseudorandomly distrubuted walrus-particles each exactly 1/3 the size of the original walrus, which in turn exploded into a sea of hundreds of adorable 3 inch (about 8 cm) tall baby walruses...
kk we legit need a plot cuz this ain't goin anywhere
...who each stared at the explorers expectantly. They were interested in the shiny device being held by the first explorer. The swarm of walruses took a nervous step towards him, unsure what exactly to do. Subconciously, the inexperienced walruses decided that the best route to the device was to climb up the explorer's leg. Gravity kicked in, and plan 'a' failed. Time for plan 'b', which involved...
#38
Phones & Tablets / Block Ninja
June 18, 2018, 06:33:20 PM
Block Ninja is a less-than-fully featured Fruit Ninja clone written for iPhone/iPad using the app Pythonista 3. (The app costs 10USD, but I assure you it is worth every penny of that. It is easily the best Python app in the app store with loads of features you will use and loads of features you didn't know you'd use. I'd actually rather program in it than in the default python Mac install).
It has a lot of awesome features and because of built-in sprites and a decent amount of math it looks quite good!


Eye candy:


Download the latest version of BlockNinja.py from this here and Pythonista 3 from the App Store (if you don't already have it). Load the BlockNinja.py file into Pythonista, and you're all set to play!


It features a high scores table, streaks, bombs, crits, a timer, advanced particle effects, and lots of obscure hacks and shims in the code because it wouldn't be a game written by me without them.


I feel obligated to put this in here, because I am promoting something that does cost real money. I'm not affiliated with Pythonista or its creators in any way (I'm not getting paid or anything for promoting the app), I got the app myself, toyed around with it and think the app is awesome, so you should totally get it, too.

New in v1.1:
- The timer flashes red when you are running out of time
- Loads of helpful and funny (if I do say so myself), in-code documentation.
- Optimizations
- Blocks hit with crits have particles that travel farther.
#39
Randomness / Re: Walrii storytelling!
June 18, 2018, 10:02:16 AM
bump
...canal lock...
#40
Python 3, A005131, 53 bytes
f=lambda n:[2*~-i//3if 1==i%3else 1for i in range(n)]
Defines a function, f, that returns an array of integers. Call with f(n), with n being your input.

(We don't need to stick to JS :) )
#41
JavaScript, A174375, 59 bytes
f=n=>{for(i=0,q=[];i<n;i++) q.push((j=i*i)-(j^i));return q}
Defines a function, f, that returns an array of integers. Call it from the console with f(n), with n being your input.

This one is pretty cool, despite its apparent simplicity. If you graph f(n) against n, it approximates a Sierpinski gasket when the maximum n is a power of two.
#42
Tech, Science, IT discussion & News / OEIS golfing!
June 16, 2018, 07:00:48 PM
Inspired by this, and highly inspired by the Programming Puzzles and Code Golf (PPCG) stack exchange. If there are any doubts with the rules, default to their rules.


You must take a sequence in the OEIS (it must be known that it has infinite terms), and write a program taking a input, n, (somehow. If your language doesn't support taking input, editing the source code to insert a decimal number is allowed) and outputting, in base 10 plain text the first n terms of that sequence. You must start at the first term in the sequence. This can be via a file, a function return, etc


No hard-coding solutions, you should use an algorithm.
No reading from external sources.
No asking for the sequence from the user.
The program should be your own work. No stealing programs from other users.
(Use good judgement)
Programming languages are defined by their implementation, so the programming language must have a working compiler/interpreter by the time of this post.
Feel free to help others with their code golf. Be sure to explain what you changed and why it works!

If you are showing off your code golf, format your post like this:
[spoiler]
language name, sequence number, bytes
code
(how to use, if applicable)


optional explanation
[/spoiler]


I'll go first.


JavaScript, A025480, 70 bytes
f=r=>{for(s=[],i=0;i<r;i++)s[2*i]=i,s[2*i+1]=s[i];return s.length=r,s}
Defines a function, f, that returns an array of integers. Call it from the console with f(n), with n being your input.


inb4
JavaScript, A000012, 21 bytes
f=r=>Array(r).fill(1)
Defines a function, f, that returns an array of integers. Call it from the console with f(n), with n being your input.
#43
Your code does not work for me (latest version of chrome, Mac); what browser are you using?
#44
If it was, say, Mozilla aquiring GitHub, I'd be perfectly fine with it. But this is Microsoft. Microsoft takes good things and makes them worse.
#45
Web / Re: Markdown to HTML and BBCode!
June 04, 2018, 07:05:56 PM
Quote from: gameblabla on June 04, 2018, 11:09:59 AM
I personally would like to see the exact opposite (From BBcode to Markdown) so i can use it on discord because Markdown has some strange symbols

Yeah, that's the eventual idea. I personally prefer Markdown over BBCode because, as I noted in my post, it is more concise.
Powered by EzPortal