Texas A&M Hangman (Longhorns beware!)

You can play my game here.

The game I decided to do for my final was a Texas A&M themed hangman.  I was really excited to do this project but easily became upset. Once again, this is another one of failed game. I have everything the same as my previous hangman (except I added sound (that works) and movie clips) and it doesn’t work. I cant get the first page to work, you can click the start button but nothing happens. I have my code right but once again there must be something thats not connecting.

This is the start screen you can't get past.

My inspiration for this game was obviously Texas A&M. I went there my freshman year and thought it would be fun to share a little bit of the Aggie traditions with my my Trinity friends. I choose to make the “hangman” an A&M logo that gets smaller every time you guess incorrect. I used this sort of metaphorically in that the aggie spirit is so big and proud that if it gets smaller we lose and thats the end. I also put the fight song of the front page because it is so loud and exciting it gets the player ready to play the game.

My biggest frustration is that my game doesn’t work. You can look at my code and theres nothing wrong!! its so frustrating! I have my start page and when you click start that is supposed to go away and the game is supposed to begin, but it doesn’t work like that. I used previous code from other games to make this one and Rex.

Hopefully someone will look at my code and tell me whats wrong! I can’t find it!

 

Advertisements
Posted in Uncategorized | Leave a comment

Dungeon Escape

This is where my game is stuck and you can't move!

You can play my game here.

The name of my game is Dungeon Escape. The basis of the game is to get the torches and matches to light your way through the cave then ultimately blow up the cave at the end. I chose to use 8-bit style characters to give the game a more retro feel. My main inspiration was the Legend of Zelda. I liked how to game was so basic and easy for everyone to play and understand. I actually have not gotten my game to run properly and I have no idea whats wrong with my code! I followed Rex and the AS Bible word for word and it still doesn’t work! I have all the different classes that I need just something is not connecting with the .fla file.

In level one, the player must navigate through the garden walls and grab the torch to light their way through the cave which leads them to level two. In level two there is an enemy blocking the next cave. you must grab the next torch and shoot the enemy and kill it to proceed. After beating this enemy, you will go to level three. In level three, the player must decide what kind of match will blow up the cave, the green of the blue. Be careful because if you choose the wrong one it sends you back to the beginning!

I though I could solve my own problems but apparently I couldn’t. I copied Rex’s code for most of the classes but I still couldn’t get it to work for my game. I also took code from the AS Bible which didn’t work either. To be completely honest, I feel so behind in the class (in Flash knowledge) compared to everyone else, that I am embarrassed to ask really basic questions abotu stuff we should already know. Hopefully one day I’ll get it!

Posted in Uncategorized | Leave a comment

Dot’em Nukem Forever

The game uses a "survival" type of gameplay, where the user must try to minimize the lives lost whenever a dot slips off the screen. Also, the "dots popped" status offers a feedback system for the user to get the most "pops" while trying to click away the dots before the next wave of dots are spawned.

You can play my game here.

For my final flash game, I created a survival/defense clicker game called “Dot’em Nukem Forever.” Much of the visual design in this game is based on of Paul Preece’s popular Desktop Tower Defense (DTD). I mainly focused on adapting DTD’s simple and minimal “look” behind each tower and enemy. Moreover, I attempted to mimic Preece’s palette of relatively low-contrast colors while keeping sufficient contrast to deliver a visually defined and engaging experience. However, I did however use two different typefaces in my game (Stencil and Century Gothic). Generally, I used the Stencil font for the more “macho” and army effect with start buttons and restart buttons. I also decided to choose the more contemporary and simplistic Century Gothic as the main font for my in-game status text boxes. Though these two fonts have a very different style, I believe the contrast helps add some personality and humor to the game play experience.

This game does not necessarily offer a level-by-level challenge as it is a “survival” type game and can go on for quite some time if the user is inclined and capable in indefinitely destroying wave after wave of spawned dots (the player’s enemy). Overall, there are two major challenges the player faces while playing this game. The first challenge is to race against the clock timer to annihilate (by clicking furiously) the evil dots before more spawn each round (roughly 15 seconds).  Second, the player must prevent any dots from escaping off the screen, which deduct a life from the player per dot escaped. This also means that the player  should, in all cases, always keep the dot count as low as possible since new upcoming waves of dots can inevitably overwhelm the player.

When a player loses all their lives, I purposely allowed the dots swarm the screen until you press the retry button, giving the game a bit of a personality.

Alike my previous flash assignment, I have learned to lose track of the number of problems I came across whenever I worked with flash. Nevertheless, there were a few that stuck out. The first problem I had involved me choosing not to use classes to reference my enemy characters (I was also a bit stubborn), which posed a severe problem when trying to reference individual instances of the same movieclip that are added onto the stage. Especially because the majority of my game revolves around dynamic coding, I’ve come to learn that understanding how the class system works in Adobe Flash is an absolute necessity when characters are frequently accessed and adjusted as the player continues playing. Thanks to Dr. Delwiche’s help, I was able to gain a better understanding of how classes work and as a result wrote my code more efficiently than I ever could have without classes. The other major problem I had was programming each wave with additional difficulty. In this, I had to add a ton of counters in order for each new “wave” of dots to be increasingly more challenging and impossible for the player. Fortunately, I was able to find very helpful suggestions and advices from dedicated AS3 forum sites such as kirupa.com, stackoverflow.com, and republicofcode.com. Moreover, I heavily used Keith Peters’ Actionscript 3.0 Animation text as a guide in creating my random spawn positions of characters and learning to apply velocity concepts.

All in all, I am very pleased with the game I created because of its ability to sustain itself on loops of code (aside from minor flaws). I was actually surprised by how much the final project helped me improve my skills as a programmer and taught me to be a systematic thinker. I will surely miss those love-hate moments of coding and hope that next semester’s html5 will be just as fun. Thank you, Adobe Flash. =)

Posted in Uncategorized | 1 Comment

Monster Madness

Play my game Here.

My game is titled Monster Mash. This should give away the general theme of the game. I wanted to create a basic shooter: point and shoot. Overall the game mechanics turned out much simpler than I planned. This is pretty clearly a game for children… maybe an interactive tutorial on how to use a mouse. However, I did enjoy putting together the basic design of the game. Continue reading

Posted in Uncategorized | Leave a comment

Reel Trivia

My game is a movie trivia game. I have decided to title it: Reel Trivia. It is a homonym based pun. It has 10 different questions about 10 different movies. Most of them are movies that I would consider classics. Every single one of them is a movie I would recommend to just about anybody. The ten films are: Inception, Cool Hand Luke, Gladiator, Black Hawk Down, Blazing Saddles, Se7en, Fight Club, From Russia With Love(James Bond), Dr. Strangelove, and The Dark Knight. Click here or on the first picture to play the game.

I've hidden the question so it doesn't give away the answer

Continue reading

Posted in Uncategorized | Leave a comment

Going… Going… Gone!

Play my game here

My game is titled “World Series Trivia Game.”
Of course, I tried to input as much baseball theme as possible in the background and the gameplay. I thought that it would a subtle, yet nice touch to make the buttons correspond to condiments that people put on hotdogs at baseball games. The buttons start off yellow (mustard), when you hover over them they are red (ketchup), and when you click on them they turn white (relish). The background of the game is a baseball diamond complete with bases and the green part is the grass.


For the improvement to my trivia game, I input video in between answers, made the entire trivia game baseball-themed, and added a timer. The video that I input between answers was for if the player got an incorrect or correct answer. If the player got the answer correct, a video of Albert Pujols hitting a homerun, a good thing in baseball, would show up with the text “You are correct.” If the player got the answer incorrect, a video of Moises Alou losing the ball to a fan, a bad thing in baseball, would show up with the text “You are incorrect, the correct answer was X.”
The biggest challenge for the player is the questions themselves. I had to research many of the answers online. I did not randomize the questions and where the answer showed up because I realize I did not have enough time, but I feel like my game can be played a few times before the players gets all the questions correct.

The biggest trouble I had with the game was getting the video to work properly after a player answered a question. First, I wanted to simply put it in my “Correct” and “Incorrect” functions, but it never was called properly. I then made two other functions “Right” and “Wrong” that were inside the “Correct” and “Incorrect” functions. Inside “Right” and “Wrong” was where I set up the video. For awhile, I couldn’t figure out the coding for the video itself because I thought that I would always be calling an instance to the stage. I named variable “Pujols” and “Bartman” for the two videos thinking I would need to do a code like: pujols.FLVPlayback = new Pujols.FLVPlayback. I remedied the situation by going to republicofcode.com that I input into my code:
import fl.video.*;

var myVideo:FLVPlayback = new FLVPlayback();
myVideo.source = “pujols.flv”;
The reason why my video didn’t work is because this is the base code you need to call and FLV movie. The only part you need to change is the source. You have to call the movie from the same folder as the trivia game and make you have the correct name of the movie.

Posted in Uncategorized | Leave a comment

Go Spurs (Hangman) Go!

The main screen for Spurs Hangman.

Click here to play Spurs Hangman.

Spurs Hangman is a fleshed out version of my previous Hangman assignment, focusing on NBA and Spurs-related words. My game incorporates a lot of silver, white, and black; Spurs colors. The Coyote was a late addition to the product that I think adds a bit of whimsy and personality that was lacking. The sounds are basketball-related, and the buttons look like basketballs. The scoreboard; which incorporates the round, score, and fouls (the game’s equivalent to the actual hanging stick figure of the original).  Continue reading

Posted in Uncategorized | Leave a comment