Wednesday, 16 December 2009

Flash Movement

I wanted to further develop the technical aspect and mechanics of my game and started looking at different ways Flash and Actionscript work together to make different aspects of my game work. First and most importantly was the idea of being able to move my characters on the stage, not with just one control as most one-player flash games operate, but with two simultaneous controls working together to simulate the kind of movement I want to emulate in my game.

So I basically developed a stage in which I would be able to move a blue and red circle with the arrow keys and W, S, A, D keys respectively. As well as trying my best to avoid any "key-lock" arrangements (I'll explain this another time in detail) when mapping my controls to different keys, it was to have both controls move at controlled space with different variables to determine speeds.



Later in my game, I was considering adding power-up collectables in the game, which when picked up will enhance certain character qualities such as hit damage, character speed etc.
I consider this one of the more ambitious ideas of the game, but if I was to add equations to variables that when the powerups are collected, variable values are then altered as a result of that pickup. This will mean I have to look into hitTesting for moving objects and hitTesting in relation to combat.

No comments:

Post a Comment