Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
0
Members

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

A topic by Lacroiix Lancaster created Mar 17, 2016 Views: 712 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.