Java OpenGL 2D Game Tutorial - Episode 7 - Mouse Input

preview_player
Показать описание
This video is made specially for a subscriber that needs help before Friday. I was going to cover this later, but we can easily cover it now.
Don't forget to like, comment, and subscribe for more videos. Thanks for watching!
Рекомендации по теме
Комментарии
Автор

Idk if you included this but you need window.addMouseListener(new mouseInput()); in your Renderer class

ArachnidAbby
Автор

Not sure if/where he addresses the requestFocus issue, but for anyone who's looking to fix it now - I got it to work simply by moving the requestFocus method to right after creating the window. Ie, before you add the listeners to the window.

ann-marieshaltes
Автор

Look at the console xD ... 666 / 391 ...

lordciciu
welcome to shbcf.ru