I've created a pretty decent top down shooter but I decided to include a sort of power up system where a object is shot the player will fire a different type of bullet. It's set up so that the left click of the mouse will spawn a 'bullet' from the character but I need it so when the character shoots a object the original bullet is changed to another bullet ( just a different Sprite). I've tried a couple ways but I just can't get it right. Any thoughts will help heaps!
Did you try with a variable?
Like : variable = type of bullet
When player shoots, check variable
You can try this:
"Player" on collision with "powerUp" --> "BulletSprite" set frame to "1"
I just tried it and it doesn't work ...
Develop games in your browser. Powerful, performant & highly capable.
Here you go, I hope is what you need.