http://dl.dropbox.com/u/4322334/spawner.cap
This spawns objects outside layout in a ring, pointing to the center of the layout.
If you are using ball behavior, then using angle(sprite.x,sprite.y,mousex,mousey) will point it towards mouse.
System -> Math -> Distance between points
if dude collides with door
+value "keys" = 0
--> bounce
+value "keys" = bigger than 0
--> destroy door
--> subtract 1 from "keys"
try something like that.
I can see all three boxes without changing resolution...
You can use global variables to carry information over layouts.
Develop games in your browser. Powerful, performant & highly capable.
Add this action under always or something:
-> Text: Set text to Text.Value('Variable 1')
Current text and private variable you are adding to are two different things.
Use Destroy action under misc.
It seems to work if you put the "bird_area" into container with "bird". You can also remove the event that spawns "bird_area", since it already gets created with "bird".
Add them as resources by right clicking folders in project tab.
Do you have the latest version, 0.99.72, that was released today?
Ok, Fade behavior only makes it more complicated so i made an example how to do it with events only.
It's really simple. http://download321.mediafire.com/5wzrwk ... j/fade.cap
Member since 28 Jul, 2008