Devlog #29: Tripwire item works now


Hello,

Fixed the tripwire today. It was a problem with how I was doing status effects; my code was slightly incorrect, but I also hadn't thought about the order of things in each 'turn'.

Right now I have:
move player ->
check if chunks need to be loaded ->
update enemies (move/attack) -> end player's turn, then each enemy's (basically just reset them, ready for the next turn, as well as update their status effects) ->
update items that have been place

Works just fine for now, possible I'll have to make some changes later though. Anyway, goal for tomorrow is either some sort of food item to lure enemies, or maybe some sprite updates (So far I have a few temporary textures, and I need to do something about not being able to see items when the player or enemy is standing on them.)

See you!

Leave a comment

Log in with itch.io to leave a comment.