[CENTER]http://i47.photobucket.com/albums/f163/genutech/f313d01f.swf
check out that link to see the .fla something is wrong when moving from the 2nd room to the 3rd it wont go to it’s set positions is there a way i cn fix the positions on him so he doesnt stray far from them?
-Ravmaster
[/CENTER]
ok im @ my uncles house now so i had to convert it to flash 8 <.<
http://rapidshare.de/files/17363916/Main.fla.html
Joppe
April 7, 2006, 11:13am
4
Ah WHY. Why do you use rapidshare !
Ok so i recomend you position him with AS, mkay?
ricer
April 7, 2006, 11:16am
5
omg nice graphics dude
tell me the exact prob ill fix it
thnx but only the tiles are my own work
ok in frame 4,5 and 6 i want to keep the player mc in a certain position everytime he enters the frame
and in all 3 frames i wish to put him in the middle if that will work
Joppe
April 7, 2006, 12:39pm
7
if (this.hitTest(_root.walls.door)) {
_root.nextFrame();
_parent._x = Stage.width/2
_parent._y = Stage.height/2;
}
replace the old hittest code with that
thnx
just wondering could i make it that if it goes through ‘walls.door’ then the character will stop at
x= -136.9 and y=160.5
and if it goes thru ‘walls.bkdoor’ then the character will stop at
x= 120.3 y=19.9
if you can then it would be awesome
Joppe
April 7, 2006, 1:07pm
9
Make the doors different instance names like
if (this.hitTest(_root.walls.door)) {
_root.nextFrame();
_parent._x= -136.9
_parent._y=160.5
}
if (this.hitTest(_root.walls.bkdoor)) {
_root.nextFrame();
_parent._x= 120.3;
_parent._y =19.9;
}
it doesnt work with that code it just goes to where it sets it
sorry for double posting ><
but isnt th ere a way to set properties on the frame saying where it should be?