Published On Apr 9, 2022
In this video we will implement destructible tiles/objects. For example, if you have an axe, you can cut trees and create a path.
If you want to use my assets (images/maps/sound) that are used in this tutorial, here's the link:
https://drive.google.com/drive/folder...
Guidelines for using Blue Boy Adventure's code and assets:
https://docs.google.com/document/d/1q...
Thanks for watching.
Timestamps:
0:00 About Interactive Tile
1:00 InteractiveTile class
2:38 Dry Tree class
4:15 Place dry trees on the map
8:42 Check collision
11:41 RESULT
12:09 Item requirements
14:43 Two methods to implement destroyed form
16:40 Trunk class
18:17 PlaySE and getDestroyedForm
21:35 RESULT
21:52 Tiles sustain extra hits
25:00 FINAL RESULT
#gamedev #tutorial #programming