Java-Gaming.org Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (731)
Games in Android Showcase (217)
games submitted by our members
Games in WIP (799)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Open source cube world projects  (Read 10142 times)
0 Members and 1 Guest are viewing this topic.
Offline Rabrg

Junior Newbie


Exp: 50 years



« Posted 2014-09-08 02:14:25 »

I've been looking for some well designed projects that I can use to learn off of but can't seem to find any decent ones.

Are there any good ones that you guys know of?
Offline Jimmt
« League of Dukes »

JGO Kernel


Medals: 167
Projects: 5
Exp: 6 years



« Reply #1 - Posted 2014-09-08 02:25:58 »

There's this small game called minecraft Grin
Offline BurntPizza

« JGO Bitwise Duke »


Medals: 484
Exp: 7 years



« Reply #2 - Posted 2014-09-08 02:27:33 »

"Well designed"  Tongue

Also not technically open source.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline kpars
« Reply #3 - Posted 2014-09-08 02:34:13 »

There's this small game called minecraft Grin

Minecraft isn't open-source.

There are de-obfuscated versions of the game's code, but to redistribute any versions of it would be illegal regardless of what modifications are made to it.

There wouldn't be anything to learn from its code either way.

- Jev
Offline Jimmt
« League of Dukes »

JGO Kernel


Medals: 167
Projects: 5
Exp: 6 years



« Reply #4 - Posted 2014-09-08 02:42:07 »

There's this small game called minecraft Grin

Minecraft isn't open-source.

There are de-obfuscated versions of the game's code, but to redistribute any versions of it would be illegal regardless of what modifications are made to it.

There wouldn't be anything to learn from its code either way.

- Jev
When you want to "learn off" something having the full source has the same effect as the project being open source. Also what do you mean there would be nothing to learn? If op wants to see how one voxel engine works then minecraft is good to look at.
Offline Longor1996
« Reply #5 - Posted 2014-09-08 10:06:40 »

The Spout-Project (Or Flow-Project), ArdorCraft, and many more: http://www.reddit.com/r/voxelgamedev

Offline kappa
« League of Dukes »

JGO Kernel


Medals: 117
Projects: 15


★★★★★


« Reply #6 - Posted 2014-09-08 10:21:47 »

Terasology is a nice open source clone.

If you are looking to learn then the best way would be to start from scratch rather than learning from an already complex code base. Learn to draw a simple opengl textured cube. Thereafter its mostly just about implementing voxel optimisations to allow you to draw lots of them. There are plenty of tutorials covering such techniques.
Offline gouessej
« Reply #7 - Posted 2014-09-08 13:48:59 »

Why not using ArdorCraft?
You can find a working example here.



Julien Gouesse | Personal blog | Website | Jogamp
Offline Gibbo3771

JGO Kernel


Medals: 128
Projects: 5
Exp: 1 year


Currently inactive on forums :(


« Reply #8 - Posted 2014-09-08 14:58:22 »

When you want to "learn off" something having the full source has the same effect as the project being open source. Also what do you mean there would be nothing to learn? If op wants to see how one voxel engine works then minecraft is good to look at.

Now yes, couple of years ago no.

No idea how minecraft looks now in terms of code but years ago it was quite "spaghetti" like, but Mojang has been working on refactoring the code for quite a while now and make it easier to access certain aspects of the game for user friendly modding. Before it relied on (don't quote me) on mod loader using reflection to essentially get access to hidden methods and fields that were necessary for certain mods to work.

The particular part of the code that I really could not make ends with was the chunk generator code, lots of math in that..lol.

"This code works flawlessly first time and exactly how I wanted it"
Said no programmer ever
Offline Springrbua
« Reply #9 - Posted 2014-09-08 16:04:45 »

Even if they did, it is really hard to learn from "completed code" and even harder, if it is such a big game. It would take weeks or even month to find and understand the parts, even if the code is clean. 
I think it would be a lot easier to read a few tutorials, which often contain some code parts, and then try those things out. 

Anyways: In the Libgdx Tests, there is a VoxelEngine (https://github.com/libgdx/libgdx/tree/master/tests/gdx-tests/src/com/badlogic/gdx/tests/g3d)
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline gouessej
« Reply #10 - Posted 2014-09-09 10:49:36 »

Even if they did, it is really hard to learn from "completed code" and even harder, if it is such a big game. It would take weeks or even month to find and understand the parts, even if the code is clean. 
The ancestor of my main game (written by Vincent Stahl) is composed of 4 classes, I took me several weeks to understand it a bit and the source code is quite dirty. I admit that understanding a completed code can be very hard for a beginner. That's why I suggest to use ArdorCraft. There are 3 working examples in ArdorCraftAPITest, a very basic example, an intermediate example and the most complete example, it allows to understand the concepts step by step. Those examples are designed for learning purposes. Terasology is a lot better and richer than ArdorCraftAPITest but in my humble opinion, it seems to be harder to understand.

I think it would be a lot easier to read a few tutorials, which often contain some code parts, and then try those things out. 

Anyways: In the Libgdx Tests, there is a VoxelEngine (https://github.com/libgdx/libgdx/tree/master/tests/gdx-tests/src/com/badlogic/gdx/tests/g3d)
Thank you, it's an excellent example.

Julien Gouesse | Personal blog | Website | Jogamp
Offline Rabrg

Junior Newbie


Exp: 50 years



« Reply #11 - Posted 2014-09-10 03:12:55 »

Minecraft won't do me much, I'm pretty new to the LWJGL scene in general so I don't think I'd be able to learn too much with the deobfuscated code.

Some great tutorials here about how to render blocks/chunks would also help me a lot.
Offline Longor1996
« Reply #12 - Posted 2014-09-10 12:37:50 »

I really should go and write a tutorial for voxel-engine's.
Having ~4 years knowledge of how voxel-engine's work, this could be a really good idea.
Too bad I don't know how to start with writing a tutorial.

Have a nice day.

- Longor1996

Offline gouessej
« Reply #13 - Posted 2014-09-10 13:52:17 »

Minecraft won't do me much, I'm pretty new to the LWJGL scene in general so I don't think I'd be able to learn too much with the deobfuscated code.

Some great tutorials here about how to render blocks/chunks would also help me a lot.
You asked a question about higher level wrappers above OpenGL last month, why don't you give a try to the voxel engine based on LibGDX or ArdorCraft (based on JogAmp's Ardor3D Continuation)?

Julien Gouesse | Personal blog | Website | Jogamp
Offline Rabrg

Junior Newbie


Exp: 50 years



« Reply #14 - Posted 2014-09-11 03:13:01 »

Minecraft won't do me much, I'm pretty new to the LWJGL scene in general so I don't think I'd be able to learn too much with the deobfuscated code.

Some great tutorials here about how to render blocks/chunks would also help me a lot.
You asked a question about higher level wrappers above OpenGL last month, why don't you give a try to the voxel engine based on LibGDX or ArdorCraft (based on JogAmp's Ardor3D Continuation)?
I'd do that if I was just interested in making a voxel game, but I'm really just interested in OpenGL and how it works. I'm just creating a voxel engine as a way to learn it as I also have an interest in them.
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 
Archive (341 views)
2017-04-27 17:45:51

buddyBro (538 views)
2017-04-05 03:38:00

CopyableCougar4 (989 views)
2017-03-24 15:39:42

theagentd (1020 views)
2017-03-24 15:32:08

Rule (995 views)
2017-03-19 12:43:22

Rule (978 views)
2017-03-19 12:42:17

Rule (975 views)
2017-03-19 12:36:21

theagentd (1078 views)
2017-03-16 05:07:07

theagentd (997 views)
2017-03-15 22:37:06

theagentd (771 views)
2017-03-15 22:32:18
List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05

SF/X Libraries
by SkyAphid
2017-03-02 06:38:56

SF/X Libraries
by SkyAphid
2017-03-02 06:38:32

SF/X Libraries
by SkyAphid
2017-03-02 06:38:05

SF/X Libraries
by SkyAphid
2017-03-02 06:37:51
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!