zolonoid part 2 or 1.1?

Published October 23, 2011
Advertisement
*edit* oops forgot the video... I really was that tired.


Yeah, so only 4 and half hours to be able to sleep last nite. For the sake of not sleeping in a gain and getting yelled at for it.. I once again opted to stay up well, unfortunately I couldn't focus enough to get anything done. 36 hours later I feel like a zombie with insomnia. A quick rehash of the graphics... I'm a sucker for simple clean looks. Pretty sure I've got the collision detections close enough to perfect... though I'm sure it could be simpler and faster than the way I do it. There can be an infinite amount of balls and blocks aslong as they can fit on the screen though without optimisations it seems ~2048 blocks and 32 active balls is getting close to the limits... I hit about 24-32 FPS. I'm sure some simple spatial bounds checks to eliminate the amount of collision test done would speed things up dramatically. as for now it's doing 65,356 tests just to see if any ball collided with a block. I don't see why I couldn't bring that down to around 2000 tests... but it's not needed and I've never seen a game of Arkanoid with more than 5 balls active.

I also disabled the effect of balls dieing when they hit the bottom of the screen... as it just causes the game to exit right away. To finish it off, I cleaned a fair bit of the code, splitting it into actions(functions) for easier reading. Also to make it less likely I'll edit or place any code in the wrong place. Next just need to slap together a title screen, gameover state and a simple editor for visually designing levels.

Tomorrow is magic day, so wish me luck. Last time I got my rear end handed to me over and over again. Think I got to comfortable playing casual games and wasn't ready for half the cards I went up against. I had to revive my burn deck and revamp it to counter the stupid "no win, no loose" cards and fast control decks that were being used. So far it hasn't taken me more than 10 turns to win, and if they can't remove artifacts, I can usually take the game by turn 6.
0 likes 0 comments

Comments

Nobody has left a comment. You can be the first!
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Profile
Author
Advertisement
Advertisement