Java-Gaming.org Hi !
Featured games (81)
games approved by the League of Dukes
Games in Showcase (513)
Games in Android Showcase (119)
games submitted by our members
Games in WIP (577)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: 1 ... 7 8 [9] 10
 81 
 on: 2014-10-22 12:32:04 
Started by P0jahn - Last post by LostWarrior
Seiya02: I will look into that. Although I dont understand much from LWJGL. Where do I set which texture to render?

You have to bind the right texture to OpenGL with glBindTexture(int textureID).

 82 
 on: 2014-10-22 12:20:22 
Started by Jacob Pickens - Last post by SHC
First dream about your character, then use a pen and put it on paper, try and try and try and try to improve it. Then make a photo of it and edit it, giving it colors (colorizing) and removing transparency. It works for me.

 83 
 on: 2014-10-22 11:03:15 
Started by P0jahn - Last post by P0jahn
I am not talking about culling. And the camera is moving.

Seiya02: I will look into that. Although I dont understand much from LWJGL. Where do I set which texture to render?

 84 
 on: 2014-10-22 10:06:47 
Started by ABOODYFJ - Last post by The_FrosTy_Clan
Are you going to add blocks and a survival/creative clone, Sort of like minecraft

Could i also try to help out on this?

Also a crash report:http://pastebin.com/TPqUzHLf

 85 
 on: 2014-10-22 10:05:29 
Started by kevglass - Last post by The_FrosTy_Clan
Also, On mission 3, I didn't play 1 or 2 but, I think mission 3 you can't beat, I cant find the portal to get back to the world

 86 
 on: 2014-10-22 09:52:16 
Started by kevglass - Last post by The_FrosTy_Clan
Where is the new updated version of this game?

 87 
 on: 2014-10-22 09:48:12 
Started by P0jahn - Last post by Gibbo3771
Fustrum culling.  Render only what the camera sees.

Our just create a texture region from it if the cam does not move.

 88 
 on: 2014-10-22 09:09:05 
Started by stuart6854 - Last post by stuart6854
It is from some code mike posted that generates terrain. I like how it the color would gradually go up/down so i was taking look and found that snippet.

I understand bitshifting a little bit.

Here: http://www.java-gaming.org/topics/what-i-did-today/33622/msg/327009/view/topicseen.html#msg327003

(Snippet comes from "MapTest.java")

 89 
 on: 2014-10-22 09:04:38 
Started by stuart6854 - Last post by huchevsky
Just show us the place where you found it, because it's just basic Java you need to learn. I guess you don't understand bitwise and bit shift operators - http://docs.oracle.com/javase/tutorial/java/nutsandbolts/op3.html

 90 
 on: 2014-10-22 08:35:11 
Started by stuart6854 - Last post by stuart6854
Please explain what this code does(mainly the 'pixels(i) = ...' parts):

1  
2  
3  
4  
5  
6  
7  
8  
if (height < 0) {
     underWater++;
     pixels[i] = 20 << 16 | 50 << 8 | (height / 2 + 225);
} else if (height < 2945) {
     pixels[i] = 0 << 16 | (100 + height / 19) << 8 | 0;
} else {
    pixels[i] = ((height - 2945) / 19) << 16 | 255 << 8 | ((height - 2945) / 19);
}


Thanks

Pages: 1 ... 7 8 [9] 10
 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

Longarmx (49 views)
2014-10-17 03:59:02

Norakomi (38 views)
2014-10-16 15:22:06

Norakomi (31 views)
2014-10-16 15:20:20

lcass (34 views)
2014-10-15 16:18:58

TehJavaDev (65 views)
2014-10-14 00:39:48

TehJavaDev (65 views)
2014-10-14 00:35:47

TehJavaDev (55 views)
2014-10-14 00:32:37

BurntPizza (72 views)
2014-10-11 23:24:42

BurntPizza (43 views)
2014-10-11 23:10:45

BurntPizza (84 views)
2014-10-11 22:30:10
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06
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!