VehiclesFashionRecipesBlogsHuntTravelsSportFunHandmadeITEducation
Mini-Games
x

x
zakruti.com » IT - Software » freeCodeCamp.org
Code a 2D Game Engine using Java - Full Course for Beginners

Code a 2D Game Engine using Java - Full Course for Beginners

FBTwitterReddit

video description

Rating: 4.0; Vote: 1
Learn how to program a 2D game engine from scratch using the Java Programming Language. You will use the game engine to create a Super Mario Clone but the engine can be used to create other games as well. - Code: https://github.com/codingminecraft/MarioYoutube/tree/master
Date: 2022-03-14

Comments and reviews: 9


This is honestly one of the best things I have seen online. You rank up there with the Ben Eater videos. You taught me something I can take, and make something of my own with. Most people seem to want something you, or lead you to dead ends due to non functioning code. Or not understanding what they are doing and talking in circles. I can listen to you, like a podcast and literally come back to my computer and know what to do.
You're like the breakfast club of 2d gaming. I woulda said JOe Rogan, but I think he's canceled; smh..
Your code works. For mac, takes a little tweaking. Especially for drawing to the graphics card. Keep creating. Even if you think it is redundant, Series like this need to exist.
Advise for mac users on intelleJ. On the step where you create a String to hold your GLSL file, do a struct instead. Separate the lines exactly as your default glsl. If not, you will have to physically count the spaces after you copy and past the info into the string. Then go into the Shader class, and adjust the length of the Array that is holding the fragment and vertex shader info. .
Keep it up dude..
I think yours is the best video in the series so far.

reply

If you are using a mac. And need to get it to work properly, you will go through his process. But, in the edit configuration settings, you won't see VM options by default. You have to click 'edit configurations' and then from that drop down select, 'Add VM options' to make sure it checked. After that, the option to paste '-XStartOnFirstThread' will be there. paste it in. click apply. click ok. then run the program.
reply

What can i do IT is showing --
Error: 'defaultShader.glsl'-
-Vertex shader compilation failed-
0:1(10): error: GLSL 3.30 is not supported. Supported versions are: 1.10, 1.20, 1.30, and 1.00 ES
Error: 'defaultShader.glsl'-
-Fragment shader compilation failed-
0:1(10): error: GLSL 3.30 is not supported. Supported versions are: 1.10, 1.20, 1.30, and 1.00 ES

reply

Has anyone here who is a noob completed this course if so please share your experience! Surely it took a couple of days so tell us how many days and hours you put into this and what did you learn or what was the learning experience - and i don't want to hear the 3rd degree from anyone else that didn't do the course truthfully and is not a noobie!
reply

ScanKey codes are GREAT if you code like I personally like to (using a lot of arrays and array manipulation). You basically store each key-state in a numbered array and that scan-key-code indexes to whichever key in the array. Works great to handle multiple-key-presses and custom-binding operations.
reply

Note for anyone else who the glsl bit doesnt work for the steps of getting the plugin and making the file are shown in the video in reverse order so get the plugin and then make the file (:
reply

I'm having several issues with Imgui. It seems Jcenter stopped operating in February, which made it impossible to follow the videos made after -Integrating ImGui- :(
reply

Wow... my heart pulse is raising when saw the title of the video.
Let's try to find some free time, then start follow the video :)

reply

guys you are the best ever !!! 24 hours of game engine basics just like that! That's why you are the best!!! Insanely cool!
reply
Add a review, comment






Other channel videos