GTAStunting
General => General Discussion => Computer Talk => Topic started by: JayFoxRox on October 12, 2006, 11:50:52 AM
-
<
I m not sure but maybe a tut will follow.
Well i just saw that GTAS allows SWF (Flash movies) as avatars - even with Scripting!
I instantly looked for an Sourcecode of an Pong to see how the ball physics work. The code i found was made in cpp but it wasnt hard to find the physics at all.
After that i made some graphics for my new ava and loaded them into Flash. After that i added the physics and converted them to Action Script format.
Code needed alot of adjustments though. The first pong code i had was CPU vs Player. But it was defo to complex for an ava. So i simply made this one which is better imo.
What you can see now is the final result. (After 3 Hours of hard work)
Maybe i will add some levels or high-score in the future. I even thought about multiplayer so you can play against other GTAS members.
---
Comments please
(Whats your highscore? mine was 121 while testing)
---
New ava planned! Every1 who has got some flash skills and is interested in making an multiplayer game (which is a bit more complex) with me - contact me! (Ava Size: 130x130) - Flash MX 5+ needed!
-
awesome work fox
-
I Fox.
-
Exelent work ! hahah i can play with my ava?
-
I got 10.
-
maybe you could change it so the game would start only when you point the mouse on your av so it won't splash red all the time
-
i only see a white ava
-
maybe you could change it so the game would start only when you point the mouse on your av so it won't splash red all the time
Will think about it. And when it is focused with sound maybe.
Blackpearl: You need a flash or shockwave plugin for your browser
-
You truly are the wizhead of GTAS Giving this topic a 5 star rating, simply brilliant
-
Looks like it got disabled.
-
If I didn't have a signature avatar, I would do something like this lol.
-
...im gonna make a flash ava you can interact with then. itll have different animations and buttons and stuff like that. yey
-
Check first post. Contact me when you wanna help. Current idea is to have a map for up to 16 players using an java socket as server so you can see other ppl having my ava opened. Then you can have team deathmatch from top down or side view (not decided yet)
-
Hehe, that's awesome. Great idea.
-
I got 14..
-
Yay, i got 16.
-
awsome...everything is awsome, gl with it multi player ftw
-
is this an joke.
-
Great, I didn't notice how it's working... till now.
-
is this an joke.
If this was meant as a question:
No. Its serious. i wanna bring a full game on my ava!
-
WTF? Hehe, maybe like Counter-Strike 2D?
-
It's such a brilliant idea Fox, kept me entertained for a whole 5 minute's which caused a highscore for me, 22 point's
-
how to cheat: just move the paddle up and down rapidly, and if done good enough it should always hit the ball...
-
I know about it treeunit cant be arsed to fix it as i m working on the more complex game now. Also i have to do my other jobs.
-
yawn...fox's avatar is a thing of the past
see who can get the highscore on my avatar
-
HAHAHAHAHAHA treeunit
-
WTF? Hehe, maybe like Counter-Strike 2D?
maybe 3d
-
i got 2
-
Treeunit: Code 06 can include "msg" and "amount" params and it will donate instantly *runs* - you would get banned for this same as me got i think
---
Update on new ava! i made up some small movement area. So when you move the mouse to the top you will move towards top - cam is infront of you. when pressing the mouse button you will be able to shoot, player is stopping for that amount of time.
-
[img]http://img218.imageshack.us/img218/1906/hiscorefx0.png\" border=\"0\" alt=\"IPB Image\" /]
now somebody try and figure out what the word says in my ava. itll put in the right letter when you type it.
-
1000! Pwnt
[img]http://img121.imageshack.us/img121/4642/untitledhj7.th.jpg\" border=\"0\" alt=\"IPB Image\" /] (http://img121.imageshack.us/my.php?image=untitledhj7.jpg)
-
shadowsniper, this isn't the gfx design forums
-
I know hehe it was a graphics edit Wanted to see how many people i could fool, none cause i suck with ps atm
-
^ahah
-
lol write DLING on haywire`s avatar muahaha
pls can some one make an tutorial and says how u make that? i wana make my "doom" figure splatter by cliking on him
-
First of all get Flash. Only costs you about 5000€ when buying with developers license
well or get the student version for 45€ x|
Then create one layer and add a script to the object. - make enough frames for your anim so you have one or two in idle state - the last one says:
goToAndPlay(1);
This will loop the idle anim.. Then on the object you add:
on(_this.click)
{
goToAndPlay(3);
}
3 is your splatter anim in this case. so when you click it it starts hopping to the splatter anim. on the last frame it hops to frame 1 again which goes to frame 2 which loops the idle anim.
Can be done easier ofcourse but this is the beginner way imo.