Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
0 registered members (), 984 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
LucasJoshua, Baklazhan, Hanky27, firatv, wandaluciaia
19053 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 15 of 24 1 2 13 14 15 16 17 23 24
Re: Let's Play Minecraft! [Re: Captain_Kiyaku] #343223
10/04/10 15:30
10/04/10 15:30
Joined: May 2002
Posts: 7,441
ventilator Offline
Senior Expert
ventilator  Offline
Senior Expert

Joined: May 2002
Posts: 7,441
what i meant is that i wouldn't store the voxels in a big array for the whole world but in many separate 16x16x16 arrays with the chunks. at the beginning the world gets filled with a certain amount of chunks around the player and if the player moves more chunks get added dynamically. the landscape gets generated procedurally on the fly (but i don't have a clue about this yet) and if the player changes something then some flag gets set for the chunk. if you want to save the level then only the parameters for the procedural world generation and the chunks with manual changes need to be saved.

Re: Let's Play Minecraft! [Re: ventilator] #343225
10/04/10 15:42
10/04/10 15:42
Joined: Apr 2002
Posts: 4,801
Richmond B.C., Canada
Captain_Kiyaku Offline

Dichotomic
Captain_Kiyaku  Offline

Dichotomic

Joined: Apr 2002
Posts: 4,801
Richmond B.C., Canada
Ahh okay, so you give every chunk its own voxel array which will contain the 16x16x16 blocks of itself. And then i only have to keep track of where a chunk is and access its own voxel array to know what happened when i save or recreate the models (to only render visible faces).

I guess that can work. Then the big chunk array for the manager would only be 4096 times smaller than the whole voxel array which i won't need anymore so i can create a much bigger world.


My Blog

"Tag und Nacht schrei ich mich heiser,
Wind weht alle Worte fort,
Tag und Nacht schrei ich mein Krähenwort!"

Subway To Sally - Krähenkönig
Re: Let's Play Minecraft! [Re: Captain_Kiyaku] #343227
10/04/10 15:48
10/04/10 15:48
Joined: May 2002
Posts: 7,441
ventilator Offline
Senior Expert
ventilator  Offline
Senior Expert

Joined: May 2002
Posts: 7,441
yes, i would try to do it kind of like that. maybe i will also continue my experiments with gamestudio once the next beta with the mesh fixes gets released.

edit:
Originally Posted By: Pappenheimer
BTW, would Ulillillia appreciate this game?
It kinda reminds me to his projects. laugh
i also immediately thought of ulillillia when i first saw minecraft. laugh maybe he wouldn't like some details like the scary monsters though.

Re: Let's Play Minecraft! [Re: ventilator] #343231
10/04/10 16:16
10/04/10 16:16
Joined: Dec 2008
Posts: 271
Saturnus Offline
Member
Saturnus  Offline
Member

Joined: Dec 2008
Posts: 271
Really nice work!
Runs ok on my old laptop (2.2 GHz, 3 GB RAM, GeForce 8600M GT). When adding hills and caves it gets somewhat laggy.

Perhaps you can even implement Minecraft's lighting style? I don't know how to do that, though. According to Notch "it adds no performance penalty per frame, and a small one every time a tile changes". Perhaps it's a bit tricky. laugh

Re: Let's Play Minecraft! [Re: Saturnus] #343232
10/04/10 16:33
10/04/10 16:33
Joined: May 2002
Posts: 7,441
ventilator Offline
Senior Expert
ventilator  Offline
Senior Expert

Joined: May 2002
Posts: 7,441


by the way... i think with the same approach you could very easily do a voxel terrain system like the c4 engine features. you just would have to use something like the marching cubes algorithm instead of simply creating block faces from the voxels.

Re: Let's Play Minecraft! [Re: ventilator] #343241
10/04/10 17:35
10/04/10 17:35
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)


And the Server IP again: 46.4.226.210


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends
Re: Let's Play Minecraft! [Re: Saturnus] #343243
10/04/10 17:56
10/04/10 17:56
Joined: Jan 2007
Posts: 2,247
Deutsch Niedersachsen
Puppeteer Offline
Expert
Puppeteer  Offline
Expert

Joined: Jan 2007
Posts: 2,247
Deutsch Niedersachsen
Originally Posted By: Saturnus
Really nice work!
Runs ok on my old laptop (2.2 GHz, 3 GB RAM, GeForce 8600M GT). When adding hills and caves it gets somewhat laggy.

Perhaps you can even implement Minecraft's lighting style? I don't know how to do that, though. According to Notch "it adds no performance penalty per frame, and a small one every time a tile changes". Perhaps it's a bit tricky. laugh

Its not tricky.
Its very easy. You just have to change the lightning if something in the level changes.
Since the sun shines only in -z direction you can just update the "pillar" were a block was added/removed.
And you just have to update the upper 2 blocks, because all blocks underneath those two are and will stay dark.
EDIT: And i think minecraft only changes the ambient value. Since this is the easiest way of doing that.

Last edited by Puppeteer; 10/04/10 17:57.

Formally known as Omega
Avatar randomness by Quadraxas & Blade
http://omegapuppeteer.mybrute.com
Re: Let's Play Minecraft! [Re: Puppeteer] #343247
10/04/10 18:08
10/04/10 18:08
Joined: Jun 2006
Posts: 2,640
Earth
Germanunkol Offline
Expert
Germanunkol  Offline
Expert

Joined: Jun 2006
Posts: 2,640
Earth
Nice work!
I would change it so that the creating of new blocks is in minecraft-style. I find it very hard to create blocks where I want them with the two things (cube and surface) showing at the same time.


~"I never let school interfere with my education"~
-Mark Twain
Re: Let's Play Minecraft! [Re: Puppeteer] #343248
10/04/10 18:11
10/04/10 18:11
Joined: Aug 2003
Posts: 7,439
Red Dwarf
Michael_Schwarz Offline OP
Senior Expert
Michael_Schwarz  Offline OP
Senior Expert

Joined: Aug 2003
Posts: 7,439
Red Dwarf
less talking and replicating and more Joining the server!

46.4.226.210

!


"Sometimes JCL reminds me of Notch, but more competent" ~ Kiyaku
Re: Let's Play Minecraft! [Re: Michael_Schwarz] #343346
10/05/10 18:22
10/05/10 18:22
Joined: Oct 2004
Posts: 4,134
Netherlands
Joozey Offline
Expert
Joozey  Offline
Expert

Joined: Oct 2004
Posts: 4,134
Netherlands


Click and join the 3dgs irc community!
Room: #3dgs
Page 15 of 24 1 2 13 14 15 16 17 23 24

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1