3D Game Programming – Episode 15 – Textures + More!

3D Game Programming - Episode 15 - Textures + More!

Episode 14: www.youtube.com Welcome to a series of videos where we will create a 3D game (probably a first person shooter) from scratch, using just the included libraries in Java 1.6. If you have any questions or problems, leave a comment or send me a message, or tweet at me. Java API Documentation! docs.oracle.com In this tutorial: How to draw text to the screen How to add textures Tell me if you want more! Twitter: twitter.com Facebook: facebook.com Livestream: www.twitch.tv

This entry was posted in Programming and tagged , , , , . Bookmark the permalink.

13 Responses to 3D Game Programming – Episode 15 – Textures + More!

  1. defektruke says:

    fast gradient pixlr . com/editor

  2. Karlo Miličević says:

    my texture is like yours, but in game they are pink :/

  3. JRefleX93 says:

    Same here… not getting a crash, and the image is being loaded, but I just get a black screen with an FPS counter. Did anyone figure this out?

  4. Lt. hamza says:

    damn it, now the controls had failed :s

  5. Lt. hamza says:

    oOOh it worked never mind :p

  6. Lt. hamza says:

    How did you fixe it I got the same problem and it crashs I don’t know what to do :/ help please !

  7. Lt. hamza says:

    Hi please I need help the referenced libraries doesn’t show up, and on the top of the res folder I get 010 instead of what you get, I’m really so confused about it and I don’t know how to fixe it, do I need to add a file to my eclipse or something please help :s

  8. MrJeff12468 says:

    Lol, I’ve had the fps counter in my corner for ages now 😛

  9. Servineification says:

    could you please show me the source code for the program

  10. Servineification says:

    When i run the display and i go forward and backward i don’t move that way

  11. Changed Powerbot says:

    Apparently my error is on this line: pixels[x + y * width] = Texture.floor.pixels[(xPix & 7) + (yPix & 7) * 8]; Exception in thread “Thread-2″ java.lang.ExceptionInInitializerError at com.changed.military.graphics.Render3D.floor(Render3D.java:45) at com.changed.military.graphics.Screen.render(Screen.java:26) at com.changed.military.Display.render(Display.java:143) at com.changed.military.Display.run(Display.java:110) at java.lang.Thread.run(Unknown Source)

  12. Changed Powerbot says:

    Thats not the problem, I get an NPE thrown. My folder is named “texture” and im trying to access “texture” Even tried accessing the whole link “C:/Users/Ryan/workspace/FPS/res/texture/floor.png”

  13. alexadventures9 says:

    Nevermind it decided to work after a while :/

Leave a Reply