| View previous topic :: View next topic |
| Author |
Message |
deleted user 111213 Grandmaster Cheater
Reputation: 0
Joined: 09 Nov 2007 Posts: 714
|
Posted: Thu Jun 05, 2008 12:26 pm Post subject: [Flash]how to make a successful game |
|
|
to make a succsessful game first all you will need is a preloader, a moving char and cash!!!!
to make a preloader first you need to make a static text box.then double click on the text box and enter keyframes in every few frames up to frame 24,hotkey=F6. it should look like this after you have done that and entered keyframes up to 24.add a new in every different keyframe.after that double click off the text to go back to the main timeline. after that create a new layer above your first layer and name it actions. then enter this code in the first frame. | Code: | stop();
myInterval = setInterval(preload,10000);
function preload() {
if (_root.getBytesLoaded() >= _root.getBytesTotal()) {
gotoAndStop(2);
clearInterval(myInterval);
}
} |
the 10000 after preloader holds the preloader for 10000 miliseconds.and enter this code in frame 2 create a game main menu and if you want to use mine go ahead. it can look like this
now create a button(s) and give one an instance name of play1. then go to the above frame of actions and type this in. | Code: | stop();
play1.onPress = function () {
gotoAndStop("game",6);
} | you can go for the traditional,unproffesional way of the simple or then make a new frame like this.
create ball using the oval tool and make it a movie clip and give it these codes. | Code: | onClipEvent(load){
speed=5;
}
onClipEvent(enterFrame){
if(Key.isDown(Key.LEFT)){
_x-=speed;
}
if(Key.isDown(Key.RIGHT)){
_x+=speed
}
if(Key.isDown(Key.UP)){
_y-=speed
}
if(Key.isDown(Key.DOWN)){
_y+=speed;
}
} | in the layer actions type in | Code: | stop();
totalmoney=20; | then create
now you have everything so far you need to make a simple RPG flash game. create an oval or circle piece using the oval tool. then make it a movie clip.(HOTKEY=F then type in these codes for the coin. | Code: | onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.totalmoney += 1;
unloadMovie(this);
}
} | then creat a dynamic textbox with the var now you have nearly everything you need to create a flash game.
|
|
| Back to top |
|
 |
DeletedUser14087 I post too much
Reputation: 2
Joined: 21 Jun 2006 Posts: 3069
|
Posted: Thu Jun 05, 2008 1:14 pm Post subject: |
|
|
Pretty cool, this is what you do when you're bored @ Vista ?
Last edited by DeletedUser14087 on Fri Jun 06, 2008 3:26 am; edited 1 time in total |
|
| Back to top |
|
 |
deleted user 111213 Grandmaster Cheater
Reputation: 0
Joined: 09 Nov 2007 Posts: 714
|
Posted: Thu Jun 05, 2008 1:49 pm Post subject: |
|
|
| yes vista. but i never made a succsessful game before.i wish i had though. i dont even know how to make a simple shooter.
|
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8588 Location: 127.0.0.1
|
Posted: Thu Jun 05, 2008 5:20 pm Post subject: |
|
|
Looks an awful lot like a ton of other tutorials for the same purpose.
_________________
- Retired. |
|
| Back to top |
|
 |
deleted user 111213 Grandmaster Cheater
Reputation: 0
Joined: 09 Nov 2007 Posts: 714
|
Posted: Fri Jun 06, 2008 1:24 pm Post subject: |
|
|
| come on wiccaan. its an ok tutorial. it couldnt be that bad.
|
|
| Back to top |
|
 |
Clavinbui Master Cheater
Reputation: 0
Joined: 08 Dec 2007 Posts: 477 Location: New York
|
Posted: Fri Jun 06, 2008 6:26 pm Post subject: |
|
|
it is a helpful tut and im going to try
_________________
|
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8588 Location: 127.0.0.1
|
|
| Back to top |
|
 |
Mussy69 Grandmaster Cheater
Reputation: 0
Joined: 09 Mar 2007 Posts: 842 Location: Sydney
|
Posted: Sat Jun 07, 2008 4:43 am Post subject: |
|
|
Nice Job,
Only wish it was picture tut for nubs at flash like me
_________________
|
|
| Back to top |
|
 |
Clavinbui Master Cheater
Reputation: 0
Joined: 08 Dec 2007 Posts: 477 Location: New York
|
Posted: Sat Jun 07, 2008 8:27 am Post subject: |
|
|
it is a picture tut and keritos sig sucks
_________________
|
|
| Back to top |
|
 |
nwongfeiying Grandmaster Cheater
Reputation: 2
Joined: 25 Jun 2007 Posts: 695
|
Posted: Sat Jun 07, 2008 8:31 am Post subject: |
|
|
| I've looked into flash programming, but...it seems to complicated for a result that doesn't satisfy.
|
|
| Back to top |
|
 |
Missi0n Grandmaster Cheater
Reputation: 3
Joined: 20 Jul 2007 Posts: 820 Location: Around
|
Posted: Sat Jun 07, 2008 9:17 am Post subject: |
|
|
It's a good tut fore noobs at flash, i mite try it
_________________
☭☭☭☭☭☭☭☭☭☭☭☭☭☭☭☭☭☭☭☭☭☭☭☭☭☭☭
|
|
| Back to top |
|
 |
|