PRINCICRAFT V1.0 BETA

TechZ2124 - Custom level - from Android
PlayEdit38 players liked this.Log in to like this level.

I wanted to post this only when it would be finished but finally here it is :)

BE WARY : VERY LAGGY
PLEASE RESTART THE GAME, DOESN'T WORK THE FIRST TIME.

For now you can dig and have a look to your collected blocks.

A big credit to Cralant and his awesome LUA text generator !

Views: 2503 Downloads: 919 Unique objects: 15 Total objects: 249

Discuss this level

Log in to comment on this level.
  • damong: NOT GOOD
  • damong: IT IS VERY VERY VERY LAGGY
  • RasmusOlle: have anyone tried to make a no-lua version? nobody? challence accepted
  • RasmusOlle: Good! But grass block can only be got with the silk touch enchantment ;)
  • Aceheliflyer: Haha
  • DanielMc: You can dig with two or 4 cubes and you won't fall in lava that you will se before the danger(the missing cube).
  • Technomancer: @TechZ: awesome!!!
  • anarki20043: @WXWMC: Water isn't particularly effective in the nether.
  • WXWMC: @Andr3w246: put some water beside you.
  • Andr3w246: @WXWMC: Its SUPER dangerous. Not worth the risk I'm my opinion.
  • WXWMC: @Andr3w246: @anarki2004: sometimes digging straight down is easier to find ore.
  • Andr3w246: @anarki2004: You broke the 1st law of Minecraft! Never dig straight down. And you fell in lava. Well, that stinks...
  • anarki20043: I was exploring a stronghold and digging down (don't dig down!) when I fell into lava, losing all my diamonds and an entire stack of obsidian!
  • JOELwindows7: Awesome app in the world!
  • zardOz2: @TechZ: Take a look and let me know.. It's designed to draw from 0,0 at the bottom left corner for simplicity, if you want me to make it more complex so you can move it let me know.
  • TechZ2124: @pajlada: Wow that's awesome ! I really thought that this proyect was unable to be finished because it was way to laggy, but now I know that I'll be able to make something more epic ;) Can't wait for 1.5 !
  • pajlada: @TechZ: I converted your code to 1.5-compatible code and compared the results on my phone.
    1.4.0.4: 7 fps
    1.5: 20 fps
    The new method of drawing non-moving sprites (this:add_static_sprite) would increase performance even more
  • TechZ2124: @zardOz: Cool can't wait
    @Ctjet: Thanks :)
  • Ctjet: Nice, you can use my world gen if you want
  • zardOz2: I already started on something, Ill post it for you when it's ready... but it will only be the graphic block and touch dig, I wont be hurt if you dont use it, reconfiguring a complex one like this is torture
  • TechZ2124: @zardOz: Yep, it's gonna be awesomly hard to do...I just sent you the code, don't prest attention to variable like "numberOfGrass" or "digging", they or useless for now. If you don't understand something just tell me ;)
  • zardOz2: I think drawing the entire field as a single sprite is feasable, of course it would be a major pain in the ass, but doable.
  • zardOz2: @TechZ: hmm, I see... I couldnt tell there were so many. Perhaps a system to draw any large unbroken groups as one sprite and only split them when they are "active" Can you pm me the code from one of the lua blocks, it's more than 9k I cant see it all.
  • elie_elie5000: WOAW !!!!!!!!!!
  • TechZ2124: @zardOz: No. Basicly, blocks are organised by "columns". One column of block is created by one LUA table. A LUA can only draw 512 sprites so one LUA can make only 9 "columns" of blocks, generated by 9 tables. There are a lot of others things in this LUA, like the small sprite drawed on the top of some blocks to create a 3D effect, so that must be the origin of the lag.
  • zardOz2: I did some lag testing, 90% of the lag is coming from the 3 block code boxes... I dont wanna study the whole thing can you tell me what they are doing roughly? One for each block type?
  • TechZ2124: @Andr3w246: Yes, made my code as short as possible but the LUAs tables definitively make the game lags :/
  • Andr3w246: @TechZ: ah! That makes sense! Its still pretty laggy, but I'm just gonna say its the lua.
  • TechZ2124: @sjoerd1999: @Andr3w246: @zardOz: Thanks guys ! The logo is made with pixels, they disappear when the game start to reduce lag.
  • zardOz2: Looks epic so far! Is that logo all plastic or is it pixel? Can auto-absorb it to reduce lag
  • Andr3w246: @TechZ: °0° awesome!
  • sjoerd19992: Awesome !!
  • TechZ2124: Please LIKE and COMMENT !

LEVEL ID: 8832