Dev Log #3 (The Tower)

It’s that time again folks! Welcome back to another Dev Log, I’ve added a bunch of new stuff to the project so let’s get right to it!

An actual environment! Wow!

 

SeparateAdorableLamprey-size_restricted

GIF2

GIF

Although everything looks like it’s from the future, I finally put together a level that I’m happy with! The level itself was redone twice, and this was mainly because the first two just felt like a mess to try to put together. The overall structure of it also felt messy and sloppy, so it took me a few tries but I finally got something that feels right.

Game and Debug Manager:

So as I was putting things together, I realized that I needed a way to keep track of each boss and the current state that they were in (enabled/disabled, alive or dead, etc.). Also, I needed to check the how the actual castle mesh was looking, so I wrote a small debug manager to make my life a little easier.

Game Manager:

This is the main chunk of it:

3dc91c13f2b7e2e9057e9f5e23370f77

This is the first part of it. When the player hits a trigger, this script checks from an array of bools that keep track of each boss and depending on which boss, will start the fight.

0cce862842c850e3a96fb8d197916803

The block of code that the GM references when the player hits a trigger. In each frame, this script is checking which boss is enabled and sets flags according to which boss is alive.

 

Debug Manager:

6c0f3a33d4ba5386783e728154902a98

Kind of messy, but it works! This is mainly to just move the player around in the level for testing and checking for holes in the level mesh.

Well that’s all I got for this log, check back in next week for another update! Thanks for reading and I’ll talk to you soon.

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