🤑 Indie game store🙌 Free games😂 Fun games😨 Horror games
👷 Game development🎨 Assets📚 Comics
🎉 Sales🎁 Bundles

[Order] [Help] Bullet/Cast Spell Tutorial?

A topic by Lacroiix Lancaster created 1 year ago Views: 388 Replies: 1
Viewing posts 1 to 2

Can anyone help me with some tutorial to cast bullets (Spells, Heals, etc.) from my Player?

I have no idea how to do it x), thanks in advance

(+1)

I don't know if anyone will tell you exactly how to do it, but start with this:

Figure out how to find the location of the player,

Figure out how to spawn an item at the players location,

Figure out how to add velocity to the spawned items toward your desired location (mouse pointer? directly forwards?)


I would look at the example projects like: https://sparklinlabs.itch.io/pirates-from-the-future and look at the scripts that control the cannons.