Archive

Archive for May, 2012

Re-coding complete and then some

May 4, 2012 2 comments

I’ve completed re-coding my game from scratch and the code is much cleaner and much more reusable this time. I managed to add some background music and sound effects during attacks. I’ve also got a stage selection page working (though admittedly it’s not much at this point). I think it’s much more obvious now which units can still be moved, and the flow of each turn is much smoother (though you’ve lost the ability to attack before moving). The music and sound effects are just filler at the moment, I’m going to try and compose my own bg music at some point. As promised, here’s the video:

Please ignore the 2 spots in the video where the music skips forward. I had a couple bugs pop up that required me to review my code midway through the videos and didn’t have the time to figure out what was causing the errors.

I need some feedback on the control scheme. Currently, you choose to not attack anything by clicking on the unit again or by clicking on an empty attack square. I forgot to show it in the video, but if you click outside of the highlighted move/attack area, you cancel the turn (this can’t be done after an attack is completed). Should I change this? I found myself accidently choosing not to attack a couple times during testing. Would a menu that gives you the option to attack, end or cancel be more useful after the movement selection is complete? Your feedback is appreciated!

Advertisements

I’m Back

May 1, 2012 2 comments

It’s been a while since I’ve posted anything and I think I can finally share what else I’ve been doing outside of work and programming my game. My wife and I are preparing to move out of state.

We’ve both lived in the Ann Arbor, MI area our whole lives and we’re making plans to move to Savannah, GA this summer. So most of March was spent getting the house ready for sale, applying for jobs and looking at apartments. We took a trip down there in the beginning of April, but weren’t able to anything productive besides relax. I think I’ve finally recovered from all the prep work we had to do and I’m ready to return to game development.

As far as the game goes, my reprogramming from scratch is nearly complete. The game is playable once again by two players and I’m in the process of rewriting the game’s AI. Once that’s done I’ll post another video (this week, I promise). So far I’ve added the ability to switch stages to the game and made it so you can move the screen with a click and drag instead of moving the mouse to the edge of the screen.

Upcoming list of changes:
-Auto end turn after all units have moved
-Highlight units left to move, darken units after turn complete
-Add zombie units to game
-Create unit images/animations (could be a while on this one)
-Add music/sound effects (trying to add temp music/effects soon)

Categories: Game Update, Personal