I think the wait tutorial shows a similar example but this would work:
a=1
trigger once
repeat 3 times
--- wait loopindex*0.2 seconds
--- set opacity to 0
--- wait loopindex*0.2+0.1 seconds
--- set opacity to 100
It's probably all doable. You can prototype/benchmark any of the feature in the free version if you'd like, and the event and layer limit won't be an issue.
You'll want to use the same size for identical quality. There's also an action to increase the resolution of the paster's texture, which by default is the same size the pater object is when it's created. One side note is using the action erases the texture.
Kan
I don't get an error here with r227. Try re-installing the plugin, it sounds like something that was fixed a while back.
The objects need to overlap for the paste action to work.
It's rather simple to do, and JavaScript isn't needed at all. As alextro showed you can do it with only one event. Why not get creative and try experimenting and see what you can come up with?
An effect would do it better. You could use the effect on one paster and paste that to another to save the result.
One idea could be to use scrollx instead of 320 in the equation.
https://dl.dropboxusercontent.com/u/542 ... _line.capx
Develop games in your browser. Powerful, performant & highly capable.
You can get the 3d look when it's scrolling by shearing the image. The paster object's draw textured quad can do that.
https://dl.dropboxusercontent.com/u/542 ... floor.capx
The idea came from here:
http://69.24.73.172/scirra/forum/viewto ... f=8&t=1169
For this I like to use a family with box in it. I'd name the family "otherbox".
for each box
--- box overlaps otherbox at offset (-1,0) : box set x to self.x+1
--- box overlaps otherbox at offset (1,0) : box set x to self.x-1
I tried to compare the result of the luminosity effect with the lightness effect in an image editor, but the results seem to be expected. Disregard the bug idea.
Make a circle Sprite whose diameter is the same as the width. Then just create one of those at the mouse while the mouse button is down.
You can do that with the paster object's "draw quad" action. There's an example at the bottom of the post here:
I can't open it to check but I'm pretty sure it tapers the trail.
Oh, right. I forgot to add these two actions to the second event:
--- set oldx to mouse.x
--- set oldy to mouse.y
That should fix it.