Archive for December 2013

Draw Santa’s Beard!

Draw Santa's Beard Game

HoHoHo! Merry Christmas! Have you ever been at the mall and wished you could customize Santa’s beard, and make the jolly old elf look the way YOU wanted him to? No? You haven’t!? The thought never even crossed your mind? Well, you can do it anyway with this little web app thingy I made, just in time for Christmas!

Draw Santa's Beard - Pirate Santa

What’s more Christmasy than Pirate Santa?

And don’t think you’re limited to just his beard! You can draw his hat if you want to as well. Make him a pirate! Make him a ninja! Make him into Mrs. Claus! The possibilities are endless!

Select the color and brush size you want and use your mouse to add festive features to the bald Santa Claus head. (Use “Print Screen” on your keyboard to save your Santa if you would like.)

(I used parts of this tutorial to figure out how to make it work).

[topswf swf=’http://jenniferawesome.com/wp-content/uploads/2013/12/drawsantasbeard.swf’ width=’550′ height=’400′ quality=’best’ wmode=’opaque’ scale=’default’ flashvars=” allowfullscreen=’false’]

Snowman Pong

Snowman Pong - JenniferAwesome.com

I made my Pong game even better and more Christmasy! Now it has snowmen and Christmas music. Ignore the fact that it’s kind of morbid for people made from snow to be throwing snowballs at each other for fun and enjoy!.

Merry Christmas! (Or “Happy Holidays” if you prefer.)

Use the mouse to control your snowman.

[topswf swf=’http://jenniferawesome.com/wp-content/uploads/2013/12/snowmanpong.swf’ width=’550′ height=’400′ quality=’best’ wmode=’transparent’ scale=’default’ flashvars=” allowfullscreen=’false’]

How to Make Pong in Flash with ActionScript 3.0

Pong by Jen Ný

Being completely new to Flash and ActionScript 3.0, I turned to online tutorials to learn some of the basics to make my own Pong game. I’ve never made an online tutorial before, but I wanted to help other people who are new to Flash learn how to expand on the tutorials I used to make a better Pong game (and learn more about ActionScript 3.0 and Flash in the process).

I started with a the Pong tutorial from AS3 Game Tutorials. That tutorial is a good start, but will only give you the basic functions of the game. You’ll need to do some more work to get something with all of the bells and whistles of a completed game (start button, ending screen, sound effects, etc.).

In addition to what was covered in the above tutorial, I wanted to give the player a way to win or lose, and have separate ending screens for winning and losing, a way to restart the game at the end, and, of course, sound effects. The following is assuming you have already followed all of the Pong tutorials from AS3 Game Tutorials and have a working Pong game.

Sound Effects

For the sound effects, you will need to import your sound file into Flash. To start, after you have the sounds you want to use, go to file -> import to library and select the sound file you want to use. Navigate to your library panel, right click on the sound file you just imported, and click properties. Make sure Export for ActionScript and Export in frame 1 are checked. Rename the class to something like sndBeep or whatever you want to call it.

Go back to the Actions window. Declare the variable for your sound at the top of your code with the rest of your variables using something like this:

var sndCollision:Sound = new sndBeep();

Where “sndCollision” is the variable name and “sndBeep” what you called your sound previously.

Now simply use code like:

sndCollision.play();

Wherever you want that particular sound to play (for example, every time the ball hits the paddles). Repeat these steps for each sound effect you’d like to include in your game.

I got my sound effects from SoundJay.com.

Start Button

I figured this one out from a forum post on AS2 Game Tutorials. First, simply create your start button (I used Photoshop, but you could just make one right in Flash), giving it an instance name such as btnStart, and place it in your game (it doesn’t matter if it is covering your game. We will hide it upon button click). Now go to the actions window and replace:

init();

with something like this:

btnStart.addEventListener(MouseEvent.CLICK, onClick);
function onClick(e:MouseEvent):void
{
btnStart.visible = false;
init();
}

Once the button is clicked, it will be hidden from the screen and the game will start.

End Screen

I also figured this one out from the same forum post as the start button, but I changed it up a bit. The instructions posted there have you simply making a score board to display when either the player or the computer gets to 5 points. I wanted separate screens to show whether the player won or lost, so I modified it a little bit (if you just want a scoreboard or one ending screen, follow the instructions in that forum post. The biggest difference is that I used two if statements, whereas the original poster used one).

First create two movieclip objects, one for winning (instance name winText) and one for losing (instance name loseText). I just used the words “You Win!” and “You Lose!” in the same font that I used for the scores. Place them so that they are overlapping each other, but not overlapping the start button (we will be reusing the start button to restart the game in the next section).

Reopen the actions window and add two if statements like these (one to check if the player won, and another to check if the computer won):

if(playerScore >= 5)
{
stage.removeEventListener(Event.ENTER_FRAME, loop);
winText.visible = true;
}

if(cpuScore >= 5)
{
stage.removeEventListener(Event.ENTER_FRAME, loop);
loseText.visible = true;
}

This stops the game and displays the win or lose text. But we’re not done yet! There’s no easy way for the player to restart the game and continue playing for hours and hours on end!

Restart Button
There might be better ways to include restart functionality to this game, but I couldn’t find any tutorials, and this was the best I could come up with after looking over the code with my limited experience in Flash and ActionScript 3.0. I basically just made the start button visible again, and reset the scores to 0 when the game ends.

To start with, add the following code inside both of the if statements we added in the last section, under where we made the win or lose text visible.
btnStart.visible = true;
cpuScore = 0;
playerScore = 0;

This makes the start button visible again and resets the scores. Now, go to the onClick function that we added when we made the start button. Add the following code:

winText.visible = false;
loseText.visible = false;
updateTextFields();

This will hide the win or lose text, and reset the score text fields to display zero again once the game is restarted.

I think that’s about it. I also added credit text with my name and website address to both ending screens the same way I added the winning text and losing text. You can play my finished Pong game here.

I hope someone found this helpful! As I said at the beginning of this post, I am a beginner at this myself. I’m also new to making tutorials, so if I accidentally left something out or wrote something wrong, let me know!

Pong!

Pong by Jen Ný

As I mentioned in my last post, I just started learning Flash on my own. Here’s the first game I made using Flash; Pong! My Pong game is just like traditional Pong, except the paddles and ball are pink, which instantly makes it better!

I’ll post the resources I used to learn how to make Pong (plus my own instructions for the things I couldn’t find tutorials for online) in my next post. For now, enjoy playing Pong (because you didn’t get enough of it in the ’80s!):

[topswf swf=’http://jenniferawesome.com/wp-content/uploads/2013/12/pong.swf’ width=’550′ height=’400′ quality=’best’ wmode=’opaque’ scale=’default’ flashvars=” allowfullscreen=’false’]

Use the mouse to control your paddle. First to 5 points wins.

One Semester Down

JenniferAwesome.com

I just finished my first semester of the Computer Games and Simulation Design degree. I got A’s in all of my classes, including over 100% in both Intro to Game Design and Programming in C# (due to extra credit that I probably didn’t really need to do).

Next semester I will be taking 2D Game Programming, Game Applications for Emergent Platforms, and Digital Illustration. According to the course description, we will be using the Torque game engine in the the 2D programming course. I’m hoping the Digital Illustration class uses Adobe Illustrator, rather than some other lesser known vector graphics alternative, since I already have and use Illustrator.

Right now, I’m learning how to make games in Flash on my own. I was originally going to take a Flash games class, but they are phasing it out in favor of the Apps class instead, which will be a much more useful skill-set to have now that mobile platforms are so popular. Since I already completed another degree and am on financial aid, they wouldn’t let me take extra classes that I don’t actually need to complete my degree.

I’m hoping to get my game studio’s website launched early next year. I’ll be starting out small with a few free-to-play browser-based games. Eventually I’d like to expand to mobile apps and console games (depending on how Microsoft and Sony handle indie developers in the future). Everything will be ad-supported to start out with (no evil micro-transactions! Though I won’t rule that out as a possibility for my games way into the future).

In the meantime, you can play the games I made for school. Just click on the “games” tab at the top of this page!

Animal Crossing: New Leaf Mrs. Claus Outfit

Animal Crossing: New Leaf Mrs. Claus

I made this festive Mrs. Claus costume for Animal Crossing: New Leaf especially for the holidays. This outfit is similar to my Santa Claus outfit, except in dress form. If you’re a guy, you might be more interested in my Santa Claus outfit: Animal Crossing: New Leaf Santa Claus Outfit. (The Santa Claus outfit was made by simply changing my Mrs. Claus pro-design into a shirt design and making a few minor alterations).

Here’s my character dressed as Mrs. Claus.

Animal Crossing: New Leaf Mrs. Claus

If you would like to use this design, here are the QR codes:

Animal Crossing: New Leaf Mrs. Claus QR code Animal Crossing: New Leaf Mrs. Claus QR code Animal Crossing: New Leaf Mrs. Claus QR code ACNLMrsClausQR4

And here’s the design for the hat. It’s a very simple non-pro design that could be replicated in about half a minute, but here’s the QR code if you would like to use it:

Animal Crossing: New Leaf Santa Claus Hat QR Design

Merry Christmas and Happy Holidays!

Animal Crossing: New Leaf Santa Claus Outfit

Santa Claus Costume for Animal Crossing: New Leaf

I haven’t been playing Animal Crossing much lately. Too many other games have been released recently, plus the whole college thing getting in the way. Anyway, I visited my village, Dinotown, long enough to spread holiday cheer and make a couple festive outfits. This post contains the QR codes for a Santa Claus outfit. (Check my next post for Mrs. Claus.)

Here is my character cross dressing as Santa Claus:

Santa Claus Costume for Animal Crossing: New Leaf

And here are the QR codes if you’d like to dress your character as Santa Claus.

Santa Claus Costume QR Code Santa Claus Costume QR Code Santa Claus Costume QR Code Santa Claus Costume QR Code

I also made a design for a matching hat. It’s a very simple non-pro design that could be replicated in about half a minute, but here’s the QR code if you would like to use it:

Animal Crossing: New Leaf Santa Claus Hat QR Design

Merry Christmas!

I also have a Mrs. Claus QR design! Animal Crossing: New Leaf Mrs. Claus Outfit

Santa’s Arctic Escape!

Santa's Arctic Escape

Santa’s sleigh crashed in Antarctica (darn Apple maps!). He must find his sleigh so he can deliver his gifts to all the good girls and boys on Christmas Eve. Help Santa find his sleigh and escape from the frozen tundra!

There are many arctic creatures who don’t possess the spirit of Christmas and want to harm Santa. Be careful not to be attacked.

Santa’s Arctic Escape was the 9th and final game I made in Intro to Game Design last semester. I thought it was appropriate to make a Christmas-themed game just before the holidays.

Santa's Arctic Escape!

You can download it for free here:

YoYoGames

Santa

Santas Arctic Escape
Added: 17 December 2013
By: Nybiru

This game was based on the Pyramid Panic tutorial in The Game Maker’s Apprentice.

Beach Tic-Tac-Toe

Beach Tic-Tac-Toe

The 8th game I made in Intro to Game Design was this simple tic-tac-toe game. It was just to learn the basics of scripting. I used summery beach-themed graphics because I’m already tired of this cold weather. I’m sure most other people living in Ohio agree with that sentiment.

There isn’t really much else to say; it’s tic-tac-toe. Get three pairs of your sandals in a row before the computer.

I made it following a tutorial in The Game Maker’s Apprentice, as with the rest of the games I made for that class.

YoYoGames

Tictactoe1

Beach Tic-Tac-Toe
Added: 17 December 2013
By: Nybiru

Beach Tic-Tac-Toe has something for everyone! A girl in a bikini for the guys and shoes for the ladies.
Okay, that was mildly offensive. Ignore that comment.

Garden Wars

Garden Wars

Garden Wars was the 7th game I made in Intro to Game Design. It is about two flowers who are warring over control of a garden. Ridiculous concept, I know. I got the idea while playing the 3DS StreetPass game, Flower Town (I bought the bundle with all four StreetPass games). Anyway, Garden Wars is nothing like that. It’s more like a simplistic BattleTanx, but with flowers instead of bad-ass tanks.

Garden Wars is a competitive 2 player game. They can shoot each other with seeds and there are various other pick-up items

Anyway, as always, Garden Wars can be downloaded from YoYo Games here:

YoYoGames

Gardenwars1

Garden Wars
Added: 17 December 2013
By: Nybiru

Garden Wars is based on the Tank Wars tutorial from The Game Maker’s Apprentice.