One of the side effects of the bugfix for Bay Trail devices is disabling of terrain vertex buffer/index buffer caching. I am worried about that, and I was wondering how much effect it will have on framerate consistency.
I made some measurements on Nexus 4 at 256 visibility range (i.e. heavy load). The table below contains standard deviations of frame times and percentages of frames above 100ms (i.e. stuttering).
Uncached (1.29.2) | Cached (1.29.1) | |||
Frames | stddev | >100ms % | stddev | >100ms % |
0 | 0.37 | 1.6 | 0.124 | 0.4 |
250 | 0.26 | 0.4 | 0.434 | 1.6 |
500 | 0.236 | 0.4 | 0.468 | 0.4 |
750 | 0.322 | 1.2 | 0.371 | 0.8 |
1000 | 0.249 | 0.4 | 0.342 | 0.8 |
1250 | 0.273 | 0.4 | 0.397 | 0.8 |
1500 | 0.349 | 1.2 | 0.317 | 0.8 |
1750 | 0.417 | 1.2 | 0.507 | 0.8 |
2000 | 0.38 | 2 | 0.47 | 1.6 |
2250 | 0.31 | 0.8 | 0.42 | 2.4 |
2500 | 0.306 | 1.2 | 0.209 | 1.2 |
2750 | 0.222 | 0.8 | 0.405 | 1.6 |
3000 | 0.371 | 2.4 | 0.486 | 1.6 |
3250 | 0.402 | 2 | 0.321 | 0.8 |
3500 | 0.265 | 1.2 | 0.322 | 0.4 |
3750 | 0.293 | 2 | 0.363 | 1.2 |
Average | 0.314 | 1.2 | 0.372 | 1.075 |
Each row is calculated from 250 frames, the entire table is 4000 frames.
As you can see, there’s not much difference at all. In the uncached scenario 1.2% of frames were above 100ms, while in the cached scenario 1.075%. I suspect this small difference is well within the measurement error. Especially that standard deviations point the other way, uncached is actually more consistent when it comes to frame length.
Sorry for boring you with this technical stuff :-) Should be releasing full version to Google Play soonish.
48 Comments
I love the technical stuff. I am a programmer but in a different type of industry so its cool to see the behind the scenes of a mobile game development process. Would love to see some examples on how you accomplish some of the hurdles you come across. I would also love to see how you program around the explosions and particles.
Ditto
Kaalus your work simply amazes me at times. There’s Mojang on one hand, which can’t get PC crafting on mobile and here’s Survivalcraft with nearly as many features as PC Minecraft but running smoothly on most devices. You’ve got to give credit where credit is due.
Imagine what could be achieved with a team of two kaaluses
Commencing work on a cloning device now…
Lol
Survivalcraft would swap places with Minecraft in terms of popularity… :D
I love the tech you stuff. Thanks for all the efforts and creative changes Klaaus.
The technical stuff isn’t really that boring. It’s what makes the game.
Can’t wait for full version to play nonstop now! 😆
Can’t wait for he release on IOS. Keep it going Kaalus!
Go Kaalus!!
I do like the technical stuff as well but anyway:
I’m going to make a features poll. Reply to this comment to suggest a feature. I’ve already got:
More animals
Multiplayer
Electric block interactions (e.g. pistons/conveyors)
Thirst
Taming
Transport (e.g. minecarts)
Baby animals
More electrics.
More world generation options.
… I’ve also got another (probably) trivial change to suggest. Could you make it so that you can see the seed of a world generated with a random seed.
They all sound awesome…guess I’d want Terrain first, then minecarts, then thirst.
Multiplayer would be top for me, then electronic block interactions, then more animals.
I’d chose conveyers and pistons first. Then more electrics.
I don’t like to ruin your relief Kaalus, but I felt the need to perform a “paired sample T-test” on your results and there IS a significant difference between the cached an uncached version.
Not sure what this test does. Does it mean that my statistical hypothesis that there is no perceivable difference for the end user with both lists of frame length variance is invalid?
BUG……
Boats can’t be placed on water
Its not a bug. Place boat on the ground and push it
Interesting… Glad we have people out there like Kaalus who knows and thinks about this stuff, otherwise we wouldn’t have amazing games like Survivalcraft!!!!
People in game would be good idea. I think there should be two types of them- Enemies and Npc. In real life there are also lonely people want to survive or trade
+1
in version 1.29.3 night the animals do not attack as always, are like day his ostilidad
The poll is out.
http://www.rkursem.com/poll/view.php?id=d6eaf39be002006ad
You can add your own answer.
Could you add the option “More Generated Structures”? Probably would be an interesting choice…
Added but by the time I did, I think I hid yours… Might have to change your vote to the new one. First time I’ve used this software…
I need to say that i love the new colors of LEDs and displays. They looks awesome! Thanks :)
One question – if i set delay(on delay gates) to 0 there is no delay at all? So it behaves like a normal wire?
Or its like u said in some earlier post, that every devices have “1 tick” delay ?
Sorry 4 my english
The gate has 1 tick of delay plus whatever is selected on the gate – it does not behave like wire. Well spotted, maybe I should change the UI to go from 0.01 to 2.56.
Is it possible to make it behaves like normal wire when delay is set to 0? This would be helpfull for lot of circuit designs.
Unfortunately not :-( This would be very difficult.
How about making an adjustable real time clock? So you can have a stable repetitive streem of 1s and 0s without the chance that your perfectly calebrated clock clock cercit (made with delay Gates and not gates) going out of sinc when you leave the world or visibility range and then re entering the world or airea …… This lack of stable electric clock’s has crippled many of my world’s and game attempts
BUG: I found a floating tree:
I’ve seen that before 1.29, but is still a bug indeed. Also were those were oak trees in snowy area in background? So that bug has not yet been fixed.. oak trees in the snowy areas look horrible in my opinion Lol.
i found a floating grass block and a floating patch of stone in like 20 block high
I have changed the poll so that you can give multiple answers.
Plz make the update for kindle plz
The update is already for the kindle. Or atleast the fire kindle
BUG!
Something when you shot an arrow to an animal, due to the bouce, there is a chance that the arrow hits the animal two times
Sometimes*
Love the technicalities and its out on the full game on Google Play
This is my newest picture ……
In memory of our hero
i named him mike when i got the game back in 1.24
will it be released to Apple.
Apple is always the last one to release.
In my experience Apple take 12 days to check approve and release an app. Google/Windows/Amazon takes a few hours!!
Kaalus what would it take to add two arrows on the home screen, to scroll between the messages that appear. Between distractions and other things some messages are missed. Just a small idea that might be beneficial to some
I want to report a bug. When I went to sleep in full version and during the zzzzz animation the frames were dropping insanely low and continued throughout until I woke up and the frames were very low. I have a Galaxy Note 3 running Android Lollipop