hey guys .
im making a game for an IT project at school and im having a few problems with my stage changes. at ther moment i have a sprite as a character and a sprite on the edge of the screen. now what im trying is kind of a pokemon idea. when u reach a certain point of the stage , the stage changes and the sprite moves back to thet start point so it looks as if you have moved. so the coding i am using is "when spirte 1 touches sprite 7 broadcast change." then on the stage i have when " recieve Change is recieved change backround to backround 3 and broadcast move' then back i sprite one i then have " when move is recieved sprite one goes to coordinates "so and so"."
if any body can tell me how to fix this problem i will be greatly happy thank you very much .
sincerely
Jarred
happy Coding.
Offline
Well I don't know what your problem is exactly,but here's an script you can use as an example
Sprite: Stage
when I receive [Change_map_01 v] switch to background [background3 v] end when I receive [Change_Map v] switch to background [background2 v] end when green flag clicked switch to background [background1 v] end--------
when I receive [Change_Map v] go to x:(-218) y:(-21) forever if (touching[Sprite7 v]?) broadcast [Change_map_01 v] stop script end when green flag clicked go to x: (-218) y:(-21) forever if (touching[Sprite7 v]?) broadcast [Change_Map v] stop script endSprite 7
when green flag clicked go to x:(235) y:(0)also here is an example of how it works,which I myself made,it's extensive in the type of game you want in the beginning building on the if(touching[s v]) statements
Offline