Home » Posts tagged 'coding bugs'
Tag Archives: coding bugs
So I redid the Apple’s animations and it stopped glitching?? I don’t know?? why that happened??
Also, my schedule’s going to get weird for a little while because I’m hopefully getting a job at a restaurant call center??
Here’s snippets of the work I did last week: animating the two apple enemies and coding the logic for flaily-arm McApple friend, whereupon McApple started getting locked to the center of its room for some reason.
I didn’t get a lot of work done this week because of a family medical emergency.
I figured out what was causing the “inexplicable” infinite loop: a while loop with nothing inside of it, because I’m dumb. Otherwise, I do some apple animating and coding in the boss room spawning.
I did some work on an enemy type yesterday and then went back to the level generator because I’m still not done with that and I really should have been done with some enemies and a boss, AT LEAST, by this time. And then, in the end, the level generator manages to find an infinite loop to ruin itself on, no matter if I remove the additions or not.
Working on getting the double (wide/tall/size) rooms to spawn in correctly. It’s slow going because I always get confused about the relation between (row, column) and (x, y). There’s also an issue with spawning the fourth piece of a double-size room where I get some sort of lightning-bolt-Tetris-piece sort of thing happening.
I start revising the multiple-room-large room generation and get PRETTY CLOSE to a functional function. There’s some issues that need to be resolved, wherein random single rooms are generated for some reason and gaps appear between the room segments, so I’ll need to do some debugging.
It’s gonna take an hour and a half to upload this 8 minute video wherein I: set up spawning a room’s contents and then try to alter the level generator to allow for double (wide/tall/size) rooms.
It doesn’t work, but I think I might have a solution for it.