1. Open a sprite in image editor.
2. Select the line tool.
3. Single click anywhere on the image. (single click, don't draw a line)
4. Use CTRL + mouse wheel to zoom.
5. Image disappears.
foolberry Yes but it's not supposed to.
There's a system condition: 'Is group active'.
Here's a basic example: ghostShooterMinimap.capx (r109)
When all the variables = 1 the last event runs every tick for 5 seconds. Then after the 5 sec delay it's resetting the variables for the next 5 seconds. Simple solution is to put a 'System: Trigger once' condition in the last event.
Develop games in your browser. Powerful, performant & highly capable.
Ah you're setting the variable in the editor. Sounds like it should work then. Trying to think. If you haven't set the animation speed to 0 it could be playing through the animation and ending on the last frame. But you'd probably be able to see that happening.
Instead of setting x to 960, set it to Ground.X + Ground.Width * 6.
Here's an example I made before: multipleSelection.capx
If you're doing it like this:
System: Create EnemyShip
EnemyShip: Set Iconframe to 5
then after the create action it jumps to the 'on created' trigger and runs the code there and then goes on to the next line 'set Iconframe'. So the variable won't be set until after 'on created' runs. I'm guessing that's what's happening.
https://dl.dropbox.com/u/8367729/construct/example/RS2D_setPlayerMirrored.capx
When you click to the left of the player, set the player mirrored. When you click to the right, set not mirrored.
Event 3: Left mouse clicked and CanShoot = 1, set CanShoot = 0.
Event 13: CanShoot = 0 now so this event wont run.
Solution:
Put event 13 before event 3. Or make the 'sniperpoint overlapping enemy' bit a subevent of 3 (before the wait actions).
Your "xloop" loop is clearing the array every iteration in event 2.
http://www.scirra.com/tutorials/353/offscreen-enemy-indicators
Can't you just use the Mouse plugin in the same way? If 'on mouse click' fires then the user is using a mouse otherwise they're using touch.