Completing a Flash Game: The Worst Part

Posted on August 7th, 2008

I basically finished my newest game (which I cannot share with you for the sake of keeping it exclusive) a month ago. After that, I kept thinking, oh, I'll make the final adjustments and complete my game tomorrow. The only problem was, I never really got around to doing it. I would work on it a little here and there, but I never really made myself finish the game. There was always one more little thing I could do to make it a bit better, and each time I sat down and worked with flash, I would get a fraction closer to finishing.

But it was only when I realized that the summer days were running out when I knew I had to finish the game fast. The thing was, it took me much longer than I had expected. Just to make the final touches on my game took two days alone. It was torture. With every passing moment, I wanted more and more to finish it and get it sponsored (hopefully). What I'm trying to say is, never think that your game is done until it is. I could have finished my game almost a month ago, and already be well into another.

Well, next time.

Read Entry »




Making a Zombie Game with Flash

Posted on July 10th, 2008

This is a fairly simple game concept. Basically, it is a game where you walk around and defend yourself from being brutally mauled by zombies who are closing in on all sides. If you don't know what I'm talking about, try playing Zombie Horde 3. We'll expand on our movement from "A Simple Start: Interactivity with Flash." We'll add player rotation, so that the character is always facing the mouse. In later tutorials, we'll add shooting, so that your character can fire at the zombies. We'll even go into a little AI, so that the zombies can follow you around.

Well, what are we waiting for? Lets get started.

Read Entry »




A Simple Start: Part 2

Posted on May 4th, 2008

The previous tutorial taught you how to make a ball move around on screen with simple interaction. Now we're going to make the movement a bit more complicated and I am going to show you how you can use variables in ActionScript.

Here's what we're going to try to do. What we want is when the user presses a key, it accelerates the ball in that direction. Therefore, we will not just add to the x and y values, but instead add to the x and y SPEEDS.

Here's what we're going to do in this tutorial:


Read Entry »




A Simple Start: Interactivity with Flash

Posted on April 29th, 2008

This tutorial is incredibly basic. If you don't know anything about ActionScript or programming in general, than this is probably the tutorial for you.

Alright, we're going to just make a simple circle that moves around when the user presses the arrow keys. Sound good?
Alright, first, draw the circle. (Not too difficult). Now, select it, right click, and convert it to symbol. Make sure that "Movie Clip" is selected for type. Name it "ball" and press okay.
Yay! You have a symbol! Now, click on the symbol and go to the properties tab on the bottom of the screen. Under "Instance name", put "ball". This is very important, or else actionscript won't be able to reference your symbol.

Now for the code. In the actions tab, put the following code.

Code:
  1. ball.onEnterFrame = function() {
  2. if (Key.isDown(Key.UP)) {
  3. this._y--;
  4. }
  5. if (Key.isDown(Key.DOWN)) {
  6. this._y++;
  7. }
  8. if (Key.isDown(Key.RIGHT)) {
  9. this._x++;
  10. }
  11. if (Key.isDown(Key.LEFT)) {
  12. this._x--;
  13. }
  14. }


Read Entry »




Welcome to Prograhamming!

Posted on April 7th, 2008

Hi, I'm Graham, and I want to welcome you to Prograhamming. This site is dedicated to helping you learn how to program in ActionScript, PHP, CSS, HTML, and make graphics in Photoshop.
I will post tutorials regularly, and you can feel free to leave comments and questions on each entry.
I would love to tell you that this site is made completely by me. No software, except for perhaps GeSHi, my code example syntax highlighter, was used in the making of this site. It is PHP based.

On "games.prograhamming.com" you can find my actual works, the games that I have made. I do not currently have any games posted, as this site is only a few days old, but there will be soon. Meanwhile, enjoy my tutorials.


Once again, welcome. I hope that you will be a regular visiter here at Prograhamming.com.


P.S. My site is optimized for Mozilla Firefox. Although it works perfectly on IE, some of the site graphics look slightly better on Firefox.

Read Entry »