Wednesday, September 19, 2012

Be able to make a Flash game following industry practice

IDEA GENERATION

Target Market!
.........................................................................................
Female/Male.
Toddler/Child/Teens/Adults. 

  • Females hobbies, Make-up, Knitting, Clothes shopping, Hygiene, shoes, socialising.
  • Males hobbies, Socialising, food, games, skate boarding. 
Knitting~ Wool, pink, crafty/creative. 








The design of my invaders game is going to be styled like sewing and haberdashery and wool. I like this style and thing it will be a nice invaders game for girls aged between 7 - 15.  The idea kinda developed from the game "Little Big Planet". This game is very popular and has a specific style that is unique to most games. I wanted to use this style but make it more themed for girls. I like this idea because it is quite nice to work with. I think it will work because it is quite funky.


I took on the idea for a woolly look because it was something I came up with in my ideas generation. But also the look I was going for reminded me of a game I like called "Little Big Planet".

This is the design that I have so far for the space ship.












This is what will probably be the background of the game. I think I will vary it between different one and may even have them change between levels.








The independent changes I've decided to make for my game is adding sound.





This is a Print screen of work in progress. I've named the game Haber-Dash because it is a play on the word Haberdashery.









The script that I used for sound is : var mySound:Sound = new MyFavSong();

mySound.play()


When ever I needed more than one sound I'd just add a number to the my sound part on both pieces of script. I put the first half of the script in with the variables and then changes the section MyFavSong to the linkage name that I have given my sound. I put the second part of the script in the function itself. What ever function that will play the sound I.e the termination of an enemy and the the lasers.







This is a video of the Explosion sound that I used in this game.



This is a video of the Laser sound effect that I used in this game.


This is a video that demonstrates in-game footage.


Here is a more up-to-date video demonstration of my game.


Wednesday, September 12, 2012

Understand the application of Flash to game development

Asteroids is a video arcade game released in November 1979 by Atari Inc. It was one of the most popular and influential games of the Golden Age of Arcade Games, selling 70,000 arcade cabinets.[1] Asteroids uses a vector display and a two-dimensional view that wraps around in both screen axes. The player controls a spaceship in an asteroid field which is periodically traversed by flying saucers. The object of the game is to shoot and destroy asteroids and saucers while not colliding with either, or being hit by the saucers' counter-fire.



This is one version of asteroids that I found online. Where you are the asteroids in stead of the ships.










This is the classic asteroids game where everything is in black and white and is very simple. I'd say that this doesn't have any particular style. But asteroids is a style due to it's historic value.









This is another version that I found on-line on a website called Learn4Good.  ..  This one was almost the same as the asteroids classic but had better graphics and had an added feature that a space ship comes and shoots you too.






Here is another classic game that reminds me of asteroids. Merely for the reason that once again in this game there are hazardous things coming towards you.




Be able to use Action-Script for game programming

ACTION SCRIPT DEMO ~ Script.
Variable this creates a string variable having no value … //**************VARIABLES**************/ var gameState:String; //*********BEGINNING STUFF**************/ endScreen.visible = false; End screen is a movie clip and it is making the movie screen false. //**************INTRO SCREEN**************/ introScreen.play_btn.addEventListener (MouseEvent.CLICK, clickAway); function clickAway (event:MouseEvent):void { moveScreenOff (introScreen); } First line: A movie clip called intro screen that has a child called Play button. Adding an event listener to add a function called click away. function moveScreenOff (screen:MovieClip):void { screen.x = (screen.width)*-1; gameState = "INITGAME"; addEventListener (Event.ENTER_FRAME, gameLoop); } function moveScreenOff (screen:MovieClip):void It is THE function. Screen. x is the axis. gameState = "INITGAME"; Game state remembers the word- “INITGAME”- Finds a function to run “INITGAME”-Event listener. INITGAME is just the value-name of the variable. //**************STATE_INIT_GAME**************/ function initGame ():void { trace("add stuff to initGame") gameState = "STARTPLAYER"; } //**************STATE_START_PLAYER**************/ function startPlayer ():void { trace("add player stuff") gameState = "PLAYGAME"; } //**************STATE_PLAY_GAME**************/ function playGame ():void { makeEnemies (); testForEnd (); } function makeEnemies ():void { } function testForEnd ():void { gameState = "ENDGAME"; } function showResults ():void { trace ("Show Results"); endScreen.play_btn.addEventListener (MouseEvent.CLICK, clickFinalAway); function clickFinalAway (event:MouseEvent):void { trace ("clickFinalAway"); moveScreenOff (endScreen); } } //**************STATE ENDGAME**************/ function endGame ():void { removeGame (); endScreen.visible = true; removeEventListener (Event.ENTER_FRAME, gameLoop); showResults (); } //**************REMOVE GAME**************/ function removeGame ():void {






Be able to use Flash tools for game construction

IDE(integrated development Environment) Flash report


What is Adobe Flash?
Flash is an animating and scripting program, it is very useful for making games and animations. It is relatively easy to use and looks very much like the other Adobe products, so if you use one I.e, Photoshop, you can seem pretty confident as a new user where basic tools like, move, brush and the shape tools are. The good thing about Flash too is it’s not just for the older market anyone can use it and it is quite fun to use.

Scripting in Adobe Flash.
 One of its main features is the ability to script a file and make it intractable using the scripting, by turning shapes into movie clips and buttons.
You can also use pre-written script that can be altered to user specification. Scripting allows you to make random generations, create different variations of movement and allow you to time animations perfectly by viewing them in the Time-line. With script you can create buttons and movie clips which can be scripted to do many things I.e, a button may be used to take you to another scene, activate an animation or even be a menu page to take you to a game, where as a movie clip can be scripted to be a solid object and can be scripted to even move remotely with the keys on your keyboard.

Creating Graphics in Adobe Flash.
You can also use flash for creating vector base graphics. The good thing about this is that you keep the quality when re-sizing the image it is scale able unlike pixel graphics that get distorted and blotchy when re-sized  With this you can make PNG images and even JPEGs. The re-sizing of vector graphics is done by calculations, so that the image will not get distorted and the edge of the image you create will stay crisp as intended.

Animating in flash.
Animating in Flash seems to be one of the more simple things to do by using the tween tools, with this tool you can create movement and even morphing of one object to another.
With the time line Key frames you can use the tweening tool and union skin tool you can create animation, you can also use these properties to create interactive movement that being, interactive story, games or even tests. 
To use the union skin is basically for Frame By Frame animation where it allows you to see the previous frame and the next frame so you can see the variation of what you are drawing, this allows you to get an accurate perspective when drawing to create the ‘perfect movement’. 
The timeline uses the key frames where you can see every frame and can change the Frame rate speed. I.e, 24.00 Frames per second. It is very useful that Flash allows a user to change the frame rate as it can make an animation seem smoother and higher quality, it can also change the speed of things.

Flash’s interface usability’s.
This program is quite user friendly too and is very organised allowing you to put graphics you may need in the library for later use or the use of stage layers to keep everything separated this also gives the user an easy way to re-access these graphics. The only feature that seems to be not so user friendly is the scripting as it requires a good memory and a good knowledge of code. All in all though once user gets used to them it seems to be pretty easy to understand, but even for a new user the pre-written script seems to do all of the basic jobs.

Importing into Flash.
It is also good for importing images to use on the stage or the library that you can create using other software as it is pretty flexible with what is allowed, you can also use PNG files so you are not left with a white background to remove. 
You can also import sounds into your game or animation and use script on sounds like explosions for example.

Debugging and testing in Flash.
When you test your videos or games you can use the de-bugger tool to pin-point mistakes very easily so you can patch your mistakes, then you can test your video or games in the device simulator. The de-bugger tool is very clever in letting the user know exactly what line of code it is that is clashing with other script. You can also use this program to make a game for other devices like android mobile phones and will use a good variety of emulators for testing.