I would like to place gun and then use it.
I had checked Space Jinx capx but there is a lot of another things that you ca ndo with artifact. I would like to pick up sprite and then use it as a gun.
Have you got any example ?
thanks
Ok I made it using:
Set distance
If you have example or tutorial please publish
Isnt difficult I guess.
Global variable:
gun=0
event:
Player is overlaping gun
action:
set gun = 1
destroy gunsprite
on pressing key "space"
add condition: every tick gun = 1...
spawn bullet
Something like that I guess will work...
Develop games in your browser. Powerful, performant & highly capable.
TastyBytes, that look good, although he will not hold the gun. Use an imagepoint and this condition
if gun = 1
gun: set position to another object (player, image point 1)
Ok that�s true sqiddster. I would solve this by changing the Player animation. Depends on the charakter sprite I guess.