Just move the trigger to the top, and decode num as a subevent.
On Z
-> num < 0.25
-> else
X: (Sprite(0).X + Sprite(1).X)/2
Y: (Sprite(0).Y + Sprite(1).Y)/2
Text:Set Y to Self.Y + 20
System:Create Text (10,383)
Midpoint is just (X1+X2)/2. Same for Y.
There is a selectable setting on the Events tab: "Show 'Add action' links".
If you right-click the event (not just a condition), you can "Add another action". Select the event on the left edge of the event.
Develop games in your browser. Powerful, performant & highly capable.
a) just "For each X"
b) set frame to CurValue (not CurX)
c) just clear the array at the end. Deleting and pushing in the middle of a Foreach generally is a bad idea. Your DropItems starts as empty, so just empty it again when done.
C2, as an optimization, will clip objects to the window. I've already asked for a workaround to this, but it wasn't addressed. I know SprteFont falls into this category.
int(self. InstanceName)
At the risk of stepping on toes, I needed a PasteLayer option a while back and always meant to forward you the code. Since you aren't actively working on Paster anymore, I offer this addition, should anyone else find it useful. Paster_withPasteLayer.zip Example
At the risk of stepping on toes, I needed a PasteLayer option a while back and always meant to forward you the code. Since you aren't actively working on Paster anymore, I offer this addition, should anyone else find it useful.
Paster_withPasteLayer.zip
Example
If you go back a few pages, I actually added Paste-Layer, as I needed it also.
Please provide some instructions on what to do to test.
No. You can't store code and then run it later.
You can set the CSS style.
https://www.scirra.com/manual/117/textbox
Member since 28 May, 2012