I can't control my character. I followed everythng but its not working. plzz helppp.
@matveyregentov7135 жыл бұрын
I have a problem that at some point while running KeyInput just stops listening to keys. What could it be? Great course btw)
@yayl6615 жыл бұрын
I'm guessing you have a mac cause this usually happens to me, but the fix is that you open Terminal and then write: defaults write -g ApplePressAndHoldEnabled -bool false
@wufipeng23684 жыл бұрын
Funny how you say "nothing else has changed" when you can cleary see line 8 and 9 in game.java are different from the last videos. That threw me off when player movement didn't work as it was supposed to - wasn't getting any error btw. Turns out I forgot one line in the gameloop from video 1 *facepalm* Good thing I instinctively looked in the right place (and video). Found my error within 5 min.
@driesyperman81194 жыл бұрын
Same here, I didn't put "this.requestFocus();" in the beginning of the game loop. Your comment helped me find it. I feel like he doesn't completely understand his own code. But it still is an awesome series.
@thegavinjackson5 жыл бұрын
Great tutorial, keep up the good work!
@zawsrdtygbhjimokpl69984 жыл бұрын
I don't think there's much point in not zooming in. Especially when people use you in a side window, it helps a lot when it's zoomed in so I suggest always doing so
@thxverymuch69625 жыл бұрын
Learning a lot from these tutorials man, always glad to see a new upload and Ive recommended you to friends who want to get into java. Thanks!
@johndorian40785 жыл бұрын
Why not use a switch instead of nested if/else?
@abandoned61435 жыл бұрын
subbed!
@fatihcenesiz95875 жыл бұрын
Please use raycasting when detecting collisions
@bendywills8595 жыл бұрын
I'm having thread issues Console: at com.crossover.main.Handler.tick/*my package name*/(Handler.java:8) at com.crossover.main.Game.tick(Game.java:76) at com.crossover.main.Game.run(Game.java:58) at java.lang.Thread.run(Thread.java:745/*I didn't make that*/)
@SpeedDemon524 жыл бұрын
help my player keep moving to the upperleft corner when i start the game
@cuarentas40523 жыл бұрын
my player doesnt stop moving after i let go of the keys. also I cant find the source code on the website.
@cuarentas40523 жыл бұрын
never mind i figured it out
@roflxd88342 жыл бұрын
@@cuarentas4052 same issue here, how`d u fix it?
@iohandiaz23094 жыл бұрын
I have a problem. When I start the game and input a key it doesnt move at all
@iohandiaz23094 жыл бұрын
Update: I got it to move but it doesnt stop when release the key
@iohandiaz23093 жыл бұрын
@younes ait rahou i just started from zero again and it started to move, i dont know what i did
@dylanbaldwin76424 жыл бұрын
Idk why but I had to manually import KeyAdapter by typing it in at the top
@ripanjatt5 жыл бұрын
Bring the next episode soon buddy❤️❤️
@randominternetuser51235 жыл бұрын
WOAH! You finally are continuing this tut again!
@chinmayanand8965 жыл бұрын
would you please continue this series to the end?
@arakitayasutomo47505 жыл бұрын
Pls pls, tell me. Why do you use 1f for acceleration and 0.5 for deccelaration. I played around with number a bit, lowering it by 0.1. And movement totally gets ruined. Are those 2 the magic numbers? can i use something else instead? I.E to make a slower character
@RealTutsGML5 жыл бұрын
The number must multiply into 1.0 for example 1, 0.5, 0.25, 0.1, etc.
@jazmhelpablo16105 жыл бұрын
I'm excited for the next tutorial 💙
@jazz_cat_65025 жыл бұрын
You should try libgdx
@MarSe32m5 жыл бұрын
Yeet!! Let's go, we are back at it again bois!
5 жыл бұрын
Oh, man he's back...
@GameMovies9995 жыл бұрын
Probably another person that starts a making a game series and leave it at chapter 25 hahaha
@NoxaClimaxX4 жыл бұрын
Let me guess: Sam Parker?
@Toti_1115 жыл бұрын
Glad to see this series is still alive ❤
@lynx_aech57345 жыл бұрын
IT'S BACK!!!!
@raminote57265 жыл бұрын
Yeehaw !
@asimimam22895 жыл бұрын
next time if you make any video of programming please do something of your typing sound no one wants to listen your typing sound please it's just like torture.....