can checking distance (instead collision) improve performance?
you're welcome
you can use canvas object and change it using this expression --> "rgb(xxx,xxx,xxx)"
how about using distance() ?
i think you can't save an object. but you can save it's IID
perhaps you can add instance variable,, and then if "is outside layout" increment the value till 180 seconds, then destroy
why you need to compare mid(pattern, loopindex("x"), 1) with "1" ?
ok
you can make a pivot as the center of your coin pattern.
then create object at
X = Pivot.X+32
Y = Pivot.Y+64
and so on.
there's a tutorial about it in FAQ
make an instance variable called isVisible to object2.
whenever object 1 is clicked, check whether isVisible is true or not.
if false set it to true, then set object2 to invisible.
if true, set it to false, then set object2 to visible.
Develop games in your browser. Powerful, performant & highly capable.
how about using waypoints?
oh i see, thank you all!
I want to make a game like push the button.
everything works fine, except when I pust a box toward another box, it's overlapped with another box. I tried using solid behavior, but nothing happened . any ideas?
https://drive.google.com/file/d/0BxpyqZCtkB4cOHVMUlZnNlBTdjA/view?usp=sharing
maybe you can check whether your box is still on the platform or not.