You are not logged in.
Announcement
#1 22/04/08 12:30am
- jfig111
- Addict
- Registered: 29/10/07
- Posts: 288
w00t! Finally got Flash!
Yay, good news, I finally got a hold of Flash MX 2002.
So, that means I can take advantage of AS 2.0 (Which I don't know to much of....), and have dynamic text boxes, lots of stuff, etc.
Bad news is, I've only used flash like twice before, so everything is new and confusing to me.
But at least now, most codes from tutorials will work and I will be able to create better games now.
w00t!
Games I support:
Super ShyGuy Universe, Loco Roco Bounce, Zuriki's Traveller, Teleport.
Offline
#2 22/04/08 12:33am
- nickstewart
- Hardcore Member
- From: From New Orleans
- Registered: 21/02/08
- Posts: 86
- Website
Re: w00t! Finally got Flash!
Cool
That means better games
Which in turn means more enjoyment
and better graphics
(i HOPE my logic works)
Last edited by nickstewart (22/04/08 12:37am)
Visit [b]PSPNewb.com[/b]
btw, Hataz is banned
Offline
#3 22/04/08 12:41am
- jfig111
- Addict
- Registered: 29/10/07
- Posts: 288
Re: w00t! Finally got Flash!
nickstewart wrote:
Cool
That means better games
Which in turn means more enjoyment
and better graphics
(i HOPE my logic works)
Probably worse GFX, for now anyways....
Flash is soooo much more confusing than LiveSwif... I hate the way they set the library out....
Games I support:
Super ShyGuy Universe, Loco Roco Bounce, Zuriki's Traveller, Teleport.
Offline
#4 22/04/08 12:46am
- nickstewart
- Hardcore Member
- From: From New Orleans
- Registered: 21/02/08
- Posts: 86
- Website
Re: w00t! Finally got Flash!
I tried it and it took me about 30 minutes just to figure out how to get a image on to the stage
Visit [b]PSPNewb.com[/b]
btw, Hataz is banned
Offline
#5 22/04/08 1:16am
- 69corvette
- That one guy.
- From: Not Palmdale, CA
- Registered: 01/02/08
- Posts: 281
Re: w00t! Finally got Flash!
This is good news!
Congrats on this.
Does this mean you will redo your previous games so they are better?
Now you can replae some of those crappy graphics(no offense) that you had to use earlier.
[img]http://img221.imageshack.us/img221/8990/smallersigcopylb1.jpg[/img]
Offline
#6 22/04/08 1:22am
- jfig111
- Addict
- Registered: 29/10/07
- Posts: 288
Re: w00t! Finally got Flash!
69corvette wrote:
This is good news!
Congrats on this.
Does this mean you will redo your previous games so they are better?
Now you can replae some of those crappy graphics(no offense) that you had to use earlier.
I don't know if I can redo them...
Ugh, it's so hard to make animations in this, LiveSwif was so much easier...
It supports Flash 6, and some tutorials work. But this doesn't work for some reason when I try it, it's a top down AI code...
Code:
function convert(radians:Number):Number { degrees = radians*(180/Math.PI); return degrees; } goodguy.onEnterFrame = function(){ startDrag(this,true); } shmelli.onEnterFrame = function() { var adj:Number = enemy._x-this._x; var opp:Number = enemy._y-this._y; var rot:Number = Math.atan2(opp, adj); this._rotation = convert(rot); var xs:Number = 3*Math.cos((this._rotation*Math.PI)/180); var ys:Number = 3*Math.sin((this._rotation*Math.PI)/180); this._x += xs; this._y += ys; }
The instance names are correct, it just gives me an error for a bug now...
Games I support:
Super ShyGuy Universe, Loco Roco Bounce, Zuriki's Traveller, Teleport.
Offline
#7 22/04/08 1:26am
- 69corvette
- That one guy.
- From: Not Palmdale, CA
- Registered: 01/02/08
- Posts: 281
Re: w00t! Finally got Flash!
Trust me, once you get used to it, it will be much easier and more powerful.
What errors does it give, copy-paste it here and I can help now, since you have REAL flash now lol.
[img]http://img221.imageshack.us/img221/8990/smallersigcopylb1.jpg[/img]
Offline
#8 22/04/08 1:30am
- jfig111
- Addict
- Registered: 29/10/07
- Posts: 288
Re: w00t! Finally got Flash!
Code:
Scene=Scene 1, Layer=Layer 1, Frame=1: Line 1: '{' expected function convert(radians:Number):Number { Scene=Scene 1, Layer=Layer 1, Frame=1: Line 4: Unexpected '}' encountered }
Here is the tutorial:
http://www.awestyproductions.com/tutori … p-veiw-ai/
Also, change enemy with man, and man with enemy. The tutorial is messed up.
Games I support:
Super ShyGuy Universe, Loco Roco Bounce, Zuriki's Traveller, Teleport.
Offline
#9 22/04/08 4:08am
- 69corvette
- That one guy.
- From: Not Palmdale, CA
- Registered: 01/02/08
- Posts: 281
Re: w00t! Finally got Flash!
In the code you gave me, change "enemy" in the var opp and var adj lines to "goodguy".
and that should work.
Code:
function convert(radians:Number):Number { degrees = radians*(180/Math.PI); return degrees; } goodguy.onEnterFrame = function(){ startDrag(this,true); } shmelli.onEnterFrame = function() { var adj:Number = goodguy._x-this._x; var opp:Number = goodguy._y-this._y; var rot:Number = Math.atan2(opp, adj); this._rotation = convert(rot); var xs:Number = 3*Math.cos((this._rotation*Math.PI)/180); var ys:Number = 3*Math.sin((this._rotation*Math.PI)/180); this._x += xs; this._y += ys; }
Last edited by 69corvette (22/04/08 4:09am)
[img]http://img221.imageshack.us/img221/8990/smallersigcopylb1.jpg[/img]
Offline