dinoPirates:INFO: Pic(boatPink).drag(axis:HORIZONTAL,onTop:false) +code here you can drag the boat horizontal .drag({axis:HORIZONTAL, boundary:S, onTop:false}) // otherwise the boat comes above the water zapp_assets=["gf_Roboto", {id:"boatpink",src:"ZLnexrt.png"}] zapp_path="https://i.imgur.com/" boatpink new Sprite("boatpink") //https://i.imgur.com/ZLnexrt.png CANON new Pic("https://i.imgur.com/FO7UInx.png") DINO new Pic("https://i.imgur.com/FO7UInx.png") Note: the basic game : https://zimjs.com/zapp/E_KQGHA (not shooting) idea from DinoPirates made in ZIMjs : game on to show how you can navigate with touchButtons or with keyboard (jumping must become shooting) https://zimjs.com/zapp/E_BGYKA Pic Rectangle Label Button TextArea drag pos alp siz scaleTo addTo center | pizzazz physics |
PROMOEDITOR |
FULLSLATE |
||
|
||||