Java Programming: Let's Build a Zombie Game #3

preview_player
Показать описание

In this tutorial we're integrating key input into the game using acceleration and deceleration values. Make sure the keyPressed methods have a lowercase k and an upper case P

Have fun learning!

Рекомендации по теме
Комментарии
Автор

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!

thxverymuch
Автор

Great tutorial, keep up the good work!

thegavinjackson
Автор

Glad to see this series is still alive ❤

Toti_
Автор

WOAH! You finally are continuing this tut again!

randominternetuser
Автор

Why not use a switch instead of nested if/else?

johndorian
Автор

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

zawsrdtygbhjimokpl
Автор

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.

wufipeng
Автор

Please use raycasting when detecting collisions

fatihcenesiz
Автор

would you please continue this series to the end?

chinmayanand
Автор

I can't control my character. I followed everythng but its not working. plzz helppp.

tngflash
Автор

help my player keep moving to the upperleft corner when i start the game

SpeedDemon
Автор

I have a problem. When I start the game and input a key it doesnt move at all

iohandiaz
Автор

my player doesnt stop moving after i let go of the keys. also I cant find the source code on the website.

cuarentas
Автор

I have a problem that at some point while running KeyInput just stops listening to keys. What could it be?


Great course btw)

matveyregentov
Автор

I'm excited for the next tutorial 💙

jazmhelpablo
Автор

Yeet!! Let's go, we are back at it again bois!

MarSem
Автор

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

arakitayasutomo
Автор

Idk why but I had to manually import KeyAdapter by typing it in at the top

dylanbaldwin
Автор

I'm having thread issues
Console:
at package name*/(Handler.java:8)
at
at
at didn't make that*/)

bendywills
Автор

Probably another person that starts a making a game series and leave it at chapter 25 hahaha

GameMovies