Ladders finished

I finally got ladders mechanics to a workable state. I think they are reasonably easy to use on the phone. There is always room for improvement, but I need to get some feedback from the people before I know where the problems are.

The way it works is very simple. You walk “into” the ladder to start climbing. You can also jump onto it if you cannot reach it by walking. Once on the ladder, only up and down movement works. You cannot move sideways, it would be way too easy to fall off the ladder on the phone. To get off the ladder you can simply jump off it. Climbing all the way up or down also works. Jumping can also be used to move between different ladders horizontally. And this is pretty much it.

The scheme works best when you are climbing up and down with your face towards the ladder. Otherwise the movement seems inverted. On second thoughts, I may actually lock it to force you to do that.

As a quick bonus to relax after ladders I added a new glass block type: a window. It looks like that:

With stairs, slabs, doors and ladders Survivalcraft now has 61 different block types (this also includes tools and items). This uses almost 25% of all possible block IDs, so I may need to be more careful with that in the future. If we run out of block IDs, it will become very difficult to add more stuff.

I think at the moment¬†Survivalcraft performance is bottlenecked by memory bandwidth and cache size on the phone, so it would be quite bad if I had to increase memory footprint of a block. But I haven’t really profiled it since the early days, so I may be wrong here.

 

6 Comments

  1. Posted December 7, 2011 at 22:17 | Permalink | Reply

    Very nice,
    I hope, the update will be released soon.
    With the BlockIDs, don’t worry, you’re still in alpha and you can do what you want (notch hasn’t done much optimization till the final, so why can’t you do the same?)
    All is possible, if you believe it.
    And, you said, that 61 blocks are almost 25% of all available blocks, then 100% will be around 240-250 blocks.
    I think, thats much for a game on a mobile.
    How many memory does an block actually use? Maybe you can increase it a little bit, so you can add some more blocks?
    But this is stuff for the future, actually, I think, everything is fine or not?

    Continue with your great work.
    I’m glad, that I bought SC, when it’s new in the market, it’s worth every cent (I like minecraft, because I like it to build something, why shouldn’t I like SC too?)

  2. Posted December 7, 2011 at 22:25 | Permalink | Reply

    Nice! What does that button do in the middle right of the screen?

    • Savage1969
      Posted December 7, 2011 at 22:32 | Permalink | Reply

      Looks like the new Sneak button

    • Posted December 7, 2011 at 22:40 | Permalink | Reply

      It is the new sneak button indeed. You can even sneak while on a ladder :-)

  3. Savage1969
    Posted December 7, 2011 at 22:31 | Permalink | Reply

    Ladder movement makes perfect sense and the windows look great. On the subject of glass, I understand one sand per piece of glass but what about more “smelting time” out of one coal (one coal per piece of glass is a rather expensive commodity). Suggest up to ~six sand plus one coal equals six glass is more like we are accustomed to (from MC). Thoughts? Thanks Thanks again for your excellent work.

  4. Code5
    Posted December 8, 2011 at 02:19 | Permalink | Reply

    i know a little about computers, and not so much about phones and programming, but just a thought, what about increasing the amount of ram used by the phone, because every app i use to check the specs on my phone says i have 512MB of ram and its only been using about 10mb or so

    i would imagine increasing the amount of ram used for the app would increase the performance a little and allow more maneuvering room for how much you can put in a area at once

    just a thought though, as i said i don’t know much about smartphone tech nor about smartphone programming :\

Leave a Reply. No swearing please.

Please log in using one of these methods to post your comment:

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