Java Video Tutorial 51

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

Here I continue what I started in Make a Java Video Game. If you haven't seen it, watch it before this video.

I'll now create the GameBoard class that will animate all of my asteroids. I redraw the board using threads. If you are rusty on them, check out my Java Thread Video Tutorial.
Рекомендации по теме
Комментарии
Автор

An Android tutorial is in the works. I'll approach it in the same way I did with Wordpress. By the end, you'll be able to make most any app you can imagine. It is estimated to be about 50 videos long :)

derekbanas
Автор

Thank you :) Many more are coming and I love hearing from people from other countries. Nothing has made me feel more like a citizen of the world than doing this. I thank you all for that blessing

derekbanas
Автор

The compiler is set up to create all of the classes from every file before execution begins. Where the class is defined doesn't matter

derekbanas
Автор

This game tutorial has been the most helpful so far. The earlier tutorials started to drag, pounding memorization of methods and such. This is really showing me how to CREATE, or so to speak. As in, more intuitive. Hard to say precisely, but I feel I am understanding the fundamentals better. Thank you.

QLTEQ
Автор

You're very welcome :) It was very fun to make this. I show 3 different ways to handle collision detection and other random things. I tried to make it feel more like an experiment instead of just route memorization

derekbanas
Автор

It is a method of JFrame which Lesson50 extends. Repaints the specified rectangle of this component within time milliseconds.

derekbanas
Автор

Yes I will cover everything. I guarantee by the time I'm done it will be the most complete Android tutorial ever made :)

derekbanas
Автор

Yes I noticed that while I was making it. It takes me 3 times as long to edit videos as it does to make them

derekbanas
Автор

I'll definitely introduce Parallel Java

derekbanas
Автор

A quicker way to import libraries is you can press:
Command+Shift+O
or on a PC
Ctrl+Shift+O
It will import all the libraries you need, not just one

TheDivergable
Автор

Thank you :) I'm glad you made it this far!

derekbanas
Автор

Thank you :) I'm going to do a big psychology video very soon

derekbanas
Автор

Thanks :0 I can do cool stuff after I cover all of the basics

derekbanas
Автор

Hello Derek Could you plz also show us some basic parallel programming... if you can plz thanks

UCBCteam
Автор

Why do you use the paint method, and not paintComponent?  I've been told to never override paint.

Jullix
Автор

I didn't understand where the method repaint() (ln 84) came from. Is it a built in method in JFrame?

TheAnat
Автор

awesom stuff Derek!, would it be possible in future to show us how to do some cool stuff in android with java ? :D

_Garm_
Автор

This is my first time to know the ScheduledThreadPoolExecutor class which can provide more services. It is the very powerful tool.

Lesterffx
Автор

wow that is awesom! im defenetively looking forward to it, thank you :D

_Garm_
Автор

I am getting error
GameDrawingPanel gamePanel = new GameDrawingPanel(); can't move forward.
Can you please include the code in text in description of video?

saleemsoomro