YeOldeDM / lets-godot-roguelike

A tutorials series on how to build a simple roguelike in the Godot Game Engine
MIT License
24 stars 5 forks source link

Fighter Scene #38

Open YeOldeDM opened 7 years ago

YeOldeDM commented 7 years ago

Create a new instance of the Thing base object in our Database and give it the Fighter script. This will be the base Fighter object we'll use for non-player fighters.

Since we want the Player to inherit Fighter, we also need to modify its script so it extends res://things/Fighter.gd. Player will extend Fighter, which extends Thing, so our player will have the capabilities of all three classes.