Stick Page Forums Archive

a lil of AS 2.0 help (:

Started by: Tronika | Replies: 5 | Views: 472

Tronika
2

Posts: 526
Joined: May 2008
Rep: 10

View Profile
Jul 21, 2009 1:25 PM #464081
well in making a game on flash 8 C= i already made the movement of the character an the wall collision but i got a problem :S i dont know how to make some sort collision test + gotoandplay, i dont remember how the collision code goes at i think its something like this,

if.this.hittest(_root.character)
//this is where i need the "gotoandplay" thing :S
pd: sorry if theres some mistake on the code but.... Im not on my computer, in on the phone so.. I cant see my .fla file to check the action script :S

if you wanna help me with the art your totally welcome to help C=, my msn is troni.abra@hotmail.com, the main art theme is about class rooms and students from top view so if you wanna help me come on and add me
Scorpioxxx
2

Posts: 1,454
Joined: Apr 2006
Rep: 10

View Profile
Jul 21, 2009 1:30 PM #464083
Assuming you want the main timeline to go and play a certain frame:

if (this.hitTest(_root.character)) {
_root.gotoAndPlay (FRAMENUMBER)
}
Tronika
2

Posts: 526
Joined: May 2008
Rep: 10

View Profile
Jul 21, 2009 9:59 PM #464301
ok ty :) ill test it when i arrive home, some good artist wanna help me with the drawing, it dont have to be SO GOOD just add me
Tronika
2

Posts: 526
Joined: May 2008
Rep: 10

View Profile
Jul 22, 2009 12:58 PM #464617
sorry for doble posting but i tryied the code and... It work! Ty scorpioxxx! Youll be on the credits :3, now ill finish the game 8D
Scorpioxxx
2

Posts: 1,454
Joined: Apr 2006
Rep: 10

View Profile
Jul 22, 2009 3:12 PM #464651
No problem, call again if you need help.
Tronika
2

Posts: 526
Joined: May 2008
Rep: 10

View Profile
Jul 23, 2009 12:20 PM #465084
Mmmm ok maybe ill need help with the art and maybe some other codes,

The beta Version is Finished!!! :D i already have one spanish talker beta tester xP but i need one english talker beta tester so he can correct the grammar mistakes

so if you wanna be a beta tester? add me to msn, select the icon with the guy below my info and it will show you my msn :3
Website Version: 1.0.4
© 2025 Max Games. All rights reserved.