7DRL – Space Junk Settler – Day 7

Should really have counted the days from 0. Those off-by-one bugs are always hard to spot!

day72

Added some new features this evening. As you can see, you have a hotbar GUI thing with buttons (only one of which kind of works), and can see how much jetpack fuel you have left, as well as how many turns. The camera follows you, and anything leaving the hex grid comes back on the other side.

One thing that’s really bugging me is the character physics. I’m just using a regular rigidbody2d, but I have to apply force every frame or the character doesn’t move at all! This looks ok if the astronaut is just gliding through space, but as soon as she hits an asteroid, it inherits way too much velocity and it is obvious she has a constant force pushing her. I’m not sure if this is a “feature” of the physics engine, or just something specific to my character, cause the asteroids seem to maintain their velocities.

Sad that I have so little time left to implement lots of potential features. Ah well, must call it a night at some point!

Advertisements

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s