[Game] Voxelgarden [git]

User avatar
Casimir
Member
 
Posts: 1151
Joined: Fri Aug 03, 2012 16:59
GitHub: CasimirKaPazi

Re: [Game] Voxelgarden [git]

by Casimir » Sat Apr 29, 2017 19:40

This version should be the newest still compatible with 0.4.15, as far as I tested.

Alternatively there are nightly builds for mac, then you could use the latest version.

(Just to have it complete I commented the same in the github issue.)
 

User avatar
Casimir
Member
 
Posts: 1151
Joined: Fri Aug 03, 2012 16:59
GitHub: CasimirKaPazi

Re: [Game] Voxelgarden [git]

by Casimir » Sat May 20, 2017 20:29

In the last few weeks I worked a lot on this subgame. There will be a more detailed post some time, for now you can look at the recent commits.

Now I start to overthink the physics. Falling nodes already behave quite different from the engines default, and the way water renews changed. Now I consider to make a little/big change to the liquid behaviour that would make it behave more like the long gone "finite liquid", it isn't "finite" though, but "falling". It might be pretty demanding on resources, I haven't measured yet.

This is the reason I make this post. I kind of like it, but it would be good to have more opinions. I would be happy if someone could test it and give me honest feedback. From a conceptual, gameplay, technical, aesthetic, whatever standpoint.

Code: Select all
local source_pos = {
-- First check the node directely above for falling down.
   {x = 0,  y = 1, z = 0},
-- Then check sideways to flow downsteam.
   {x = 1,  y = 1, z = 0},
   {x = -1, y = 1, z = 0},
   {x = 0,  y = 1, z = 1},
   {x = 0,  y = 1, z = -1},
}

minetest.register_abm({
   nodenames = {"default:water_flowing"},
   neighbors = {"default:water_source"},
   interval = 1,
   chance = 1,
   action = function(pos, node)
      for _, p in ipairs(source_pos) do
         local s_pos = {x = pos.x + p.x, y = pos.y + p.y, z = pos.z + p.z}
         if minetest.get_node(s_pos).name == "default:water_source" then
            node.name = "default:water_source"
            minetest.remove_node(s_pos)
            minetest.set_node(pos, node)
            break
         end
      end
   end
})

(Liquid range would probably be reduced too.)

You can put this in a mod, try a new world any fly around the coast searching for caves the water floods.
 

User avatar
texmex
Member
 
Posts: 869
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: texmex

Re: [Game] Voxelgarden [git]

by texmex » Sun May 21, 2017 18:43

Hey Casimir. Good to see you've taken up development pace again. Reading your last post immediately reminds me of FaceDeer's recent work on Dynamic liquids which sounds very similar if not a perfect match to yout efforts of making liquids finite.

I haven't had the chance of trying your code yet, sorry!
 

User avatar
Casimir
Member
 
Posts: 1151
Joined: Fri Aug 03, 2012 16:59
GitHub: CasimirKaPazi

Re: [Game] Voxelgarden [git]

by Casimir » Tue May 23, 2017 20:51

Thanks, I didn't knew about that one. But I don't think I can use any of it. It's basically the same I am already doing, plus a lot of other features I don't think I need.

Edit: I attached a new version of the liquid code (as a ready to use mod). Now it works for lava too and looks much smoother.

Edit2: There is also the add row feature I have been playing around for a while. It's like the dig up for papyrus and cactus, but in reverse: you add nodes. This will become useful for ropes and such.
Attachments
row.tar.gz
(769 Bytes) Downloaded 24 times
fallingwaters.tar.gz
(740 Bytes) Downloaded 23 times
 

User avatar
texmex
Member
 
Posts: 869
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: texmex

Re: [Game] Voxelgarden [git]

by texmex » Mon May 29, 2017 13:00

I think that some environmental factors as survival obstacles could favor the Voxelgarden sublime play style. For instance, if heat would affect the player then travel and settlement in certain biomes could be made more challenging. Perhaps certain crops can only grow in certain heat and humidity conditions, perhaps the player needs to craft clothing to keep body temperature up.

This could open up for different play styles in different biomes, enriching the game as a whole and make it last longer.

Edit: I realize this feature would depend on mgv7…
 

User avatar
Casimir
Member
 
Posts: 1151
Joined: Fri Aug 03, 2012 16:59
GitHub: CasimirKaPazi

Re: [Game] Voxelgarden [git]

by Casimir » Sat Jun 03, 2017 23:24

0.4.16 release is out.

As always this is nothing but the current state of the subgame packed and named in conjunction with the engine release.
This makes this version compatible with the current 0.4.16 release of Minetest.
This time I am planing to have 0.4.16.n releases before I add any features only available in the dev version of Minetest. This way you will be able to get a more up to date version of Voxelgarden even when using a stable version of Minetest.

Changes since... i don't know; since last post I posted changes:
(I won't list everything MTG has added too, like mushrooms and walls.)

Mapgen
Using decorations it now is faster.
Improved support for biome based mapgens (v5, v7, vallies).
There is more grass growing, flowers group by type.
Ore generation tweaked. Copper is now fairly common and iron harder to get.

Fire
Now behaves even more predicable which makes it possible - if you are careful - to have a fireplace in your house.

Liquid renewing changed
While previously two sources could crate new water in specific shapes, now four source nodes in any shape will do.
This way water patches look different. With the old behaviour every collection of water would form strange looking rectangles, the new one allows diagonals to form.
Lava is now renewable too.

Molten rock
When lava sources cool they turn into molten rock. When you get it out of the water before it cools down even further and become ordinary stone you will have a weak light source (which can set things on fire.)

In creative you can easily remove ("dig") liquids with anything that can point on water (buckets mostly).

Custom falling behaviour
Voxelgarden falling now deviates even more from the engine behaviour:
There is a delay between near by falling nodes, so they don't all fall at once, but in succession.
Falling nodes collide with each other and with players and mobs (if you use any). This prevents a common bug that caused nodes go missing (or dropping to be more precise).

Doors
Glass doors have been added.
You can now shift+right click to place something onto doors without opening them.

Get gravel to get started
Initial game play changed again *sigh*. You need to find gravel which gives you small stones, so you can craft tools.
I still don't like the way this is going, but it's better than the previous.

Lots of new nice textures
Especially grass and normal-tree-leaves, those two alone change the appearance a lot.

Tools have been reworked
Tool dig times and uses now follow a strict pattern and are tuned to give better balance.
Tools now have a defined number of uses, no mater which type of node you dig.
Wood: 15
Stone: 60
Copper: 45 (because copper is soft)
Steel: 90
Swords and hoes differ by a factor of *3 and /3 respectively.

Other
Lots of details, tuning, improvement and bug fixing.
The nyancat (spawning) and the intweak mod have been removed.

Future plans:
See the issue tracker. Not everything will make it into the next release, but I'm very interested in doing the falling liquid stuff, properly supporting biome based mapgens and adding more useful ores (or ways to get better materials).
I also want to get the Unternull/The Ocean Experiment server running again at some point. With the new liquid behaviour it will be fun.

@ texmex
Yes, temperature would make the game very interesting. At the moment there is no need to build a house for yourself. In MC you have mobs and need protection from them, you also need light for mobs not to spawn in your house. As a result mobs replace the reasons people have houses and light in the real world. Weather and temperature would crate a need for housing, fire and so on and give the game a great depth.
However it's extremely hard to do, not only technical, but also conceptual. And if I would have enough free time for this, I would spend it on other features (see future plans above).
 

User avatar
Casimir
Member
 
Posts: 1151
Joined: Fri Aug 03, 2012 16:59
GitHub: CasimirKaPazi

Re: [Game] Voxelgarden [git]

by Casimir » Sat Aug 26, 2017 21:38

0.4.16.2 release

So I made a small point release, because as of now I will include feature of the current minetest-dev (0.5) which won't work with 0.4.16 any more.

Changes since last post: fix tree growth times, other small fixes, Trees in v5 v7 etc. mapgen now look similar grown ones.
 

Nezchan
Member
 
Posts: 15
Joined: Thu Feb 25, 2016 22:15
In-game: Nezchan

Re: [Game] Voxelgarden [git]

by Nezchan » Wed Sep 06, 2017 19:30

I played this subgame some time ago and decided to take another look to see how things have come along. However, the game crashes every time I try to run Voxelgarden. When I try to run it from terminal I get this:

Code: Select all
minetest: /build/minetest-m2uL7R/minetest-0.4.16/src/nodedef.cpp:691: void ContentFeatures::updateTextures(ITextureSource*, IShaderSource*, irr::scene::IMeshManipulator*, Client*, const TextureSettings&): Assertion `liquid_type == LIQUID_SOURCE' failed.


If you need more info, just let me know what command I need to extract it.
 

User avatar
Casimir
Member
 
Posts: 1151
Joined: Fri Aug 03, 2012 16:59
GitHub: CasimirKaPazi

Re: [Game] Voxelgarden [git]

by Casimir » Fri Sep 15, 2017 20:37

This release fixes it: 0.4.16.3

I pushed a fix to the 0.5 branch some time ago, but hadn't had the time to make a new 0.4 release for it.
 

Nezchan
Member
 
Posts: 15
Joined: Thu Feb 25, 2016 22:15
In-game: Nezchan

Re: [Game] Voxelgarden [git]

by Nezchan » Mon Sep 18, 2017 18:33

Casimir wrote:This release fixes it: 0.4.16.3

I pushed a fix to the 0.5 branch some time ago, but hadn't had the time to make a new 0.4 release for it.


It works perfectly now, thank you.
 

josenuny
New member
 
Posts: 3
Joined: Thu Nov 09, 2017 05:58
IRC: josenuny

Re: [Game] Voxelgarden [git]

by josenuny » Thu Nov 09, 2017 07:49

Hi, Any plans for beds to skip the night? It would be nice to be able to craft a bed to skip the night.
 

User avatar
TheGreatCoffeeKing99
Member
 
Posts: 25
Joined: Fri Sep 09, 2016 23:42
In-game: Coffee99

Re: [Game] Voxelgarden [git]

by TheGreatCoffeeKing99 » Sun Apr 29, 2018 14:12

Hi there.
I just got started and I am glad you have eradicated tree-punching.
(I personally think it is one of the worst reality breaches in most subgames.)
Anyway-- how do you get bones to craft the axe without dying?
I don't see a recipe to craft a stone axe without bones.

EDIT:
Just used sticks recipe to craft a stone axe. Please include small stones + sticks in crafting guide.

EDIT 2:
Awesome game! The falling dirt is really great. I will continue to play this game.
Hi. I don't have any published mods yet.
 

User avatar
Casimir
Member
 
Posts: 1151
Joined: Fri Aug 03, 2012 16:59
GitHub: CasimirKaPazi

Re: [Game] Voxelgarden [git]

by Casimir » Mon May 07, 2018 20:53

I'm glad you like the game :)
Having a more natural and better paced start to the game was my main goal.

The bones recipe was a bad idea on my side, just a side note without any real use. I now removed it in the latest version.
The craft guide actually shows all alternative recipes for an item (using the up and down arrows), but by the way it works internally it displayed the unusual bone version before the normal sticks. You're not the first to be confused by it.
 

sirrobzeroone
New member
 
Posts: 4
Joined: Mon Jul 16, 2018 07:56

Re: [Game] Voxelgarden [git]

by sirrobzeroone » Mon Jul 16, 2018 08:12

Been playing around with this game, really like it. However after about 5mins Im getting an odd error. Could be a version mismatch as im using the current minetest version 0.4.17.1 but voxelgarden version 0.4.16.3.

Code: Select all
2018-07-16 16:59:58: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'footsteps' in callback LuaABM::trigger(): ...in\..\games\Voxelgarden-0.4.16.3\mods\footsteps\init.lua:97: bad argument #2 to 'set_int' (number expected, got nil)
2018-07-16 16:59:58: ERROR[Main]: stack traceback:
2018-07-16 16:59:58: ERROR[Main]:    [C]: in function 'set_int'
2018-07-16 16:59:58: ERROR[Main]:    ...in\..\games\Voxelgarden-0.4.16.3\mods\footsteps\init.lua:97: in function <...in\..\games\Voxelgarden-0.4.16.3\mods\footsteps\init.lua:87>


Ill try dropping back to the matching version of minetest as really liking voxelgarden,
 

Nols78
New member
 
Posts: 5
Joined: Mon Jun 25, 2018 18:34
IRC: Nols78
In-game: Nols78

Re: [Game] Voxelgarden [git]

by Nols78 » Fri Aug 03, 2018 17:06

The same runtime error is happening to me.
Same Minetest version (0.4.17.1), same Voxelgarden version (0.4.16.3).
 

sirrobzeroone
New member
 
Posts: 4
Joined: Mon Jul 16, 2018 07:56

Re: [Game] Voxelgarden [git]

by sirrobzeroone » Mon Aug 13, 2018 08:56

I basically poked around the code a little bit from the error.

under mods>>footsteps>>Init.lua, I adjusted line 97 so instead of being:
Code: Select all
set_int("decay", nil)

to
Code: Select all
set_int("decay", 0)


I don't know anything about Lua programming but I did read nil==false were as 0 is an integer and I'm not sure if the code is expecting an integer for it's loop to work. Like I said no real clue what the impact is on the code block and game overall but it seems to kill the error.

I've uploaded my fixed init file a well but I know how cautious I am downloading random files from the internet so it's an easy change to do yourself if you open the correct init.lua file:
(Voxelgarden-0.4.16.3>>mods>>footsteps>>init.lua) in notepad++ then adjust nil to 0 on line 97 and save.
Attachments
init.zip
copy over Voxelgarden-0.4.16.3>>mods>>footsteps>>init.lua
(916 Bytes) Not downloaded yet
 

Previous

Return to Game Releases



Who is online

Users browsing this forum: No registered users and 0 guests