Author Topic: Demos!  (Read 9906 times)

JackOatley

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 732
  • Nobody
    • View Profile
Demos!
« on: October 29, 2015, 03:27:34 PM »
Latest:
DOWNLOAD

Changes:
  • Fixed Tiaga tree model having 2 extra stray blocks.
  • Hunger and thirst dependant on biome.
  • Added simple day/night system.
  • Fixed a chunk saving/loading issue that caused extra unwanted changes.
  • Greatly improved memory usage in several areas.
  • Added point lights (they can handle multiple colors, this will be future update).
  • "useDistribution" setting now obsolete.
  • Optimized generation by preventing remodelling of chunks.
  • Added in final missing blocks.
  • Added new "cross" block type, like frill but intractable.
  • Added definable items using a new external item index file.
  • Rewrote inventory system.
  • Block drops can now be defined, as well as drop chance.
  • Tree generation now distributed over several steps, should help with FPS drop when generating heavy forests.
  • Fixed glitch when loading adventure mode games.
  • Added basic crafting system (currently doesn't have the planned "tempering" system).
  • Added consumable items (food, drink, vessels).
  • Limited block selection distance in adventure mode.
  • Fixed bug that allowed placing blocks in invalid locations.
  • Added vessel items that can collect from water.
  • Added colored chat to easily recognize message meaning.
  • Player stats now saves and loads.
  • Inventory now saves ans loads (in both modes).
  • Player health reduces when hunger or thirsty.
  • Player can now die and respawn (at 0, 0).
  • Added "fontSizeStats" setting.
  • Revised font, should be clearer to read, especially numbers.
  • Player hunger/thirst depletes faster when walking & running.

Screenshots:





Notes:
To see new changes you can now click the "restore default settings" button in the options menu!
Remember, to see some changes you made need to delete or edit your INI file. This can be found in AppData\Local\terrablox_source

Older demos:
https://dl.dropboxusercontent.com/u/33776055/Terrablox/demos/tb19.zip
https://dl.dropboxusercontent.com/u/33776055/Terrablox/demos/tb18.zip
https://dl.dropboxusercontent.com/u/33776055/Terrablox/demos/tb17.zip
« Last Edit: December 02, 2016, 10:35:41 PM by JackOatley »

JackOatley

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 732
  • Nobody
    • View Profile
Re: New demos
« Reply #1 on: October 30, 2015, 11:54:32 PM »
So I just made some tweaks. There's a selection bar now so you can browse and place 10 different blocks (I'll put in the rest later, that just needs the bigger inventory). I added a settings INI, there's no link to it yet, but you can find it under appdata>terrablox_source, with that you can change view distance and FOV. Tweaking view distance will give you a good speed boost if you need it. I also added in frame skipping, so if you're running at over 60 fps then it will stop drawing some frames and this can give a massive boost in rendering (depending on how much spare fps you already have, if under 60, there's no change). The frame skipping only has a minor effect if the world is updating, but after that I went from (upclose, looking down) <1000 to >8000, so clearly there was some unnecessary, unnoticeable nonsense going on there.

Download: https://dl.dropboxusercontent.com/u/33776055/Terrablox/tbdemo3.zip

@Uxer,
*I removed this* It was massive, unrelated, derailment.
« Last Edit: October 31, 2015, 12:46:55 AM by JackOatley »

Braffolk

  • Sr. Member
  • ****
  • Posts: 264
  • I like beans
    • View Profile
Re: New demos
« Reply #2 on: November 03, 2015, 04:36:29 AM »
Really liking the new versions, I love how big the world is.

also, how tall is the world exactly? http://i.imgur.com/feJtj0W.png

JackOatley

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 732
  • Nobody
    • View Profile
Re: New demos
« Reply #3 on: November 03, 2015, 03:51:54 PM »
Really liking the new versions, I love how big the world is.

also, how tall is the world exactly? http://i.imgur.com/feJtj0W.png
The world is set to 128 voxels high atm. Though it's kind of arbitrary, I could set that to 256 and it should maintain the same speed most of the time, it'd just take up twice the memory for voxels.

EDIT: Some small changed from today, see top post for download:
Changes:
  • Fixed Inventory UI when scaling window
  • Settings INI now include texture pack option
  • Block index now exported, meaning blocks can be edited + added (note: Inventory won't recognise this yet)
  • Default texture pack now exported
  • Fixed alpha writing issues with "transparent" blocks (like leaves)
  • Note: You may need to delete current INI file to see new options (no auto-update yet)
« Last Edit: November 04, 2015, 11:37:53 AM by JackOatley »

R34LD34L

  • Sr. Member
  • ****
  • Posts: 340
  • "TERRABLOX!!!!!!!!"
    • View Profile
Re: New demos
« Reply #4 on: November 09, 2015, 09:43:10 AM »
Jack has done it again 8)
Schematic Mod Thingy!!!!

JackOatley

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 732
  • Nobody
    • View Profile
Re: New demos
« Reply #5 on: November 09, 2015, 02:58:24 PM »
I'll just say, next I should be adding trees and basic lighting.

I already ported all the old trees, including the ones you guys made, to a slightly different format; The model format is the same, there's just meta data to go with it now. Tedious, but hopefully worth the effort. Just need to do procedural placement and stuff.

And by basic lighting, I mean it'll just be a downward shadow and only effect 1 face with no gradient or anything. Just doing it so it's there. There will eventually be more advanced options. GM actually doesn't compile anything like "if (CONSTANT) {}" if CONSTANT is false, so having lots of different options encased like that won't effect speed.

trg601

  • Hero Member
  • *****
  • Posts: 841
  • Just a guy
    • View Profile
    • Mutant Brain Games
Re: New demos
« Reply #6 on: November 10, 2015, 12:02:48 AM »
Can you check the tbdemo4.exe? I tried to run it and it didn't work. I tried it four times, the first time it didn't do anything, the second time norton removed it and I had to restart my computer, the third time it just crashed windows explorer. I installed it yet again and from then on it just doesn't do anything when I run it.

I don't know what's wrong with it, the other versions work fine.
« Last Edit: November 10, 2015, 01:08:31 AM by trg601 »
I've made some stuff for terrablox, but I'm too lazy to link to much of it.
Terrablox Solder
Join the Terrablox Chatroom!

JackOatley

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 732
  • Nobody
    • View Profile
Re: New demos
« Reply #7 on: November 10, 2015, 01:18:17 AM »
@trg601, What are you running on? It's working fine here on Windows 7, I haven't tried anything else though. If anything, I'd imagine it'd be down to file access or something, as those are the major changes here from previous version. Get back to me and I'll see if I can make a build with things changed for your OS if it's different.

trg601

  • Hero Member
  • *****
  • Posts: 841
  • Just a guy
    • View Profile
    • Mutant Brain Games
Re: New demos
« Reply #8 on: November 10, 2015, 05:07:41 PM »
Spoiler (hover to show)

Edit: I don't win32 cabinet self-extractors work in windows 10. I was able to manually extract the game using 7zip though.

Double Edit: The game is looking awesome! The block indexes especially look awesome, with lots of modability! I'm so excited for this!
« Last Edit: November 10, 2015, 05:24:29 PM by trg601 »
I've made some stuff for terrablox, but I'm too lazy to link to much of it.
Terrablox Solder
Join the Terrablox Chatroom!

JackOatley

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 732
  • Nobody
    • View Profile
Re: New demos
« Reply #9 on: November 10, 2015, 05:46:00 PM »
@trg601, Thanks, man. So, I done all 3 builds for you, if you could try all of them and see what happens that'll be cool. Even the stand-alone exe. Another thing that may have been happening is that you didn't clear the terrablox_source folder in appdata, for now I got it to do this automatically... Sooo, if any of you do make changes to those files, they will be deleted... Derp. :)

Anyway, see top post for new download, the zip will contain all 3 builds.

trg601

  • Hero Member
  • *****
  • Posts: 841
  • Just a guy
    • View Profile
    • Mutant Brain Games
Re: New demos
« Reply #10 on: November 10, 2015, 06:09:13 PM »
Everything but the standalone works.
And I didn't clear the terrablox_source folder in appdata, maybe that is why.

Edit: Okay I reinstalled it and deleted 'terrablox_source' before running it, still doesn't work.
« Last Edit: November 10, 2015, 08:17:28 PM by trg601 »
I've made some stuff for terrablox, but I'm too lazy to link to much of it.
Terrablox Solder
Join the Terrablox Chatroom!

JackOatley

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 732
  • Nobody
    • View Profile
Re: New demos
« Reply #11 on: November 11, 2015, 12:04:19 AM »
That's OK, thanks. I'll just build all 3 versions each time from now on then.
Installer might actually be better for modding, because I don't think it uses appadata... I'm not sure, I'll have to look into that as I actually export to appdata from the stand-alone version...

EDIT:
So here's another demo. With the trees. Lower default view distance (See if you get better FPS?). And a new vertex format, which passes the tile ID to the shader through the color.b channel instead of separate UV coordinates (this should slightly counter the higher vertex memory usage).
https://dl.dropboxusercontent.com/u/33776055/Terrablox/tbdemo6.zip
« Last Edit: November 13, 2015, 12:49:33 AM by JackOatley »

R34LD34L

  • Sr. Member
  • ****
  • Posts: 340
  • "TERRABLOX!!!!!!!!"
    • View Profile
Re: New demos
« Reply #12 on: November 13, 2015, 04:39:05 AM »
 ;D ive been waiting for this lol
Schematic Mod Thingy!!!!

trg601

  • Hero Member
  • *****
  • Posts: 841
  • Just a guy
    • View Profile
    • Mutant Brain Games
Re: New demos
« Reply #13 on: November 13, 2015, 10:16:57 PM »
It's... SO... BEAUTIFUL!

I really mean it, I can't wait for the next version already XD!
I don't know why you removed the little white block that appeared where your cursor appeared, that's helpful.

I also can't wait for saving and loading, because i'll have to scrap my wonderful house. (Jk I made it in like a minute)

Though once there is saving and loading (or an update after) I will most probably host a map-making competition.

The sides aren't as glitched as the last version, but there are still a few problems
For example I found this while flying around:

And there is still the problem if you dig down far enough the top side isn't shown.
Actually I found it a couple more times, Always where a tree's leaves are intersecting with the ground.
« Last Edit: November 14, 2015, 04:29:51 AM by trg601 »
I've made some stuff for terrablox, but I'm too lazy to link to much of it.
Terrablox Solder
Join the Terrablox Chatroom!

JackOatley

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 732
  • Nobody
    • View Profile
Re: New demos
« Reply #14 on: November 16, 2015, 03:24:36 PM »
This highlight is missing because it's a bug, I put that in the update section. It's not there because it passed through the same shader as the terrain did, and the terrain shader changed to take tile IDs instead of UVs, so the highlight broke, it just needs the old shader restored to handle anything that isn't the terrain. :)

And that thing with the missing sides, also a know bug and it's to do with the tree generation. The block is there, but when a tree is placed it resets the "populationMax" value of that stack of voxels, so it doesn't try to render them all. It only happen because trees can spawn inside the terrain atm.

EDIT:
New demo: https://dl.dropboxusercontent.com/u/33776055/Terrablox/tbdemo7.zip

Changes:
  • Shadows (Per-face. inc 3 detail levels (though these are set at compile time))
  • Restored block highlighter
  • Trees check for collision before spawning.
  • BUG: Removing block does not remove the shadows.
« Last Edit: November 19, 2015, 12:52:30 AM by JackOatley »