In this tutorial we’re going to create a simple item magnet scene that will attract items to it, and use it to make our player AND boomerang sticky and grab those items!
Topics Covered: boomerang, player abilities, magnet, Area2D, Arrays, iterate backwards on an array
New Assets Needed:
- N/A
Asset Download Page: michaelgames.itch.io/2d-actio...
GitHub Repo: github.com/michaelmalaska/aar...
Discord: / discord
--------------------
Chapters
--------------------
0:00 Intro
0:38 Explanation and Playground Overview
1:03 Set Up ItemMagnet Scene
7:00 _on_are_enter function
7:46 Configure ItemMagnet Are2D Collision Settings
9:12 Move Items In Process
10:57 Test/Debug Script
17:22 Disable Collision on Magnet Affected Items
21:13 Make Item Magnet Center Stickier
23:10 Add Audio to Boomerang Item Magnet
25:17 Outro
--------------------
Series Playlist: • Make a 2D Action & Adv...
7 июл 2024