Results 1 to 1 of 1
Thread: In Game Minimap! GL11 Help!
- 10-30-2011, 12:04 PM #1
Member
- Join Date
- Oct 2011
- Posts
- 1
- Rep Power
- 0
In Game Minimap! GL11 Help!
Ok, So I'm making this minimap for this game, It loads all the players on the map, just i want it so as your ingame Yaw increases/decreases it "Spins" I have the center coords of were it should rotate around, But I dont know how I can do any of it!
Heres what I got so far
Also, the map should be 2d! not 3d (Like the game)Java Code:GL11.glPushMatrix(); //start gl11 //GL11.glTranslatef(GuiScreen.width - 100, GuiScreen.height - 100, 0.0F); //translation makes other players dissappear? GL11.glRotatef(mc.thePlayer.rotationYaw, centX, centZ, 1.0f ); // rotates it weirdly? drawRect(xcoord, ycoord, xcoord+2, ycoord+2, 0x99ff0000); GL11.glPopMatrix(); // stop gl11 drawRect(centX + 1 , centZ + 1, centX - 1, centZ - 1, 0x9900ff00); // own player (at center)Last edited by Razzo; 10-30-2011 at 12:13 PM.
Similar Threads
-
Complete Game Engine for beginner and intermediate game programmers
By rdjava in forum Java GamingReplies: 1Last Post: 06-02-2011, 09:29 AM -
Implementing "Game Over" in Minesweeper game based on Gridworld framework.
By JFlash in forum New To JavaReplies: 2Last Post: 08-05-2010, 04:49 AM -
game code for any game
By deathnote202 in forum Java GamingReplies: 4Last Post: 06-10-2010, 08:06 AM -
Help with game
By TGH in forum New To JavaReplies: 26Last Post: 01-12-2010, 02:55 PM -
2D strategy game or 2D war game
By led1433 in forum Java 2DReplies: 5Last Post: 02-10-2009, 06:00 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks