Java Video Tutorial 52

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

In this part of my Java video tutorial, I create the spaceship object and a keyboard listener. I will use the keyboard listener to move the ship around the screen.

It is so easy to randomly add objects to the game we started making here Make a Java Video Game. I slowed things down a bit here, just to make sure you completely get the process.
Рекомендации по теме
Комментарии
Автор

Thanks once again Derek. Your tutorials are such a great help and a joy to watch.

arthurmee
Автор

Awesome video! Oddly enough, explaining how the ship was built help me better understand how the rocks were built and moved! Maybe because the ship, at this point, is essentially a much simpler rock? Thank you again!

SilentSonance
Автор

Thanks for the tutorial. I like this type of tutorials (fun, like the one for paint). It seems easy to understand but hard to remember how to write the codes.

allinarabic
Автор

Thank you I do my best to make them fun if possible

derekbanas
Автор

I used to feel the same way about math. When I was in school I was only interested in comic books, Atari games and programming. A teacher told me if I added my interest in programming with math I code be a superhero. That sparked an interest in electronics and in no time I was building my own video games, computers from scratch, robots, you name it. When I start covering games soon, I'll show the amazing things you can do with math :)

derekbanas
Автор

I'm going to make a Google Android tutorial so big that it will crush an elephant :) I plan on making one of pretty much every type of app possible. Feel free to make suggestions on what you want to see when that comes out very soon. Thank you for the request

derekbanas
Автор

Would be fun to make a video on the evolution of your final line from video 1 to 52 !
Awesome video again !

MusicalSawMen
Автор

I'm not sure what reaper is referring to? I get questions I don't understand all of the time though

derekbanas
Автор

Socket Programming and some brief on networking please

maxbuzz
Автор

That is definitely coming. Thanks for the request

derekbanas
Автор

Unfortunately, there don't seem to be to many of those in this field of study, we only had one in all 4 com sci classes I've taken so far

reaper
Автор

I'm glad you liked it! Yes I was trying to bring across the idea that everything is a polygon. I can't wait to start making optimized games using OOD and design patterns. You're very welcome :)

derekbanas
Автор

The first stuff always makes me laugh because I'm not very popular :)

derekbanas
Автор

I know you did this whole tutorial on the fly so I'm not exactly sure if you did that on purpose or not. In the rocks class you add in static ArrayList<Rock> rocks = new ArrayList<Rock>(); meaning that every single rock will have a List of all rocks? I don't see how that makes sense in terms of OOP. IIRC things should be seperated to their uses so I premuse in further tutorials you'll have collision detection or smth similar in the rocks class, but shouldn't that be on the GameBoard class? (In a sense of OOP ofc, I know you can code whatever you want etc.) it just seems like a waste to have an Arraylist of rocks in every single rock we create.
EDIT: I just realized, the actual Rocks arraylist is in Gameboard, so the one in Rocks is just a reference. That does make sense :)

BaCcC
Автор

I'm glad you enjoyed it. As you can see by the views above very few people made it this far. I think tutorials should be fun, informative and fast. The best way to learn this stuff is to experiment with your own games and simulations. If my game tutorial gets more votes than my J2EE tutorial you'll see many more videos like this :)

derekbanas
Автор

Derek Banas Do you know the configurations run for intillj.

mohhamedrafi
Автор

A bunch of people do the first thing because they know I think it's funny

derekbanas
Автор

Thanks SawMan :) I've thought of doing something funny, but normally those videos get a bad reaction. We'll see if I can come up with something

derekbanas
Автор

I still haven't received a reply girl comment. That's when I'll know I'm popular :D

derekbanas
Автор

Hey there Derek, For some weird reason I get it to open a blank window. The code is all perfectly written out and I have no errors (including logical errors) Do you know what to do?

NubPaws