🤑 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 Mar 17, 2016 Views: 465 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


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.