Advertisement

🔴 Laser bullets - Easy and complex [Game Maker Studio 2 | Advanced]

🔴 Laser bullets - Easy and complex [Game Maker Studio 2 | Advanced] This video tutorial shows you how to make laser bullets the easy and more complex way.

Why is there a complex way?

Well, first because hitboxes are rectangles, so if you have an angle let's say diagonal then your bounding box becomes simply bigger. The second point is that you maybe want to have and animation to your laser, then a standard 3 part system is required.

Here is the easy way. You simply shoot only in 4 directions (up, down, left, right) then you can have a fixed sprite of your laser and give it direction, speed and image angle by creation.

The complex way needs some adjustments because here, you need to calculate 3 extra point which are the middle stretched parts (start and end) and the endsprite point. Then you need to calculate 3 collision lines. One site in the middle of the laser and the other two are along the border.

Tileset by Matriax CC0
if you like his inca temple, consider supporting him!


Egg/Monster by buch CC3 sa by

michelebucelli.github.io/monsterpong


▶ Gamemaker Studio:

▶ Trial limitations:

♥ My free game Clunky souls:

♥ My assets:
Get some assets at itch.io

♥ Support me and get fresh game art and game maker projects every month:



Follow me on:



laser bullet,gamemaker laser,gamemaker laser beam,game maker laser beam tutorial,game maker laser tutorial,gamemaker studio laser,how to make a laser in game maker,game maker studio 2 tutorial,game maker studio tutorial,game maker tutorial,game maker 2 tutorial,

Post a Comment

0 Comments