My kind of virtual keyboard: dl.orangedox.com/D3n08OwdVnLEbK7uej
Yes for certain duplicating object in runtime is possible using spawning or create command and control it after.
Why don't just enumerate them across layout using Index ID (IID)? You can set instance variable to store the enumeration.
An example:
+ System: Trigger once
+ System: For each box order by box.IID ascending
-> box: Set box_id to LoopIndex
Just double click the layout from project docker (usually at the right).
Develop games in your browser. Powerful, performant & highly capable.
You do not have permission to view this post
Quick solution I can think is creating array as replacement for those global variables which need to be reset at once. Not very convenient since it is index based. Or keep the globals but make them refer to an array when assigning value.
You can limit how much enemies on screen or within layout by add comparison: enemies.Count < 10 for example at spawning/create condition.
Add extra condition with comparing the value. Use compare at XY again.
Can't do much without really seeing how things structured. An example of summoning: dropbox.com/scl/fi/j7ovuhjtxxne02w5fyw80/summon_random.capx
Moving by swipe like this: dropbox.com/scl/fi/x5ywjrvdeodjgtqef65jx/tomb_miner.capx
You mean second ordinat which is for item count, right? I recommend to flag sold item in array but hey this is your game. Sell price usually has lower price tag for used item so probably 70% would be fair (you can adjust it later).
dropbox.com/scl/fi/jxyt6zdwvgavg6iug33k4/shop-functions.c3p
Simple sell system would be just add cash before the object get destroyed & removed from array. The problem is you need to have selection system first so it obvious which item is being selected. Or directly create sell button for each item under product catalogue.
Oh it's array value at XY. Compare at XY
Math would be much involved here since at the very point being checked. Since the two objects are circle you would likely to use integration approach to find intersection area.
Or
Put small object to check whether the object overlapping two objects at once.
dropbox.com/scl/fi/3v1qn1awk5bb4l9z805vp/intersecting_area_point_check.capx
Add following event: