April 18th: Side Effects

Huh. Well I was going to settle in and fix the other major collision issue when I found that it no longer seems to exist. So that’s a time saver.

That taken care of, I ended up doing some debugging on the transitions between levels. I discovered that there seemed to be some problems with it trying to load information about maps before the maps themselves were loaded, so I made it so the game just pre-loads all the maps in the map directory on startup. Since map files are pretty small, I don’t think this will be an issue, but I think right now it’s also loading all of the levels in the maps as well, which is a fair bit more demanding.

In addition to that, for a long time now each level has run its loading functions multiple times instead of just once. I don’t know whether that’s causing problems or not, but it might be, and it’s also totally clogging up my debug output, so I’ll see about fixing that tomorrow as well as making sure it doesn’t mass-load levels at startup. (which isn’t a big deal now, but when there’s a few hundred of them in the game may get a bit out of hand).


About problemmachine

What is the nature of your problem? Can we modify the nature of your problem? Can your problem be touched? Eaten? May we eat your problem for you? May we eat your soul for you? Would you like a replacement problem? We make problems. We eat souls. We crap solutions. We are Problem Machine.
This entry was posted in Daily Update, Programming. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s