GTAStunting

General => General Discussion => Computer Talk => Topic started by: JayFoxRox on October 12, 2006, 11:50:52 AM

Title: My Brand New Avatar!
Post 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!
Title: My Brand New Avatar!
Post by: KillaMarci on October 12, 2006, 11:52:48 AM
awesome work fox
Title: My Brand New Avatar!
Post by: Slim on October 12, 2006, 11:55:37 AM
I  Fox.
Title: My Brand New Avatar!
Post by: arKy on October 12, 2006, 12:05:57 PM
Exelent work ! hahah i can play with my ava?  
Title: My Brand New Avatar!
Post by: Ferσή on October 12, 2006, 12:24:21 PM
I got 10.
Title: My Brand New Avatar!
Post by: WEREWOLF on October 12, 2006, 12:27:47 PM
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
Title: My Brand New Avatar!
Post by: BlackPearl on October 12, 2006, 12:39:01 PM
i only see a white ava  
Title: My Brand New Avatar!
Post by: JayFoxRox on October 12, 2006, 12:59:30 PM
Quote from: WEREWOLF
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
Title: My Brand New Avatar!
Post by: Spoofy on October 12, 2006, 01:11:04 PM
You truly are the wizhead of GTAS  Giving this topic a 5 star rating, simply brilliant
Title: My Brand New Avatar!
Post by: Ferσή on October 12, 2006, 03:56:36 PM
Looks like it got disabled.
Title: My Brand New Avatar!
Post by: Jehde on October 12, 2006, 04:54:45 PM
If I didn't have a signature avatar, I would do something like this lol.
Title: My Brand New Avatar!
Post by: Jason on October 12, 2006, 05:02:23 PM
...im gonna make a flash ava you can interact with then. itll have different animations and buttons and stuff like that. yey
Title: My Brand New Avatar!
Post by: JayFoxRox on October 13, 2006, 09:59:34 AM
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)
Title: My Brand New Avatar!
Post by: Tackleberry on October 13, 2006, 10:03:57 AM
Hehe, that's awesome. Great idea.
Title: My Brand New Avatar!
Post by: Fate on October 13, 2006, 10:47:16 AM
I got 14..
Title: My Brand New Avatar!
Post by: Slim on October 13, 2006, 11:35:17 AM
Yay, i got 16.
Title: My Brand New Avatar!
Post by: Liviu on October 13, 2006, 11:40:18 AM
awsome...everything is awsome, gl with it  multi player ftw
Title: My Brand New Avatar!
Post by: Jacked134 on October 13, 2006, 11:40:26 AM
is this an joke.
Title: My Brand New Avatar!
Post by: Fugitive on October 13, 2006, 11:54:04 AM
Great, I didn't notice how it's working... till now.
Title: My Brand New Avatar!
Post by: JayFoxRox on October 13, 2006, 12:00:39 PM
Quote from: Jacked134
is this an joke.

If this was meant as a question:

No. Its serious. i wanna bring a full game on my ava!  
Title: My Brand New Avatar!
Post by: torekk on October 13, 2006, 12:17:34 PM
WTF? Hehe, maybe like Counter-Strike 2D?
Title: My Brand New Avatar!
Post by: Spoofy on October 13, 2006, 02:16:07 PM
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
Title: My Brand New Avatar!
Post by: treeunit on October 13, 2006, 02:43:32 PM
how to cheat: just move the paddle up and down rapidly, and if done good enough it should always hit the ball...
Title: My Brand New Avatar!
Post by: JayFoxRox on October 13, 2006, 03:08:13 PM
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.
Title: My Brand New Avatar!
Post by: treeunit on October 13, 2006, 04:17:40 PM
yawn...fox's avatar is a thing of the past

see who can get the highscore on my avatar
Title: My Brand New Avatar!
Post by: STRIKER on October 13, 2006, 04:50:25 PM
HAHAHAHAHAHA treeunit
Title: My Brand New Avatar!
Post by: Jacked134 on October 14, 2006, 01:02:45 AM
Quote from: Torekk
WTF? Hehe, maybe like Counter-Strike 2D?

maybe 3d
Title: My Brand New Avatar!
Post by: .Synergy on October 14, 2006, 02:04:31 AM
i got 2
Title: My Brand New Avatar!
Post by: JayFoxRox on October 14, 2006, 02:17:39 AM
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.
Title: My Brand New Avatar!
Post by: Jason on October 14, 2006, 02:27:07 AM
[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.
Title: My Brand New Avatar!
Post by: VaNilla on October 14, 2006, 10:31:44 AM
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)
Title: My Brand New Avatar!
Post by: treeunit on October 14, 2006, 10:55:20 AM
shadowsniper, this isn't the gfx design forums
Title: My Brand New Avatar!
Post by: VaNilla on October 18, 2006, 07:46:26 AM
I know hehe it was a graphics edit  Wanted to see how many people i could fool, none cause i suck with ps atm
Title: My Brand New Avatar!
Post by: plumpegg on October 18, 2006, 01:54:01 PM
^ahah
Title: My Brand New Avatar!
Post by: BujutzuStyle on October 20, 2006, 04:01:31 AM
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
Title: My Brand New Avatar!
Post by: JayFoxRox on October 20, 2006, 04:11:06 AM
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.
SimplePortal 2.3.7 © 2008-2025, SimplePortal