View Full Version : some ASing I did
zylum
April 14th, 2003, 03:46 PM
i've been trying out a few things lately.. i've been working on a drawing application (which currently only draws cubes...) and some isometric stuff. check out the files and tell me what you think so far :)
-mike
the iso stuff...
zylum
April 14th, 2003, 03:51 PM
the draw application ...:)
zylum
April 14th, 2003, 03:52 PM
the iso...:)
zylum
April 14th, 2003, 03:52 PM
the draw...
zylum
April 14th, 2003, 03:58 PM
for the iso fla, use HOME, PAGE UP, END, and PAGE DOWN to move the ball and SPACE to make it bounce
Guig0
April 14th, 2003, 04:00 PM
nice =)
zylum
April 14th, 2003, 04:03 PM
thanks guigo.
does anyone have any suggestions on how to fix up the code to make it neater or simpler?
ahmed
April 14th, 2003, 05:45 PM
nice.. the isometric one IS organized, but i kind of has too much lines.. i made this prototype a little while ago.. much simpler.. :)
MovieClip.prototype.move = function(x, y)
{
this._x += (speed)*x;
this._y += (speed/2)*y;
}
(** usage **)
speed = 2
myMovieclip.onEnterFrame = function ()
{
if (Key.isDown(Key.LEFT)) this.move(-1, -1);
else if (Key.isDown(Key.UP)) this.move(1, -1);
else if (Key.isDown(Key.RIGHT)) this.move(1, 1);
else if (Key.isDown(Key.DOWN)) this.move(-1, 1);
}
blah-de-blah
April 15th, 2003, 07:16 AM
(** usage **)
what does that mean?
Guig0
April 15th, 2003, 08:15 AM
re: blah
that is nothing... you have to erase it (i think)
blah-de-blah
April 15th, 2003, 10:08 AM
oh good, thought it would be something complicated cauase i've never come across anythin like it :)
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.