How to pick blocks in minecraft?
How to pick blocks in minecraft?
Hey experts, i'm progrmming an minecraft like terrain and it looks pretty good so far...(i just have the basic terrain)
But I don't klow how to pick the cursor-pointed block and make some kind of frame around it(or get its position).
Something like this:
PS: Sorry for my bad english, but i'm an german...
But I don't klow how to pick the cursor-pointed block and make some kind of frame around it(or get its position).
Something like this:
PS: Sorry for my bad english, but i'm an german...
///////////////////////////////////////////
My Forum: http://game-home.1x.de/
My Homepage: http://mediadesign.about.lc/
///////////////////////////////////////////
My Forum: http://game-home.1x.de/
My Homepage: http://mediadesign.about.lc/
///////////////////////////////////////////
-
- Posts: 1010
- Joined: Mon Oct 24, 2011 10:03 pm
- Location: 0x45 61 72 74 68 2c 20 69 6e 20 74 68 65 20 73 6f 6c 20 73 79 73 74 65 6d
Re: How to pick blocks in minecraft?
looks like those are minecraft textures, is that a screenshot from minecraft?
"this is not the bottleneck you are looking for"
Re: How to pick blocks in minecraft?
Yes it is, and i don't know how to clone this for my game (how to point on objects and make a frame around it or get its position).
///////////////////////////////////////////
My Forum: http://game-home.1x.de/
My Homepage: http://mediadesign.about.lc/
///////////////////////////////////////////
My Forum: http://game-home.1x.de/
My Homepage: http://mediadesign.about.lc/
///////////////////////////////////////////
-
- Posts: 1215
- Joined: Tue Jan 09, 2007 7:03 pm
- Location: Leuven, Belgium
Re: How to pick blocks in minecraft?
Ever heard of bounding boxes?
Let me ask you something, is this one of your first game programming projects?
Let me ask you something, is this one of your first game programming projects?
Re: How to pick blocks in minecraft?
No , i have made some Games with darkgdk (a very easy game Engine)
For Example i have made an egoshooter and Started Programming my minecraft clone
But it was too slow, so Herr i am:)
I never heard anything of bounding boxes!
For Example i have made an egoshooter and Started Programming my minecraft clone
But it was too slow, so Herr i am:)
I never heard anything of bounding boxes!
///////////////////////////////////////////
My Forum: http://game-home.1x.de/
My Homepage: http://mediadesign.about.lc/
///////////////////////////////////////////
My Forum: http://game-home.1x.de/
My Homepage: http://mediadesign.about.lc/
///////////////////////////////////////////
-
- Posts: 1186
- Joined: Fri Dec 29, 2006 12:04 am
Re: How to pick blocks in minecraft?
Then i really suggest to start with something easier, like a Pong or Tetris clone. Making a Minecraft clone requires a lot of experience in game and 3d programming.
"Whoops..."
-
- Posts: 1215
- Joined: Tue Jan 09, 2007 7:03 pm
- Location: Leuven, Belgium
Re: How to pick blocks in minecraft?
randomMesh wrote:Then i really suggest to start with something easier, like a Pong or Tetris clone. Making a Minecraft clone requires a lot of experience in game and 3d programming.
Exactly!
I've said this like a million times on these forums, but even though minecraft might look simple, it isn't simple at all
You need very strong knowledge on 3D graphics, general game development, advanced culling mechanisms, sorting algorithms, noise functions, etc.
A minecraft clone is not a good choice for a beginner project, trust me
What's up with all the minecraft clones on here anyway? Seems like we get at least 1 every week
Re: How to pick blocks in minecraft?
They should add a blinking header on the front page "Top 1 Minecraft clone engine", heh
-
- Posts: 1010
- Joined: Mon Oct 24, 2011 10:03 pm
- Location: 0x45 61 72 74 68 2c 20 69 6e 20 74 68 65 20 73 6f 6c 20 73 79 73 74 65 6d
Re: How to pick blocks in minecraft?
804 wrote:Yes it is, and i don't know how to clone this for my game (how to point on objects and make a frame around it or get its position).
ok, never ask these kinds of questions unless you actually have a project to apply it too.....
"this is not the bottleneck you are looking for"
Re: How to pick blocks in minecraft?
But i want to Start with a minecraft clone and not somesthing Boeing like Pong.
So just Tell how to convert the 2D position of the crosshair to the 3Dposition of my Blocks!
Ps: i don't want to make a minecraft clone, it will Be an egoshooter in a minecraft like World
So just Tell how to convert the 2D position of the crosshair to the 3Dposition of my Blocks!
Ps: i don't want to make a minecraft clone, it will Be an egoshooter in a minecraft like World
///////////////////////////////////////////
My Forum: http://game-home.1x.de/
My Homepage: http://mediadesign.about.lc/
///////////////////////////////////////////
My Forum: http://game-home.1x.de/
My Homepage: http://mediadesign.about.lc/
///////////////////////////////////////////
-
- Posts: 1215
- Joined: Tue Jan 09, 2007 7:03 pm
- Location: Leuven, Belgium
Re: How to pick blocks in minecraft?
And I want to build the next killer game on my own with super awesome graphics, gameplay and complete immersion, and it should make me filthy filthy filthy rich. I don't want to bother with simpler games to learn the ropes, because who needs learning anyway right?804 wrote:But i want to Start with a minecraft clone and not somesthing Boeing like Pong.
So just Tell how to convert the 2D position of the crosshair to the 3Dposition of my Blocks!
Ps: i don't want to make a minecraft clone, it will Be an egoshooter in a minecraft like World
You are obviously not ready to deal with a project like this, so if you really want to do this you'll have to learn how by building simpler games first, that's just how it goes and there's absolutely no way around that fact
Re: How to pick blocks in minecraft?
OK, i think you are right!
I will make a pong-game to learn the basics of irrlicht...
I will make a pong-game to learn the basics of irrlicht...
///////////////////////////////////////////
My Forum: http://game-home.1x.de/
My Homepage: http://mediadesign.about.lc/
///////////////////////////////////////////
My Forum: http://game-home.1x.de/
My Homepage: http://mediadesign.about.lc/
///////////////////////////////////////////
Re: How to pick blocks in minecraft?
Pong might not be enough, believe me!804 wrote:OK, i think you are right!
I will make a pong-game to learn the basics of irrlicht...
*Yes I have made pong myself and bigger projects I tried still didn't come to life*
Working on game: Marrbles (Currently stopped).
Re: How to pick blocks in minecraft?
Or maybe somesthing like Mario-card
///////////////////////////////////////////
My Forum: http://game-home.1x.de/
My Homepage: http://mediadesign.about.lc/
///////////////////////////////////////////
My Forum: http://game-home.1x.de/
My Homepage: http://mediadesign.about.lc/
///////////////////////////////////////////
Re: How to pick blocks in minecraft?
But i still don't Know the anser of my First question
///////////////////////////////////////////
My Forum: http://game-home.1x.de/
My Homepage: http://mediadesign.about.lc/
///////////////////////////////////////////
My Forum: http://game-home.1x.de/
My Homepage: http://mediadesign.about.lc/
///////////////////////////////////////////