Top down shooter Series in GameMaker Studio 2 - Part 4 (Shooting)
Описание
This video we introduce our staff and allow our player to fire the fireballs from the staff. We will also be utilizing the mana bars we created in the last video.
You you are looking for the starting project, check out the previous video at https://youtu.be/JY8DHk_Z48w
And finally if you are looking for the entire source code, you can either download it from Itch.io (https://gamemakercasts.itch.io/top-down-shooter-series-tutorial) or as long as you are a Patreon supporter you may also download the full source code at the $5.00 tier (https://www.patreon.com/gamemakercasts)
Patreon Page https://www.patreon.com/gamemakercasts
# 00:00 - Introduction
# 00:17 - Last video overview
# 00:38 - Staff sprite
# 01:00 - Sprite index
# 01:20 - Generate random staff global
# 01:45 - Drawing the random staff
# 02:30 - Staff rotation (towards cursor)
# 03:18 - Pit falls of image_xscale (negative)
# 03:30 - Absolute image_xscale value
# 03:53 - Initial bullet creation
# 04:10 - Default bullet values
# 04:32 - Shooting our bullet
# 05:45 - Bullet direction
# 06:15 - Mana regeneration
# 07:15 - Bullet image angle
# 07:45 - Patreon THANK YOU!
Рекомендуемые видео

![[MIX] Prodigy - Firestarter Inspired Insane Big Beat Breakbeat Rave Punk AI MIX](/images/video/2026-04-09/f2/6a/f26ae6592ade98dbd525953e00f6a0d9.jpg?width=640)
![[MIX] The Crystal Method & The Prodigy Inspired Insane Big Beat Breakbeat Riot AI MIX](/images/video/2026-04-23/67/48/67489502473f249318b3c03c5b343588.jpg?width=640)
![Sonic the Hedgehog 3 and Knuckles (Sega Mega Drive) - Полное прохождение [Longplay]](/images/video/e6/3d/e63da33e6cddce00748d3ff46c632591.jpg?width=640)





![[MIX] David Bowie Inspired Epic 80s Glam Art Rock Odyssey _ AI MIX](/images/video/2026-05-18/e2/56/e25665b1e415e8fe8dba6d2cd1ccb3c2.jpg?width=640)









