PDA

View Full Version : [AS2] How would I make this game? or like it. . .


Adam_C
04-28-2009, 05:16 PM
http://www.teagames.com/games/tgmotocross3/play.php?start=1

Full tutorials and help needed :)

kool-Aid
04-28-2009, 05:51 PM
There are a lot of different code elements to a game a complex as that. i dont think there is a single tutorial to give you man. I would say get a book on Flash gaming (and by saying buy a book i am not trying to sound like a jerk)

rrh
04-28-2009, 10:08 PM
It could be something like box2D.

scarce
04-28-2009, 11:29 PM
all it is is static movieclips composing each limb with a pivot point where joints go. Then it uses gravity on each movieclip with a preset (on bike) and then it's just raising and lowering the variables to simulate body movements...there's no 3d at all to this.

bluemagica
04-29-2009, 05:38 AM
Its not 3D, but i believe like rrh said, it use a physics engine, and because of the collision effects, i think it might be APE instead of Box2D!
Oh and the body maybe done with IK's, but if someone is using a physics engine, then that will be done with a ragdoll!

asf8
04-29-2009, 01:36 PM
It could be something like box2D.

...like rrh said, it use a physics engine, and because of the collision effects, i think it might be APE instead of Box2D!...

Both APE & Box2d are AS3, so its not made with either of them as the Player Requirement for the game is "This game requires the Macromedia Flash 8 player plug-in".

So since its AS2/FP8 it can not be using either as they are AS3.

BMX Star, Funky Trucks, BMX Backflips 2, etc.. were all from 2005, TG Motocross 2 was 2006, TG Motocross 3 was 2007.

The creator David Thorburn has been creating Flash games for a long time and if you look at the succession of things it would appear that its a system he has developed and expanded upon with each game over the years, getting more complex with each release.

Just 2 cents. ;)

kool-Aid
04-30-2009, 03:52 PM
The creator David Thorburn has been creating Flash games for a long time and if you look at the succession of things it would appear that its a system he has developed and expanded upon with each game over the years, getting more complex with each release.

Just 2 cents. ;)

So what i think asf8 is saying is that there is no one tutorial to give on this one, or an easy (oh it was this plugin) that will do the job, but maybe a book on writting flash games could help you. :p

rrh
04-30-2009, 05:54 PM
If you use a pre-existing library, it's still not easy. But it is usually less work than building a new physics library from scratch.

asf8
04-30-2009, 07:12 PM
If you use a pre-existing library, it's still not easy. But it is usually less work than building a new physics library from scratch.

Maybe so, but an exisiting library, exisiting code, exisiting file, does not translate into understanding the code, its structure, its meaning, or its usage.... in reality.

So what i think asf8 is saying is that there is no one tutorial to give on this one .... but maybe a book on writting flash games could help you.

Well what I was trying to express was, A.) that those AS3 libraies mentioned above were not used, and B.) Yeah this type of game/code is not really found in tutorial form online otherwise you would find it real quick via a google search because there would be 50 million other people searching/linking/talking about it in the flash community. Plus you would see just as many spin offs of such games if it was that simple.

;)

And yes as kool-aid has stated twice, there are plenty of books for building games in Flash that would be a good place to start.

Adam_C
04-30-2009, 09:26 PM
everyone seems to have said the same thing, but all i really want to know id how the bike drives on the road and the key presses.?

any help with:
driving on the road (and the road)
key presses for forward and rotation of bike

thanks :)

asf8
04-30-2009, 10:10 PM
? .... all i really want to know id how the bike drives on the road and the key presses.? any help with: driving on the road (and the road) key presses for forward and rotation of bike

- MovieClip.hitTest
- Key Listeners / Key.onKeyDown / Key.onKeyUp
- if / else - switch / case
- for / while
- _x / _y / _rotation
- onEnterFrame / setInterval
- variables
- operators ( + , ++ , += , - , -- , -= , * , / , != , etc...)
- etc... / etc...

Start reading the Flash helps docs and searching the forums. When you have specific questions then ask them so someone can then help.

Have you started anything yet?

rrh
04-30-2009, 10:15 PM
Adam C: Have you made any games at all?

Added: I was mentioning Box2D because you said "this game? or like it" and the physics of that game is the most distinctive part, so I fixated on that. If you are still at the level of asking, "How do I make things move with buttons?" then you need to start with more basic stuff.

kkbbcute
05-01-2009, 05:21 AM
Adam C: Have you made any games at all?

Added: I was mentioning Box2D because you said "this game? or like it" and the physics of that game is the most distinctive part, so I fixated on that. If you are still at the level of asking, "How do I make things move with buttons?" then you need to start with more basic stuff.

I agree as well, making the bike behave with realistic physics is by far twenty times harder than making something move back and forth, if you are still in the process of figuring that out, check this out:

http://www.flash-game-design.com/flash-tutorials/movOb-flash-tutorial.html

Adam_C
05-01-2009, 07:24 AM
Adam C: Have you made any games at all?

Added: I was mentioning Box2D because you said "this game? or like it" and the physics of that game is the most distinctive part, so I fixated on that. If you are still at the level of asking, "How do I make things move with buttons?" then you need to start with more basic stuff.
no :( but i know some basic flash AS2 and i know my way around flash :)

bluemagica
05-01-2009, 11:08 AM
OOh you are a pro(jk)! so just go read through emanuel ferantos blog posts....he has enough info on box2d and using physics in games!

Adam_C
05-01-2009, 08:29 PM
I've made my basic bike MC and now i need to make 'gravity' and to move the bike. also i need some sort of 'floor' or 'ground'

tutorials for each of these? :)

asf8
05-01-2009, 08:40 PM
Help - bike moving, I've made my basic bike MC and now i need to make 'gravity' and to move the bike. also i need some sort of 'floor' or 'ground' tutorials for each of these?

I guess you didnt like your other thread?

http://www.actionscript.org/forums/showthread.php3?t=205165
[AS2] How would I make this game? or like it. . . Full tutorials and help needed

Adam_C
05-01-2009, 08:42 PM
I guess you didnt like your other thread?

http://www.actionscript.org/forums/showthread.php3?t=205165

No! lol:) everyone was disagreeing and therefore confusing me lol :P

any help?

kkbbcute
05-02-2009, 04:23 AM
no :( but i know some basic flash AS2 and i know my way around flash :)

So was the link I gave of any help?

kkbbcute
05-02-2009, 04:23 AM
Actually, what everyone posted in the other thread was basically all you needed to know, the link I gave and bluemagica's recommendations basically teaches you everything.

Adam_C
05-02-2009, 10:14 AM
I agree as well, making the bike behave with realistic physics is by far twenty times harder than making something move back and forth, if you are still in the process of figuring that out, check this out:

http://www.flash-game-design.com/flash-tutorials/movOb-flash-tutorial.html

all i need to do now is create a gravity and a 'floor' :)

kkbbcute
05-04-2009, 01:39 PM
Would you want a cheat way to create gravity or the real life F=ma formula way?