Powerups | Coding a 2D Game Engine in Java #51

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

In this episode I go over how to code powerups into our Mario game. I talk about how to create the Mushroom and Fire powerups and how to code the Mushroom AI. I also go over how to use Box2D's disabling collision feature to disable specific collisions.


0:00 Intro
0:42 Fixing Rendering Texture Issue
3:22 Spawning Mushrooms
7:43 Creating Mushrooom AI
11:29 Queuing Game Objects Added at Runtime
13:42 Fixing Rigidbody Add Velocity Bug
14:19 Making the Mushroom "Smart"
15:42 Disabling Collisions with Player
17:41 Powering Up the Player
21:15 Spawning Flower Powerups
25:10 Thoughts?

---------------------------------------------------------------------

Here are some books I recommend if you want to learn about game engine development more thoroughly. I do not profit off any of these sales, these are just some books that have helped me out :)

My Recommended Game Engine Books:

My Recommended Beginning Game Programming Books:

My Recommended Java Books:
Рекомендации по теме
Комментарии
Автор

Hi Gabe, great video! I have 2 questions for you.
1) Do you know how to draw dashed lines using OpenGL? I need it for graphical implementations in my Game Engine.
2) At the end of the series will you show how to export games created with the Game Engine?
Thanks for the videos you make for us (The yellow cursor looks great!)

meccraft
Автор

Can you do a video on how to make a particle system and have a emitter as a component that you can choose to be on all the time or to trigger? I’ve been playing around with it but can’t get it to work

jorgengullstrand
Автор

Why doesn't obs catch yours?
I think there might be some wrong settings somewhere
Coz mine one shows as far as I know

LioncatDevStudio
visit shbcf.ru