Java Game Programming 25 - Progression (New Channel!)

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

Episode 25! We're now 1/4 of the way to 100! In this episode we finish up our enemies pathfinding abilities so that we have fully functional enemy movement!
Рекомендации по теме
Комментарии
Автор

Yeah i hope you don't stop! I'm really planning to watch all of this and learn it and i loveeee tower defense games so this will be good, please don't stop xD you should also make a 3D or 2.5D game of tower defese, or maybe even something like space invaders!

UnchartedSpace
Автор

I hope you don't stop Java because you're better than my teacher lol

EnergizedGamingGuy
Автор

LOL@ "this drawing is so bad guys, you should probably just not look..." but seriously best java game tutorial ever - very easy to understand.  I scoffed at using java to learn games in favor of Unity and C++ - but Unity is too abstract (I need to understand what's going on behind the scenes for it to "click" ) and tutorials on C++ are slim and vague.  Can't wait to continue...hope you get into parallax scrolling, sprites and simple 3D..  Keep up the great teaching!

badwlf
Автор

Loving this series.. i have programming experience, and find this superb. the descriptions are brill, and the speed is great, and when i sort out a decent comptuer i gonna make mysefl a game, Keep up the great work. will be folloiwing your next shows with interest..

I would like to ask why you have to pre program the route.. your initial code detected when a tile changed, why could you not just have the enemy change direction then, and move until a tile change again..

that way you would not have to put the IF counter = 20 stop statment, you can just stop the game anyway. Also you would not need so much programming.

just a question.. (ps never played the tower defence so not sure how it plays) But if you created this so players could change tiles, it would have to run the detectroute again to determine a new route. the other way would have been easier in my mind. unless im missing something..

Cheers
keith

applebyfilms
Автор

im getting a weird error that completely freezes the game and causes eclipse to say failed to exit when trying to terminate, but only when the populateCheckpointList is called... method:

private void populateCheckpointList()
{
checkpoints.add(findNextC(startTile, directions = findNextD(startTile)));

int counter = 0;
boolean cont = true;
while(cont)
{
int[] currentD =
if(currentD[0] == 2)
{
cont = false;
}
else
{
checkpoints.add(findNextC(checkpoints.get(counter).getTile(),
directions =
}
counter++;
}
}

sometimes i also get block performed very slowly errors,
im on macosx el capitan 10.11.15,

java version "1.8.0_91"
Java(TM) SE Runtime Environment (build 1.8.0_91-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.91-b14, mixed mode)

JezzaDoesMC
Автор

My enemies dont go forward then turn.. they go diagonally ... -.- If you can help me!

XekoN
Автор


Also eclipse won't suggest any imports from opengl for some reason, and I've checked Assist>Advanced, but everything is checked. I have to dig around on the internet to find the imports. Any idea on what could be happening?

ThatEntityGirl
Автор

great videos but your brackets are killing XD

jubjubjibjub
Автор

PLS HELP MY ENEMY WONT EVEN DETECT WHAT TILE ITS HITTING LIKE THERES NO TILE DETECTION ANYMORE ;(

KluTchEnder
Автор

Anyone wan't to give me the code he has so far but translate it to C++ 2010
lol

trystonkincannon