hmann128
There are a few ways to do it. The simplest is to make the objects global so they won't be destroyed when the layout changes.
Another idea is to store the object's info in an array, then looping over the array to re-create from that. Here's one possible example:
This may be an overkill for what you want, but the idea is there.
I'm not sure how much help I'll be. I mean I could come up with something like alextro, but nothing would be exactly what you had in mind. I guess we could go back and forth with you saying what's wrong and me then fixing them, but that would just be me making your game.
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.