Episode 21 - Texturing Walls, Fixing Clipping, and Fixing the Mouse :: 3D Game Programming in Java
Uploader Comments (TH3CHERNO)
Top Comments
-
regarding level making: i saw i notches prelude of the chambered timelapse, he made levelmaps using rbg values. think you can do something like that?
-
*looks at description*
*clicks like button*
All Comments (48)
-
The code in my last post is considered a robot. because, it actually moves the mouse pointer to a spot anywhere on the screen, even outside the jframe window. When I use this method... it actually moves the mouse back across the screen to the right.. which causes the game view to move back to the right.
-
@MrPixelatedCoder Try it yourself.
-
@stygiostergmail what robot?
-
9:38 WAHPOOA!
-
Very good job on this video sir, wen does next part come?
-
The videos are awesome. I hope I'm learning a lot. Thanks! Does anyone have anything good for the mouse look. The robot option doesn't seem to work well. This is what I have for moving to the left. I stopped here because there must be a better way.
public void mouseMoved(MouseEvent e) {
MouseX = (int) e.getX();MouseY = (int) e.getY();
if(MouseX <= 100) {try {Robot robot = new Robot(); robot.mouseMove(Display.WIDTH/
2, Display.HEIGHT/2); } catch (AWTException f) {f.printStackTrace();}}}
-
for an express episode you should do the prone action, i did it in about 2 minutes :D
-
Loving these Tuts, very usfull :D
-
209 likes and 0 dislikes, congratulations!
-
Yey i gave like nr 200 :P
Instead of MouseSpeed *= -1 you should do MouseSpeed = -MouseSpeed
It's a lot less cpu intensive as the second line of code only changes a single bit whereas your line of code does so much more when it's not needed.
Love your stuff, Andy
karrotsrkool 1 month ago
@karrotsrkool That's a good point; I didn't of that at the time. I guess I just wanted to clearly show the process of converting a positive into a negative (or vice versa), i.e. multiplying it my -1. :)
TH3CHERNO 1 month ago
Great vid's dude, when you sneezed by ears were RIP via HeadPhones lol
ismailzd 1 month ago in playlist 3D Game Programming in Java
@ismailzd Hey, I did warn you with that annotation... :)
TH3CHERNO 1 month ago 5