• Register
Post news Report RSS Swimming and Energy

Implementation of Swimming and all that goes with it!

Posted by on

This past week I spent most of my time implementing an infinite world and world threading which sucked most of the week dry. However I did find the time to update one other thing.In Tile Miner you have an energy bar. It goes down from things like breaking blocks, walking, and fighting. But one element that was missing from the game was swimming. Until now when you stepped on the water it looked like this:

walkOnWater

At one point you couldn't even touch water (it was a collidable object). Now you can swim but at a cost. Firstly you move at half speed. Secondly you lose energy even while standing still. Why? Because it's exhausting to tread water. Also keep in mind that you can't fight while swimming. Here's a new image of swimming:

swimInWater

Next week the plan is to make some big changes to the UI to make item selection and crafting easier. (Not to mention fixing some minor bugs from the infinite world changes).

Post comment Comments
Guest
Guest - - 695,439 comments

which engine you use ?

Reply Good karma Bad karma0 votes
naloth Author
naloth - - 5 comments

I'm using libgdx.

Reply Good karma+1 vote
Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: