i have a door in game.. when player overlap on this door go to layout "shop" in this layout i have a exit button... how do working??
when i push i want return where i was
tnk
The same logic as entering the shop...on button pushed go to layout.
no cause is a shop... if i am on layout 2 "lv" enter in shop... when i exit i go to layout 1.. cause frist have set a layout 1... i need enter.. buy.. and exit where i was
Develop games in your browser. Powerful, performant & highly capable.
When you go to shop you can store the previous layout name in a variable then when you exit shop you go to layout by name using the variable.
tnk you... i solved whit layer.. ^_^