Questions tagged [block-world]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
41 views

How to optimize rendering in a block game in Unity

I'm trying to developing a simple cube game (minecraft-like, without voxel). Player can instantiate Cube 1x1x1 in the world. Cube have different texture max size 512x512. When Camera look at some &...
stighy's user avatar
  • 397
0 votes
0 answers
61 views

Rendering efficiency for retro 2d grid chipset games. Draw by texture, or by row col?

This was the closest question on found here: Help with a Fast 2D Grid-Based world rendering technique I'm doing a basic 2d grid where each box is filled with a texture pulled from a chipset. I'm ...
Seph Reed's user avatar
  • 225
2 votes
1 answer
509 views

How can I make an OpenGl/GLSL varying vary throughout a quad instead of a triangle in OpenGl 3.3?

I am, like many others, currently working on a block-based game in C++ and OpenGl. Recently, I added ambient occlusion support. This ambient occlusion is created by modulating the brightness of a ...
john01dav's user avatar
  • 239
0 votes
1 answer
346 views

Destroy chunked block like Minecraft

I am trying to do a Minecraft-like game (like every one have already tried I guess) and i went across the problem i expected: lag with world Generation. I did lot of searching but i can I tried to ...
Samuel Fyckes's user avatar
1 vote
1 answer
498 views

Scene building for procedurally generated tile based world in Unity

i'm making a procedurally generated side-scrolling and destructible tile based world. So far I've got : - the values generator (for deciding which tile to place where) - a testing scene generating ...
madks13's user avatar
  • 11
1 vote
1 answer
538 views

Voxel blocks world physic

I'm making a game like Minecraft. I have a world made of blocks and I'm trying to implement a basic physic system that applies gravity and checks entities colliding with the blocks of the world. I ...
loryruta's user avatar
-1 votes
2 answers
1k views

Implementing a lego-like system that doesn't hog computer resources?

I've heard of the term "voxel" used with modern block-builder games such as minecraft. Other games implement what appears to be a voxel system -- yet they incorporate complex 3d objects such as guns, ...
Pipsqweek's user avatar
  • 173
1 vote
1 answer
575 views

How to optimize a cubes made world game? [duplicate]

I'm making a cube-world-game like Minecraft. And to render it I've splitted it in 16x16x16 blocks regions (also known as chunks in mc) and then, on rendering, I take all the chunks in the rendering ...
loryruta's user avatar
1 vote
1 answer
269 views

2d block based game storing water simulation

I am making a 2d block based sandbox game like terraria. I'm trying to think where is the better place to store water in, data structure wise. That is, to store it in the block world array, or to ...
Fruatis's user avatar
  • 11
1 vote
2 answers
292 views

Voxel Engine in XNA - Block as Class Renders, Block as Struct Doesn't

Edit: I almost forgot to mention - when I place NEW blocks they render, but nothing triggers the originals to render (I have a button assigned to recalculate/redraw for every block surrounding (and ...
Yushatak's user avatar
  • 233
2 votes
1 answer
195 views

Should I bother merging faces in my 3D block-based game?

Okay, so I have a bunch of cubes in a 3d-world. I already implemented face culling, so that when a cube is next to another cube, their touching faces won't be drawn, or even sent to the buffer. ...
Chiri Vulpes's user avatar
1 vote
1 answer
235 views

How to find the 3D object the camera is pointed at

I'm currently developing a 3-dimensional game (the first I've ever done and it's not as hard as I thought it would be!), but I've run into a little bit of a snag. I want to find the current block the ...
Chiri Vulpes's user avatar
0 votes
1 answer
371 views

Only render/calculate the chunks in frustum!

I have a 2D world in form of a Block[][]-Array that holds all the blocks of the world. Every block has it's own Box2D Body (I want a "minecraft"-like 2D world for this project). Naturally I don't want ...
Ohuro's user avatar
  • 1
0 votes
1 answer
1k views

How can I generate natural-looking tree leaves in a Minecraft-like world?

I'm moving from working on 3D block-world terrain to more specific features like tree leaves and ore veins (the ore veins will likely be done with my existing Perlin noise for the terrain). One thing ...
BotskoNet's user avatar
  • 919
5 votes
2 answers
2k views

How do I avoid 3D AABB collision response getting stuck at block edges?

I want the player to be able to slide along cubes, but without getting caught at the seam between 2 adjacent cubes. I've gotten it so that I can do x collision, with sliding, and y, and z, but I can'...
Levi H's user avatar
  • 611