Hotline Miami Remake in GameMaker Studio #13 - Weapon cycle

Hotline Miami Remake in GameMaker Studio #13 - Weapon cycle

Channel:
Subscribers:
12,000
Published on ● Video Link: https://www.youtube.com/watch?v=803zFkkQNNE



Hotline Miami
Game:
Category:
Tutorial
Duration: 15:29
1,128 views
39


This is the 13th video in a series on remaking Hotline Miami in GameMaker Studio.

The video tutorial shows you how to setup a weapon pickup cycle. You basically have a pickup instance which holds the weapon type (sprite) stored, which in case of getting picked passes that information onto the player instance. The player can now by pressing the right mouse button throw that weapon away and nullifying its weapon holding status. By throwing an weapon throw instance the player passes the weapon holded into this instance, which will fly away from the player. At some point the fyling weapon throw instance will halt and will be destroyed and replaced with its hold values which are then passed into a fresh pickup instance. Here the cycle begins from start.

// music by 14BitAshren
Blonde Sunrise
https://www.youtube.com/watch?v=k_cxPC2p1F4

0:00 What we want to do +
0:52 Get the graphics and project on itch.io
2:08 Creating the weapon throw object
2:41 Create in the player object a throw instance
4:50 Setting friction and image_angle in the weapon throw object
6:28 Throw, pickup and equip life cycle explained
7:40 Setting condition when to destroy the throw instance
9:24 Player object weapon equipped variable
10:30 Starting weapon cycle in the pickup instance

Project + assets found here:
https://1up-indie2.itch.io/hotline-miami-clone-project-sprites

πŸ‘‘ Support me and get fresh game art and game maker projects every month:
https://www.patreon.com/1upindie

Follow me on:
πŸ“Έ Instangram: https://www.instagram.com/1upindie
🐦 Twitter: https://twitter.com/1upIndie
πŸ’¬ Discord: https://discord.gg/gvr98nb
πŸ“œ Udemy: https://www.udemy.com/course/become-a-video-game-developer-with-gms-23/ (See youtube about page for discount)




Other Videos By 1up Indie


2021-01-21Devlog - Character/sprite sheet creation tool #3 It is out!
2021-01-18Hotline Miami Remake in GameMaker Studio #19 - Collision walls + mask
2021-01-17Devlog - Character/sprite sheet creation tool #2
2021-01-16Hotline Miami Remake in GameMaker Studio #18 - Radial shotgun shots
2021-01-14Free video game assets in 2021: Where to get + suprise one
2021-01-13Hotline Miami Remake in GameMaker Studio #17 - Muzzle
2021-01-12Hotline Miami Remake in GameMaker Studio #16 - Recoil
2021-01-12Devlog - Character/sprite sheet creation tool #1
2021-01-11Hotline Miami Remake in GameMaker Studio #15 - Shooting
2021-01-09Hotline Miami Remake in GameMaker Studio #14 - Ammo pass in
2021-01-08Hotline Miami Remake in GameMaker Studio #13 - Weapon cycle
2021-01-06Hotline Miami Remake in GameMaker Studio #12 - Weapon pick up... picked up
2021-01-05Hotline Miami Remake in GameMaker Studio #11 - Weapon pickup hover
2021-01-02Hotline Miami Remake in GameMaker Studio #10 - Camera target swaps
2021-01-01Hotline Miami Remake in GameMaker Studio #9 - Camera Setup, follow + smooth scrolling
2020-12-30Hotline Miami Remake in GameMaker Studio #8 - Player animation + keyboard input
2020-12-29Hotline Miami Remake in GameMaker Studio #7 - Setup Camera, tileset + player
2020-12-23Cool Lightning like zeus would throw [Game Maker Studio 2 | Advanced]
2020-12-22Hotline Miami Remake in GameMaker Studio #6 - Finishing the startscreen
2020-12-21Hotline Miami Remake in GameMaker Studio #5 - Cool 3d text
2020-12-20Remake Hotline Miami in GameMaker Studio #4 - Wiggling text



Tags:
Hotline Miami gamemaker
Hotline Miami gamemaker tutorial
Hotline Miami gamemaker studio
Hotline Miami gamemaker studio tutorial
Hotline Miami background tutorial
Hotline Miami gms
gamemaker studio tutorial
hotline miami remake
gamemaker weapon pickup



Other Statistics

Hotline Miami Statistics For 1up Indie

1up Indie currently has 40,089 views spread across 19 videos for Hotline Miami. His channel uploaded 4 hours worth of Hotline Miami videos, or 4.53% of the total watchable video on 1up Indie's YouTube channel.