Monday, March 12, 2012

A simple 4-way shooter

I just finished another tutorial from the "Foundation Game Design with Actionscript 3.0" book.
This game is based on the tutorial "monster mayhem" and I learned the basics of how to code a simple weapon and some simple enemy AI. This is also my first attempt at setting up my code so it works efficiently with multiple levels.

Shoot some Cloud Dudes!
Arrow keys to move
space bar to shoot ( in the direction that you are moving, its a bit confusing without a visual cue)

Sunday, March 4, 2012

Defuse the Bombs!

I just finished another tutorial from the "Foundation Game Design with Actionscript 3.0" book.
This time I made my own assets and made the code more modular. I am finally starting to get used to sending parameters between different classes and making my own static methods ( I made my first collision method for this tutorial)

Defuse The Bombs!
You have 20 seconds to find/touch all 15 bombs. Otherwise everything will explode.
Arrow Keys to move

Sunday, February 26, 2012

Ipad Balloon game Progress

I haven't updated this blog in a while, but I've still been learning. A week ago, I successfully published a working prototype of a balloon popping game. There was no multitouch at the time, but it I got that working yesterday, along with a score board. ( this game is NOT using flashpunk, i realized that i needed a better understanding of the basics before i jumped into using an engine library)

Red Balloon + 10 points
Green Balloons - 20 points
LightBlue/bomb balloons + 20 points.( eventually I will have it do an AOE effect to the balloons around it)

I've still been reading through the "Foundation Game Design With Actionscript 3.0" book and going through the tutorials. I will post more progress on that later today.

Monday, February 13, 2012

More Tutorials with Flashpunk

I've been busy working on these 2 flashpunk/OGMO tutorial sets:

1) http://flashpunk.net/tutorials/ - The flashpunk video tutorials by Zachary Lewis are fantastic, the included dry comedy makes them even better. The video tutorials even cover how to use OGMO a tilebased level editor that converts the data into XML code that flash can use. On top of that, it covers the basics of using the free git source version control software (which is necessary when you are working with alot of different code classes). - http://code.google.com/p/msysgit/

2) http://thedoglion.wordpress.com/2010/08/07/flashpunk-tutorial-01-how-to-make-your-avatar-move/
This one is on how to make a zelda/JRPG top down style game, which I am a big fan of. A bit more complicated but it goes well with flashpunk specific tutorials. I have not reached the end yet, but it covers how to do text dialog and choices!

Here is what I have so far:
-Directional arrow OR WASD controls to move
- zomg there is COLLISION!
- this is also my first attempt at using Flash DEVELOP to build rather than Flash CS 5.5. (all code, no UI)

Friday, February 10, 2012

its been 1 month since I started...where am I at?

These are my accomplishments/progress since I stared this blog(1 month ago):

-I learned the "old" actionscript 2 way to make a simple beatem up (using this old splatterhouse tutorial)
http://ydjapan.com/temp_kris/beatemuptutorial/beatemup.html

-I also learned the "new" actionscript 3 way to make a beat em up (scrolling backgrounds, eventlistener control setup)
-I had a realization that beatem ups are actually pretty complicated to make, so i decided to take a few steps back to learn more about actionscript 3

-I completed the first few tutorials from this book -

-I finished this ASgamer.com tutorial on making a space shooter -

-i also finished the ASgamer.com tutorials on preloaders and sponsor prerolls in actionscript 3 

-learned how to use flash cs5.5's built in Air IOS packager and published the spaceshooter to my iphone4
(with working on-screen touch buttons) but the performance was pretty bad (choppy framerate)

-completed this tutorial on making touch gestures work with images - i also deployed it to my iphone4

-learned about the flashDevelop IDE and flashpunk (which i am currently learning)
------------------------------------------------------
NEXT STEPS:
-make a simple 2D game using flashdevelop and flashpunk and get it working on my iphone, with "good" framerate and decent controls

-at the same time, i am trying to build a solid framework for an IOS art/photography portfolio app.

...MONTH 2 IS HERE...considering i didn't even have a flash editor installed a month ago, i think that's okay progress


Wednesday, February 8, 2012

first iphone prototype successful!

I've been continuing my learning journey with books and tutorials while I add more features to this game.
Preloader is working, along with a basic menu and Initialization screen. Credit goes to ASgamer since all
this info comes from his tutorials. I managed to figure out how to add on screen (iphone friendly) buttons using event listeners all on my own!

One of my main goals for this week was to get it running on an IPHONE and i hit it early!
Frame rate was kind of crappy so i had to cut down the stars and switch to less vectors/more bitmap graphics. I'm currently working on a scrolling background for it and not sure what next.


Monday, January 30, 2012

my first flash shooter

I just finished this tutorial from asgamer.com and i've been working on making it my own by adding new features and uniqueness to it. I'll continue to add to this one as I learn more about actionscript 3.

http://asgamer.com/2009/flash-game-design-basics-adding-library-objects-to-stage-with-as3


Here is a link to play it in fullscreen.
Full Screen Mode


-Click in the flash window to activate controls
--directional arrows - to move around,
--SPACE BAR - to shoot

Friday, January 20, 2012

first pass As3 conversion of the first beat em up

I'm still trying to re-create the AS 2.0 beat em up(from a couple weeks ago) in actionscript 3. I just wrapped up some basic movement controls and I just did a first pass on her Jump. I also applied a couple features I learned from doing the first few tutorials of this book (Features like screen boundaries and scrolling backgrounds) :

 " Foundation Game design with Flash" 
http://www.amazon.com/Foundation-Game-Design-Flash-Foundations/dp/1430218215/ref=sr_1_1?ie=UTF8&qid=1327053380&sr=8-1

Click in the window to activate controls:
directional arrows - to move,
Control key - to attack/kick/crouch attack

Monday, January 16, 2012

actionscript 3.0 is owning me

Well i've been going through some new tutorials to learn actionscript 3 (the beat em ups below is all actionscript 2.0) and i thought i was going great until i tried to re-do the beat em up with the newer language. It smacked me around all day today and I couldn't even cobble together internet code to make it work. In AS 3.0 everything seems to be more complicated but I know its more flexible and robust in the long run.

This is a simple character movement tutorial i worked on earlier today..lets just say this was pretty damn hard.
Direction arrows for controls and click in the window to activate

Saturday, January 14, 2012

Day 5 - Picking up and using a Weapon (a pipe)

Yay for progress!
After a couple nights of work, I finally managed to add a weapon that Blaze can pick up and use. Adding the pipe asset to all the different animations was the easy part...I screwed up by having 2 conflicting "attachMovie" functions which were spawning in the weapon and the enemy (both depth 9). This took a couple hours to figure out...oh and I was also missing a bracket in one of the loops which broke things later.
I also added a few proper sprites for her flying kick.

Ctrl = punch
Up + Ctrl= flying kick
Down + Ctrl= Leg sweep
direction arrows = move left/right, crouch and jump
Down arrow = to pick up the pipe

TIP: you have to click inside the flash window once for the keyboard inputs to work...

Thursday, January 12, 2012

Embedding my project updates into Blogger

I learned recently that playing .swfs can be a pain since the Flash player can require a browser and a "open with.." to play properly. Luckily google solved my problem.

Here are the controls so far:
Ctrl = punch
direction arrows = move left/right, crouch and jump

TIP: you have to click inside the flash window once for the keyboard inputs to work...

Day 3 - Now with Enemies!

Day 3:
I've been going through this great Actionscript 2.0 "Beat em up" tutorial I found the other day and made some more progress..now with a bunch of "Final Fight" enemies "Andre"!
I am still figuring out what all the code means, but I've managed to hack it together anyways.


Here's a link to the flash swf of the progress:

Wednesday, January 11, 2012

First Post! - The due date for my first 1 level project is February 10th 2012

Here's a link to the flash swf file of my beat em up game.
I'm currently using Blaze from Streets of Rage 3. (not using my own art until everything works)

Here's a link to the flash swf: