Gathering Storm - The Second Day

December 01, 2011

After a truly riveting first day, there were still, well, a couple things that still needed improvement.

The foremost of these issues was that the control scheme in that first program wasn't even right. A first person view has a distinct direction. When I press the left arrow, I don't move left, I turn left. And when I press up, I don't automatically move north, I move in the direction I'm facing.

So the second day, I focused on giving my moving box a rotational orientation...by turning it into an arrow. And then changed the control scheme into what is described above: left and right rotate, up and down move the arrow in the direction it's facing.

Also, I kind of stopping being an idiot in terms of the animations, turning to the coding to control the movement automatically instead of animating everything by hand...or at least automatically animating most of it. I still went about animating the rotation of the arrow by hand for some reason. I think maybe I didn't know the dot extension for an angle. In fact, come to think of it, I still don't. It hasn't really come up. Oh wait, yes it did. In the level up animation. It's .rotation. So there.

Anyway, behold that which is the second day of Flash programming!
Notice also how movement actually moves the background instead of moving the arrow. I figured this was a good way to do things, since that's pretty much what happens in the first-person perspective.

Next up: The third day goes to the third dimension! Actually, it took me about a week to go to the third dimension, mainly because I wanted the next code I wrote to be usable in the actual game.

Incidentally, these first two programs I wrote are called "First" and "Second." The file that I'm writing now is still called "Third," so I guess my intentions were fulfilled.


Leave a comment

Comments will be approved before showing up.


Also in Blog

Forge War Kickstarter: A Retrospective

November 29, 2020

Read More

One crazy month
One crazy month

April 30, 2020

I’m sure I’m not alone in the fact that this last month and a half as been quite crazy. I remember about mid-March when the pandemic really started getting serious in the US, and I decided to still go to Piranha Pig Con (pictured above), and then visit my wife’s family out in Virginia.

Read More

The launch has shifted, and that's okay
The launch has shifted, and that's okay

March 20, 2020

I don’t have to explain to you how chaotic this last week has been, and I’m sure you don’t need any more statistics at this point. What I’d like to do, though, is briefly explain how Cephalofair Games has been affected by recent events, and what we will be doing moving forward.

Read More