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

Replace the old Player scene #35

Open YeOldeDM opened 7 years ago

YeOldeDM commented 7 years ago

Modify our code so the map spawns in an instance of our new, more expandible and powerful, Player object. We can also create a new Prop object in our Database and have our map spawn in some of those, for the sake of completeness.

We also want to delete the old Player.tscn we were using before. It's good to clean out old files (even if you need a .junk folder) as you go, as they can pile up fast. You can also run into dependency problems when you try to access scenes which use files that no longer exist, and the faster these can fail and be fixed, the less headache you'll face later on once your game starts getting Big.