2:26am - Alright, so, I think I'm ready and I've decided to try and copy the systems and algorithms from Faron Bracy's RogueSharp library into GDScript. It's a bit tricky and it'll be less efficient in GDScript but it should hopefully work.
3:07am - I've got the project set up in Godot and it's already getting interesting. GDScript is a dynamic language where as C# is static, so there's a lot of things I don't have to copy over, because GDScript doesn't work that way. Like all of the interface classes for example.
I'll start by coding the Cell class.
3:12am - Okay coding in two languages at once is twisting my head up in knots. How do professional translators do it? XD
3:26am - No function overloading in GDScript either. That'll make things complicated. Bracy uses a lot of overloaded constructors.
5:02am - I've copied over the Cell class from C# to GDScript. It's one of the smallest classes in RogueSharp and it only took me two hours. Though to be fair I did learn some things along the way and ran into some issues I should know how to solve in the future. Heh.
Next up is, I think the longest class in RogueSharp? It's the Map class.
...
On second thought, I've been working for two hours, so I should take a break and watch an anime ep.
6:33am - Alright it's time for me to take a break from my break. I've been binge-watching Digimon Adventure Tri. Surprisingly heavy stuff.
Anyways let's get back to that Map class.
Oh! Hang on. I just looked at the top of the code and saw that it inherits from another class. I should do that one first.
7:41am - I'm getting some circular dependancies here; Map uses the MapCreationStrategies but the MapCreationStrategies refer to Map and Cell. So I'm going to go back and do Map after all, now that I have a MapCreationStrategy prepared.
9:53am - Well I'm only about half way done the Map class, it's a doozy. But it's also really late in the morning, and I asked Rob to wake me up at 4pm so I can get ready for D&D. Gonna be hard times this evening!
Ah well. I'll continue this later.
3:07am - I've got the project set up in Godot and it's already getting interesting. GDScript is a dynamic language where as C# is static, so there's a lot of things I don't have to copy over, because GDScript doesn't work that way. Like all of the interface classes for example.
I'll start by coding the Cell class.
3:12am - Okay coding in two languages at once is twisting my head up in knots. How do professional translators do it? XD
3:26am - No function overloading in GDScript either. That'll make things complicated. Bracy uses a lot of overloaded constructors.
5:02am - I've copied over the Cell class from C# to GDScript. It's one of the smallest classes in RogueSharp and it only took me two hours. Though to be fair I did learn some things along the way and ran into some issues I should know how to solve in the future. Heh.
Next up is, I think the longest class in RogueSharp? It's the Map class.
...
On second thought, I've been working for two hours, so I should take a break and watch an anime ep.
6:33am - Alright it's time for me to take a break from my break. I've been binge-watching Digimon Adventure Tri. Surprisingly heavy stuff.
Anyways let's get back to that Map class.
Oh! Hang on. I just looked at the top of the code and saw that it inherits from another class. I should do that one first.
7:41am - I'm getting some circular dependancies here; Map uses the MapCreationStrategies but the MapCreationStrategies refer to Map and Cell. So I'm going to go back and do Map after all, now that I have a MapCreationStrategy prepared.
9:53am - Well I'm only about half way done the Map class, it's a doozy. But it's also really late in the morning, and I asked Rob to wake me up at 4pm so I can get ready for D&D. Gonna be hard times this evening!
Ah well. I'll continue this later.