That is so kind, thank you so much for the encouragement. And really all the encouragement this whole time. This was the most difficult one to get done, but now its done. More to come.
@anthonydrakefordshadow6 ай бұрын
@@alexanderfarrelltech I don’t have to work this evening so I actually get to sit and absorb 🤩
@Nubbley5 ай бұрын
ive watched this twice over. idk why but im getting "IndexError: list index out of range". when i try to go to forest_center.map in game it crashes, as well as when i select forest_center.map in the map editor. "Error parsing line: 5,9. list index out of range" Traceback (most recent call last): File "/Users/*/Desktop/RPG Pygame/src/core/area.py", line 99, in load_file y = int(items[2])
@Nubbley5 ай бұрын
File "/Users/*/Desktop/RPG Pygame/src/main.py", line 13, in e.run() File "/Users/*/Desktop/RPG Pygame/src/core/engine.py", line 76, in run a.update() File "/Users/*/Desktop/RPG Pygame/src/components/player.py", line 153, in update t.on(self.entity) File "/Users/*/Desktop/RPG Pygame/src/components/teleporter.py", line 15, in super().__init__(lambda other: teleport(area_file, int(player_x), int(player_y)), x, y, width, height) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/*/Desktop/RPG Pygame/src/components/teleporter.py", line 9, in teleport player.x = player_x*32 ^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'x'
@Nubbley5 ай бұрын
Error parsing line: ,11,1. invalid literal for int() with base 10: '' the map works if i delete and replace. however when i go into the editor, i cant go back.
@Nubbley4 ай бұрын
For anyone wondering i fixed the bug. center_forest.map has tiles missing in it. you need to fill the map out with tiles in the bottom right of the map, as well as 1 extra tile outside of the zone before saving it as a binary file otherwise it creates a gap in the code and is showing that there is nothing there to read.
@alexanderfarrelltech4 ай бұрын
Thank you so much for finding this and sending the bug. I think I'm going to patch the forest_center map on the branch just in case anyone runs into this issue in the future. Sorry you had to go through the trouble in finding this bug with the hole in the forest_center.map file.
@Nubbley4 ай бұрын
@@alexanderfarrelltech i struggle with bug fixes so it was fun trying to figure it out!
@Nubbley4 ай бұрын
after fixing my crashes i noticed 2 things going on. 1 - you cannot enter dialogue/mine/chopping if you have a weapon equipped. and 2 - if you unequip an item it drops it on the ground while still holding in inventory, duplication.