This forum has been archived. You will not be able to log in, register, or post.

Main >> General Forum Thread views: 1936

 
aduck8myleg

Posts: 175
im making a racing game with flash   Posted Mon Feb 10, 03   1:07 AM     

its in its early early early stages but i plan to do alot of work on it tommarow, heres a linky to it and you can play ver .5 (its just a drive test, not real game)

www.geocities.com/pingwincam/flashrace.html

wacha think?


--------------------
hooyeah
Posts: 2924
Re: im making a racing game with flash   Posted Mon Feb 10, 03   4:13 PM     

ooooh


what if the hokey pokey really is what it's all about?
Metal396
Posts: 713
Re: im making a racing game with flash   Posted Mon Feb 10, 03   6:02 PM     

thats pretty cool, keep workin on it, how do u make that stuff anyways? i wanna make a drag racing one hehehehehehehe.


----------------------------------------------------
Hooker headers to 2.5 inch pipes, Magnaflow X pipe, flowmaster 2 chamber Mufflers. LOUD!
aduck8myleg

Posts: 175
Re: im making a racing game with flash   Posted Mon Feb 10, 03   9:17 PM     

i used flash action scripting, if you have flash5 or mx heres how you make a moving car...

first draw something or use a jpeg like i did then convert it to symbol then select movieclip. then go to expert action scripting and type this...

onClipEvent (enterFrame) {
// right
if (Key.isDown(Key.RIGHT)) {
_rotation = _rotation+move;
}
// left
if (Key.isDown(Key.LEFT)) {
_rotation = _rotation-move;
}
// up
if (Key.isDown(Key.UP)) {
if (move<8) {
move++;
}
} else if (move>0) {
move--;
}
// down
if (Key.isDown(Key.DOWN)) {
if (move>-10) {
move--;
}
} else if (move<0) {
move++;
}
// enter
if (Key.isDown(Key.ENTER)) {
_x = 200;
_y = 200;
_rotation = 0;
move = 0;
}
// _x & _y position
if (_rotation>180) {
_y = _y+(move*Math.cos(Math.PI/180*_rotation));
_x = _x-(move*Math.sin(Math.PI/180*_rotation));
}
if (_rotation<180) {
_y = _y-(move*Math.cos(Math.PI/180*_rotation));
_x = _x+(move*Math.sin(Math.PI/180*_rotation));
}
}

and there you go, drivable car =D


--------------------
LS4_454
Posts: 726
Re: im making a racing game with flash   Posted Mon Feb 10, 03   9:32 PM     

Oh yea, now it all makes sense, was wondering what I was doing wrong.

Gorgoth3k1

Posts: 544
Re: im making a racing game with flash   Posted Tue Feb 11, 03   5:55 PM     

hehe... I used to use flash... back in the 4.0 days... you can do a lot more with java, but I do understand that Flash is much easier to use than Java... seeing as you literally draw everything and do little coding...

altho I love how you can integrate Flash and ASP and the ActionScript resembles closely the syntax used in other M$ .NET languages...

Oh.. and Metal... just do a search on Google or something on Flash 5.0 Tutorials or something and you can learn anything and everything pretty quickly and easily... I, presonaly, was never real big on the ActionScripting 'cuz i mostly made movies and web-sites without any real interaction than "click here go there" lol... otherwise i'd give ya a hand... but if you ever look into C++ or JAVA or anything of the sort i got knowledge in them areas... LOL

-Gor


-------------------------------------------------------------
[External Image Removed]
Caddy 500ci. Fiero
LS4_454
Posts: 726
Re: im making a racing game with flash   Posted Tue Feb 11, 03   9:55 PM     

I guess I'll have to upgrade from Flash .8, I like using the Mocha Java, keeps me going while I'm configuring the z drive and swapping out the flux capacitor.

Gorgoth3k1

Posts: 544
Re: im making a racing game with flash   Posted Thu Feb 13, 03   6:27 PM     

LOL


-------------------------------------------------------------
[External Image Removed]
Caddy 500ci. Fiero