Trees, Zooming, Z-Order, and a Game Over

Well, I sort of knew this would happen, but 16 hours left and I still don’t have any gameplay to speak of. But I’ve had a blast! Earlier today I was pretty stressed about not having any “worthwhile” results, but I feel a lot better after really thinking over why I wanted to participate in the first place(read: have fun, learn, have a first game). So I feel really good about the progress I’ve made so far. When I picked up Ruby a couple months ago to write web scrapers, I really didn’t have the slightest clue that I’d be doing cool shit like this! Seeing all these games from all these people around the world, at all skill levels, is really inspiring. Watching the live streams, playing the prototypes, reading all of these posts have all helped me keep going back to my code. From newbs like myself to veterans like Notch, everyone’s all working at(mostly) the same time towards the goal of making something cool and fun. Mine may not be fun(yet), but at least for me it’s as cool as hell.

Anyways, away from the sentmimentalities, today I implemented proper z-ordering(each tile calculates its distance from origin, and the player tile updates each move), a zooming system so you can adjust the camera, trees, random permutations for the floor tiles, and the enemy cubes now have detection squares that make you immediately lose the game upon touching. I also learned how to package .rb files as .exes using ocra, so I’ll be able to release the game when time’s up! My one regret is I wasn’t able to maintain focus for very long periods of time. I suspect I may have been able to alleviate that with better planning. But that too is part of learning.

2013-12-15 02_38_28-lose_screen

 

The full progress is in this imgur album:  http://imgur.com/a/GK4q5