Page 1 of 1
The Laser Cell
Posted: Sun Apr 19, 2020 1:15 am
by sphyrth
I'll admit. The creator of Flappy Box inspired me to make a Simple-but-Fun game.
What I love most is that this brought me back to the concept of Coding is More Fun than Playing.
Re: The Laser Cell
Posted: Fri Apr 24, 2020 8:42 pm
by Germanunkol
91. Then I found out that not only the pixel with the laser on it, but also the neighboring pixel is dangerous
I didn't know Flappy Box, but I like this - when it suddenly starts picking up the pace, there's so much going on
Maybe make the neighboring pixel also light up, but only a bit?
Also, I think after wave two I was saved by the wave ending - there was a laser about to go off on my left but then it didn't due to the wave ending. Maybe let all lasers go off when the wave ends, just don't spawn any more?
Re: The Laser Cell
Posted: Fri Apr 24, 2020 9:30 pm
by pgimeno
I believe the OP meant Floppy Box, which is a few lines down the Games and Creations list of threads at the time of writing this
viewtopic.php?f=14&t=87407
Re: The Laser Cell
Posted: Fri Apr 24, 2020 11:00 pm
by sphyrth
Yeah, I did mean Floppy Box. While most say it's fun, you SHOULD check out that game's code. It's so clean and beautiful that it makes a great case for
WhiteSpace > Tabs and
Consistent Programming Practice with () and ;.
Germanunkol wrote: ↑Fri Apr 24, 2020 8:42 pm
Also, I think after wave two I was saved by the wave ending - there was a laser about to go off on my left but then it didn't due to the wave ending. Maybe let all lasers go off when the wave ends, just don't spawn any more?
The (fixed) Wave Time is independent on the (getting faster) Laser Time. I was also saved by that Wave Time a couple of times, but I considered it a bug. Not to mention that the game might be trying to fire the same wall at the same time.
I refined my code as well as address that issue. If you want that it's in here:
Re: The Laser Cell
Posted: Sun Apr 26, 2020 9:56 pm
by Germanunkol
178!
I like how each wave dies off slowly at the end now...