Castle
Surju
play1.1k
22
2 Comments
Next up
Castle scripting #scripts #lua
I'd say it's a fun challenge
fire2Reply
This might help you : Use this: Rules - > when a touch begins on this: Y coordinate of touch saved in variable FirstY - > when this is pressed: Y coordinate of touch variable newY, - > when this is created: follow this with the camera Script - > onUpdate(dt) local differenceY=my.variables.FirstY-my.variables.newY my.layout.y = differenceY end I used this in my deck but with no Lua code this time I gave you the adaptation of my deck
fire1Reply