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.
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.
how do you make eclipse automatically update the code like you call "live coding"? whenever I try it doesn't work, though what does work is I press debug again, but then it creates a new window AND changes the old one
3- The clipping code seems someway odd. You checked Z and X, but didnt checked Y. the texture var also have to be adjusted 30 for left, 40 for right (didnt work for this).
2- This is a little bug more than failure, but your mouse rotation is 1 tick delayed. Your controller use MouseSpeed of the last tick, and your render.logic set the actual MouseSpeed for the next ticks. Im not sure if something else is missed on the way.
Hello, big video as always. But, to be sincere, i have to point some critical failures in your code:
1- Your walls and floor are still out of sincrony. That "magical" number only make you beleive you are doing it right. To probe it, make walls the same texture again. If you see it, the first pixel is white, the other 7 pixel have gradient. Now look the floor, the walls are COVERING the white line of the floor texture.
That means, in your code, the walls are 1/8 of texture moved on Z.
@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. :)
phew, i barely dodged that sneeze of death! i could have had my eardrums explode!
Day13May 5 days ago
9:38 WAHPOOA!
makerzminecraft739 1 month ago in playlist 3D Game Programming in Java
Very good job on this video sir, wen does next part come?
iTzLaG 1 month ago
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();}}}
stygiostergmail 1 month ago
@stygiostergmail what robot?
Williaml9518 3 weeks ago
@Williaml9518
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.
stygiostergmail 2 weeks ago
for an express episode you should do the prone action, i did it in about 2 minutes :D
MrPixelatedCoder 1 month ago in playlist 3D Game Programming in Java
Loving these Tuts, very usfull :D
twichnitr0 1 month ago in playlist 3D Game Programming in Java
209 likes and 0 dislikes, congratulations!
TheCodingUniverse 1 month ago 2
@TheCodingUniverse you are wrong my good friend (lol accent) it is 253 likes and 0 dislikes!
Day13May 4 days ago
Yey i gave like nr 200 :P
kenty953 1 month ago
@TH3CHERNO, I have a few requests;
1: Main Menu and inGame Menu (you probably get annoyed with all the people which say this, so sorry :D
2:A way to update the game without extracting everything again.
3:Enemies (Maybe later when the walls are out of the way.
Loving the videos, i started on your vids but then got busy so i went through about 19 of your tut's in the last day XD. Thanks
MrPixelatedCoder 1 month ago in playlist 3D Game Programming in Java
@MrPixelatedCoder Try it yourself.
Radnyxerr 3 weeks ago
im not subscribed but im gana hit that like & subscribe button and start watching all ur episodes in order to catch up :P
Houmaboss 1 month ago in playlist More videos from TH3CHERNO
@keewww Ok thanks I think when I do more complex games I'll get her to do them
UltraDrago2000 1 month ago
My debug doesnt work... im here from episode 7 :(
CydexaN 1 month ago
@TH3CHERNO so my cousins in graphic design, could she make textures for me?
UltraDrago2000 1 month ago
@UltraDrago2000 maybe you should try it your own untill you think its good
keewww 1 month ago
I think I'll watch all of these one day then do them once a day until I'm done my game
UltraDrago2000 1 month ago
@UltraDrago2000 you mene hes game that you did take the codes from
keewww 1 month ago
Erm.. Yan.. I, you know, okay I'll just say it, I didn't do my homework :(
TheCodingUniverse 1 month ago
how do you make eclipse automatically update the code like you call "live coding"? whenever I try it doesn't work, though what does work is I press debug again, but then it creates a new window AND changes the old one
meeees4 1 month ago
@meeees4 Do CTRL+SHIFT+S
sigavus 1 month ago
@sigavus :/ thats not working for me, do I need to enable it somewhere??
meeees4 1 month ago
@meeees4 No, you shouldn't have to enable it anywhere... Are you on Windows ?
sigavus 1 month ago
@meeees4 did you save the code before updating debug?? netbeans7 now need the code to be saved first >_<
jbcortes83 1 month ago
*looks at description*
*clicks like button*
efrD33Jay 1 month ago 10
Great tutorial! And Why can't we find Sugarcane dang it!
-Elias
RCPlaneFlyer16 1 month ago
Thanks for making these videos!
I just started I'm on episode 7 but they are still great.
vaironxxrd 1 month ago
130 Likes! You should release it WHEN you get the amount of likes!!!
TheChillerCraft 1 month ago
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?
MrSporeGamer 1 month ago 12
Thumbs up if you're contributing to the 200 likes :)
TheCodingUniverse 1 month ago
@TH3CHERNO My textures are X: 7 Y: 8 Can you help me fix it? I tried but couldn't get it
daymond12345 1 month ago
3- The clipping code seems someway odd. You checked Z and X, but didnt checked Y. the texture var also have to be adjusted 30 for left, 40 for right (didnt work for this).
jbcortes83 1 month ago
2- This is a little bug more than failure, but your mouse rotation is 1 tick delayed. Your controller use MouseSpeed of the last tick, and your render.logic set the actual MouseSpeed for the next ticks. Im not sure if something else is missed on the way.
jbcortes83 1 month ago
Hello, big video as always. But, to be sincere, i have to point some critical failures in your code:
1- Your walls and floor are still out of sincrony. That "magical" number only make you beleive you are doing it right. To probe it, make walls the same texture again. If you see it, the first pixel is white, the other 7 pixel have gradient. Now look the floor, the walls are COVERING the white line of the floor texture.
That means, in your code, the walls are 1/8 of texture moved on Z.
jbcortes83 1 month ago
amazing vid cherno i luv your vids
MrBlackops195 1 month ago
That blue cube looks tasty :)
TheCodingUniverse 1 month ago in playlist 3D Game Programming in Java
LIKE!
TechMastary 1 month ago in playlist 3D Game Programming in Java
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
7th comment
MinecraftPwners 1 month ago in playlist 3D Game Programming in Java
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
@TH3CHERNO You think you could do Gravity+placing/removing blocks next? :D
chrisall76 1 month ago
Like like hell
MCAlek345 1 month ago
OH YEAH
TheSullyJHF 1 month ago
awesome :)
SOADsongsFAN 1 month ago
6 views! :D
boobies!
Csipike64 1 month ago
3 views! :D
boobies!
ThaNewhacker 1 month ago