Jump to content
  • entries
    169
  • comments
    54
  • views
    131532

Devlog #11: Choo-Choo!

Sign in to follow this  
VBStrider

857 views

Uh... That Shouldn't be Happening



So today started off with fixing a rather odd bug. You see, the- Uh... Well. This is easier shown than described:

grabber-dragged-along-bug.gif?resize=320%2C240

So. That was happening. Fortunately I managed to fix it (not without the help of the livestream viewers in the chat - thanks!)

The problem, like with most bugs, wound up being relatively simple: The character's velocity was being incorrectly set after changing maps.

wrong-velocity-on-character-creation.png?resize=361%2C125

The real issue is that the server works with coordinates and velocity measured in tiles. The client, however, uses pixels. This is definitely on my "I need to refactor this" list.

All Aboard the Game Mechanic Train!



As you may know, I've been working on the "grabbing" feature. This breaks down into several mechanics, but here is the basic idea: You can "grab" another character and push them/pull them out of the way, or hold them in one spot. Very useful in combat.

One of the mechanics is that if the character you are grabbing tries to move, they pull you along with them. This will eventually result in slower movement speed, but that is still being worked on.

At the request of the livestream viewers, I tried grabbing the character which was grabbing the other character, and then moving... Thus was born The Train! Choo choo!

train.gif?resize=320%2C240


IfThen-Software-Official-Blog.png
Sign in to follow this  


0 Comments


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!