Updated Demo

February 2, 2008

Hello, I just uploaded the latest demo for Commander 3.  In this version the new features are :

-Optimized Rendering
-Showing NEW unit -  Allied Lieutenant.
-Animated Units for all directions
-New selection modifications – Can now select only 1 unit.
-Units now stack in 3 columns instead of 2
-Showing the new menu system, although it is not that far implemented yet.

Check it out HERE 

Unit Selection / Movement

January 30, 2008

Here is a pretty big update to the game.  You can now select your ally units, and click on the arrow button that pops up, and click on a new map location.  Your units will automatically move to that position and move into a column stance.  To stop a unit that is moving, click on the stop button that pops up while you have units selected.  To select units drag and drop your mouse around them.  HERE

Be sure to leave comments so I know how you like the updates :)   Btw- you still use the arrow keys to move the map.

Thanks.

New Demo

January 30, 2008

Hello, just a quick update with a new demo. This demo has the finalized map rendering code(at least it’s final unless I find a bug ;) ) And also spawns 50 enemies randomly on the map to see how easy it was to handle enemies and other objects rendered directly to the screen instead of making movie clips for each one. I have an array that keeps track of the enemies, and then draws them onto the background layers as needed. This seems to be much faster than having lots of movie clips running around. Check it out HERE

Please leave comments on FPS and movement. To scroll the map, use the arrow keys. Also keep in mind the drawing of the enemies isn’t completely done so they might not show up with completely transparent background when drawn near each other. I’m fixing that now =)

Scrolling Demo

January 24, 2008

Hello, here is a demo of the map scrolling :) Use the arrow keys to scroll the map.

Click Here

Comments are welcome!

Stress Test

January 23, 2008

Click Here I was testing to see how many enemies I could draw and move on the screen at a time :) I noticed that if the enemies weren’t moving I could have about 4 time as many on the screen as when they were ALL moving like the demo. Kinda cool to look at :) This test also includes the code for the water moving so try to keep in mind what all this flash is doing and it’s pretty amazing it’s still going fast!

Moving Water – Update

January 23, 2008

Hey, just thought I’d post this link real quick. This is a little moving water that I’m playing around with for Commander 3. It uses displacement maps and perlin noise to randomly move the water with waves. How’s it look? Click Here

I am still tweaking it to try to make it look more realistic, but this seems to render pretty quick :)

-UPDATED- Check the link out again, I have added a FPS counter. Please comment with the FPS you are getting. I have tried to optimize the code :) Thanks.

Hello!

January 23, 2008

Welcome to my new blog. I will be posting about my flash projects here, especially the new Commander 3 that I am working on. I will use this place to post code snippets, tutorials, and more for ActionScript 3.0 :)


Follow

Get every new post delivered to your Inbox.