Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


[Flash]how to make a successful game

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
deleted user 111213
Grandmaster Cheater
Reputation: 0

Joined: 09 Nov 2007
Posts: 714

PostPosted: Thu Jun 05, 2008 12:26 pm    Post subject: [Flash]how to make a successful game Reply with quote

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 thisafter you have done that and entered keyframes up to 24.add a new
Code:
.
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
Code:
stop();
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
Code:
on(release)
or
Code:
on(press)
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=FCool 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
Code:
totalmoney
now you have nearly everything you need to create a flash game.
Back to top
View user's profile Send private message
DeletedUser14087
I post too much
Reputation: 2

Joined: 21 Jun 2006
Posts: 3069

PostPosted: Thu Jun 05, 2008 1:14 pm    Post subject: Reply with quote

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
View user's profile Send private message
deleted user 111213
Grandmaster Cheater
Reputation: 0

Joined: 09 Nov 2007
Posts: 714

PostPosted: Thu Jun 05, 2008 1:49 pm    Post subject: Reply with quote

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
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8588
Location: 127.0.0.1

PostPosted: Thu Jun 05, 2008 5:20 pm    Post subject: Reply with quote

Looks an awful lot like a ton of other tutorials for the same purpose.
_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
deleted user 111213
Grandmaster Cheater
Reputation: 0

Joined: 09 Nov 2007
Posts: 714

PostPosted: Fri Jun 06, 2008 1:24 pm    Post subject: Reply with quote

come on wiccaan. its an ok tutorial. it couldnt be that bad.
Back to top
View user's profile Send private message
Clavinbui
Master Cheater
Reputation: 0

Joined: 08 Dec 2007
Posts: 477
Location: New York

PostPosted: Fri Jun 06, 2008 6:26 pm    Post subject: Reply with quote

it is a helpful tut and im going to try
_________________

Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8588
Location: 127.0.0.1

PostPosted: Fri Jun 06, 2008 6:59 pm    Post subject: Reply with quote

ghostrider1337 wrote:
come on wiccaan. its an ok tutorial. it couldnt be that bad.


I didn't say it was good or bad, I said it looked a lot like other tutorials posted by others already on the net.

Loader code:
http://forum.myspace.com/index.cfm?fuseaction=messageboard.viewThread&entryID=33044996&groupID=105716338&adTopicID=6

Other code:
http://www.gotoandplay.it/_articles/2007/02/game_tutorial_part1.php

There are plenty of other sites this code looks to be exactly the same from.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Mussy69
Grandmaster Cheater
Reputation: 0

Joined: 09 Mar 2007
Posts: 842
Location: Sydney

PostPosted: Sat Jun 07, 2008 4:43 am    Post subject: Reply with quote

Nice Job,
Only wish it was picture tut for nubs at flash like me Rolling Eyes

_________________
Back to top
View user's profile Send private message AIM Address
Clavinbui
Master Cheater
Reputation: 0

Joined: 08 Dec 2007
Posts: 477
Location: New York

PostPosted: Sat Jun 07, 2008 8:27 am    Post subject: Reply with quote

it is a picture tut and keritos sig sucks
_________________

Back to top
View user's profile Send private message
nwongfeiying
Grandmaster Cheater
Reputation: 2

Joined: 25 Jun 2007
Posts: 695

PostPosted: Sat Jun 07, 2008 8:31 am    Post subject: Reply with quote

I've looked into flash programming, but...it seems to complicated for a result that doesn't satisfy.
Back to top
View user's profile Send private message
Missi0n
Grandmaster Cheater
Reputation: 3

Joined: 20 Jul 2007
Posts: 820
Location: Around

PostPosted: Sat Jun 07, 2008 9:17 am    Post subject: Reply with quote

It's a good tut fore noobs at flash, i mite try it Very Happy
_________________

☭☭☭☭☭☭☭☭☭☭☭☭☭☭☭☭☭☭☭☭☭☭☭☭☭☭☭
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites