dropbox.com/s/vasuo5exuxycbfd/tied_snake.capx
Area generator? Sounds like 4 direction square checking empty space. Let's took your time to see this simple room generator:
dropbox.com/s/baxbebqprpsp64r/generate_tile.capx
Create instance variable set it as boolean. Let's name it "placed". In placing object condition where you put shift key pressed add boolean "placed" condition is false, then set the boolean "placed" to true in action as locking state for that furniture. So if a furniture has true boolean condition it won't able to move.
Here useful C2 article to create tangram game:
web.archive.org/web/20150624174615/http://www.gamechange5.com/devpage/14
Related topic: construct.net/en/forum/construct-3/how-do-i-8/click-drag-rotate-shapes-171244
Here a shooting charge example to help you understand the mechanics:
dropbox.com/s/helqwnbyctohaoi/charge_hold.capx
Hopefully the logic can be applied to your project.
Develop games in your browser. Powerful, performant & highly capable.
Set physics off when it start dragging. Enable physics back when you drop/untouch the object.
Sure make something works as efficient as possible is always a challenge for me. Lot of things can be pulled out of expression.
It's a problem with Btn_OK.Y at event 5.
A fix:
-> System: Create object Btn_OK on layer 1 at (Btn_OK.X, Btn_DEL.Y), create hierarchy: False, template: "text"
Then switch action position with Btn_DEL.Y so OK_Btn action after Btn_DEL.Y
Trigger Once --> Set scrollY to (512/2)+32
Evaluate whether certain segment of elevation has passes so the camera view start to scroll into segment beyond. It is possible if you utilizing ternary operator (with little effort yet more expressive!):
dropbox.com/s/fudwcc11w1xn9lb/moving_up.capx
Alternatively you can use cloned sprite & play with the scale ratio: dropbox.com/s/a5bzym3aex89j70/platform_slope.capx
In the example I use blend mode but you can add fx or pre-white-out the clone.
As long as you have the list it is possible: dropbox.com/s/gkmisirvgeraiqx/tempel_simpel.capx
Member since 22 Feb, 2012