Nore's personal TODO list

For people working on the C++ code.
red-001
Member
 
Posts: 205
Joined: Tue Jan 26, 2016 20:15
GitHub: red-001
IRC: red-001

Re: Nore's personal TODO list

by red-001 » Mon Mar 20, 2017 00:10

you can use core.get_mod_storage() to get a copy of the object (it must be run at startup ). You can then use the same functions as http://dev.minetest.net/NodeMetaRef . For an example of how to use CSM + modstorage you can take a look at my chatlog mod
 

User avatar
Wuzzy
Member
 
Posts: 3208
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy

Re: Nore's personal TODO list

by Wuzzy » Mon Mar 20, 2017 01:39

MC clone
Write a MC clone - or at least, a clone of MC 1.0 (…)

I'm working on it, it's called “MineClone 2”:

viewtopic.php?f=50&t=16407

Make trees more interesting

Implement client-side Lua

Those two are now finished.
My creations. I gladly take any bitcoins you have lying around: 17fsUywHxeMHKG41UFfu34F1rAxZcrVoqH
 

sofar
Developer
 
Posts: 1701
Joined: Fri Jan 16, 2015 07:31
GitHub: sofar
IRC: sofar
In-game: sofar

Re: Nore's personal TODO list

by sofar » Mon Mar 20, 2017 05:04

burli wrote:
nrz wrote:The mod storage is now implemented in CSM and SSM :)

Great. Do you have examples somewhere? The doc is a bit thin


That's because it's fairly simple. The storage ref works just like a node meta:

local ref = minetest.get_mod_storage()

then later you can use

ref:set_int("foo", 345)
str = ref:get_string("doodles")

etc.
 

User avatar
burli
Member
 
Posts: 1608
Joined: Fri Apr 10, 2015 13:18
 

User avatar
Gael de Sailly
Member
 
Posts: 644
Joined: Sun Jan 26, 2014 17:01
Location: Lyon, France
GitHub: Gael-de-Sailly
IRC: Gael-de-Sailly
In-game: Gael-de-Sailly

Re: Nore's personal TODO list

by Gael de Sailly » Tue Mar 27, 2018 23:01

Nore wrote:
  • Write (yet another) mapgen
    The objective is to write a mapgen (loosely) based on this article: Polygonal map generation for games, which is a very different way of creating a maps, that seems to give excellent results.

Nore wrote:
qwertymine3 wrote:Nore, have you seen the polyworld module for Terasology?
https://github.com/Terasology/PolyWorld

Yes, already did... I also made my own code, that is still a WIP demo in Python though, and that produces 2D maps and not Minetest ones.

This is definitely something I would love to see in Minetest. Are you still working on it?
Contributor of Minetest and OpenStreetMap, on Ubuntu 16.04. ~ ~ ~ Meet me on MinetestForFun, VanessaE's Basic, Capture the Flag and Inside the Box.
 

Previous

Return to Partly official engine development



Who is online

Users browsing this forum: No registered users and 2 guests