WorldOfCube

-GkusDNvko8

Thats it :stuck_out_tongue:

This game is hardly in development. It’s taken me some time to get to that point… its almost a year now!
But I think I’ve really got a fun game, you can really almost play…
Although some thinks are turned off in the vid, to make it not that long, which also make developing easier. For example, I am able to break blocks instantly, or I’m able to place blocks wherever I want. which will not be possible in the release version.

One more thing: I am not including a download link right now… But you can be sure, it will come one day :slight_smile:

GIMMIE FEEDBAAACK!!! :smiley:

Also, how do I create these awesome screenshot previews? :confused:
EDIT: Okey, should be “fixed” now… added screens :slight_smile:
EDIT2: Wow … 238 Views in 7 hours… Thats cracy… thanks guys… btw, donwload is coming soon!

Update:

The Epic Command-Line Patcher is available now! (only for linux and windows. And untested on windows :O… sorry for that…)
http://dl.dropbox.com/u/45530199/Games/WorldOfCube/WorldOfCubePatcher.jar
Just execute it from command-line with “java -jar WorldOfcubePatcher.jar”.
I’m sorry for not having a Graphical tool… but this is a provisory Patcher… I’ve written it in the last 2 hours… :smiley:
Have fun trying out… or posting errors…

Update:

I’m happy, to be able to introduce the non-finished but also for some time non-WIP WorldOfCube Patcher.
How to:

  • Download.
  • Start.
  • Click “Download”
  • Wait for him to finish, and say “Start game now.”
  • Click “Play”.

Thats all. I designed it to be as easy as possible.
Download here again: http://dl.dropbox.com/u/45530199/Games/WorldOfCube/WorldOfCubePatcher.jar

Have fun :wink:

Update:

  • Added “Leaves”
  • Added “Treewood”
  • Added tree generation. These trees will grow on all sides of the planet. Just go around, you will find them.
  • “Fixed” a bug, where trees, earth and grass connect wrong to other blocks.
  • Added alot of Debug features, and behind-the-scene things. (Press “G” to get into godmode)

Update:

  • Added Root generation for Trees.
  • Added “Options” Screen, which is totally not useful right now. (blank screen with “Back” button).
  • Added a bunch of more GUI stuff/screens:
    • Change: The menu screen does not show “Play” anymore, the button’s name is “Worlds” now.
    • Added the “Worlds” screen, showing the Created worlds. Lets you create worlds with the “Create World” button
    • Added the “World Creation” screen, where you are able to specify a name and a seed for your world. After creation, you will find yourself in the World itself. It will automaticly start Saving (Currently really slow, takes about a minute, but It saves in another thread anyways…). When going to the Pause menu, it will start Saving too.

That stuff took me some time… I took me suprisingly much time to create the GUI stuff. The GUI-Code took me a bit longer then writing the Load/Save stuff ;D
I also refectored a LOT.

Have fun playing your save- and loadable worlds :wink:
Oh, btw, standard Patcher download: Download the Patcher

Bugfix/Speedpatch/Update:

  • Added a bunch of Loading-Screens.
  • Added caching to world-loading and world-saving (see more at my Block (see signature))
  • Fixed bug, when saving game, and loading it again, before having saved.
  • Fixed bug, where dropped blocks disappear after a frame.
  • Fixed more bugs, I don’t remember…

Verry nice! Some friends and I are planning to create the same type of game, but a bit diffrent ;).

Have fun programming you’re game and good luck!

Mhmm… you’re lucky :smiley: I had to create this on my own :confused:

That is pretty awesome! Terraria comes instantly into my mind :stuck_out_tongue:

  1. questions!

How do you render this? Do you simply for-loop through every block on the screen and call it’s draw-method?

Oh and how do you do the shadow? Is it simply a “black overlay”?

If you dont want to answer those questions I understand ;D

Hope to see more in the future.

That’s a very impressive video! Keep up the good job!

  1. Thats easy: if you ever built up a tile-based game: Just for loop through all visible tiles. That means: Start at world position and end at world position + window size :slight_smile:

  2. Easy too: (lighting itself is hard tho…) I use the abilities opengl gives me with interpolation between colors. I just give the “edges” of every Block a specific light value :slight_smile: how to calculate that value is MUCH harder to explain… I went through some problems…

And since this is kind of a Terraria clone, I’ts just perfect to make you remember Terraira :slight_smile:
But: I’ve kind of got a lot of respect of Terraria’s lighting system. It was really awesome, and really just… wow… And now look at Starbounds realtime raycasting lighting!!! they’re cracy :smiley:

Thanks :D, That will happen :slight_smile:
I still wonder, how to set the preview-screenshot of this thread?

Thank you very much for the insight!

Yeah, I just thought there would be a better way of doing this, since this sounds so simple.
Also when I do this with 16x16 tiles on a 800x600 screen my FPS drop from 8000 to around 1000, and that without any logic. I know 1000 FPS is still a whole lot but then again… my PC isn’t too shabby, I wonder how fast it would run on worse computers. I guess I’m just worrying a bit too much about performance :stuck_out_tongue:

i assume you just post a picture in your very first post and the thread grabs the first one and sets it as the preview picture.

Thank you, that worked :slight_smile:

That totally depends on how you draw them. The strongest bottleneck was the Texture-switching. Minecraft avoids this with Display lists, I avoid this with a little class… I thought about Display Lists too, cause I like em. But support for them was dropped so… hehe :smiley:

Also, don’t worry about 1000 FPS…
8k FPS means: for every update your game needs 1/8 MILLISECONDS.
1k FPS means: for every update your game needs 1 Millisecond.
even when you need 8 times as much for every frame, due to other updates you still get up to 120FPS, just like me :slight_smile: (8 ms for every update)

It would be cool if you had some sort of leveling system that would allow you perks. Also I think you should have to go and find those torches underground first…

So far though, pretty good work, well done.

That leveling idea is really good… Yeah, thank you :slight_smile:

About that torches: These are “lightstones”. And this is the “developer” version. I’m kida gooood :DDD I’m able to build everything without losing blocks. These lightstones will be available on other planets. Yes you will be able to travel to other planets.

To light your own starting planet, you need to craft torches… but these aren’t “drawn” or implemented yet…

And thank you once again :smiley:

Wait wait wait wait… you use the torches to see underground… hence you… must find them first underground? Does not compute… FATAL ERROR

xD as I said: you will have Torches, you can craft on the surface :stuck_out_tongue:

These will not look like these Lightstones, shown in the video
These Lightstones will be available on other planets.
And Torches aren’t available yet.

Crystalclear?

So I noticed that when you broke a light stone, the regular stone was still behind it. Are you storing all of the light stone on a different layer? Also, cool game!

I just have 2 Layers of Blocks, a front layer and a back layer. In the video I build lightstone on the front layer. Else the light wouldn’t light up the world, if a block from the front layer is in front of it. But thats another story.

The stone you see behind is the back layer.
Or maybe you saw me taking stone and just putting it onto the light in the front layer. That means I just replaced the lightstone with stone :slight_smile: I think thats what you saw. (That won’t be possible in later versions)

Nice ! I’m waiting for a playable demo now :wink:

Shouldn’t take too long for that one.

This is awesome! I love Terraria so obviously this too :smiley: Can you explain a bit your map generation? Once I made some random map generation for a game like this but it was very simple and I don’t liked it at all xD And what about the caves, can you explain that too? :smiley: Thank you and keep working! :slight_smile:

That map generation is really unique i think… Cause I’m creating a planet… :smiley:

For the caves: thats easy (with some little extras): Cellular Automata (sounds kinda strange… tomato … :D)

I tried to implement this but never got it working xD I love random generation really!<3 But it’s a bit hard to get it working and make it look good. When I become more experienced I’ll try again! xD

You just hit the site, I got everything from. I’ts easy :slight_smile: