Duration of the online course: 17 hours and 52 minutes
New
Create a complete 2D platformer from scratch while strengthening your Java fundamentals and building practical game development skills. This free online course guides you through the real decisions behind a playable game: how to open a reliable Swing window, capture responsive input, and draw smooth graphics without flicker. You will move beyond isolated snippets and learn how systems fit together to form a game that feels tight, readable, and expandable.
Step by step, you will shape a solid foundation around timing and performance. You will implement a controllable game loop, understand why separating updates from rendering matters, and keep motion consistent across different machines. From there, you will bring the world to life with sprite atlases, animation control, and a player that moves convincingly with gravity, jumping, and robust collision rules that prevent clipping through tiles.
As the project grows, you will learn how to organize code so it stays maintainable: using game states to switch cleanly between gameplay, menus, pause overlays, options, and game over screens. You will also tackle essential game feel features such as scrolling levels, parallax backgrounds, UI buttons with proper visual states, and audio that behaves predictably across screens.
The course rounds out the experience by adding enemies with patrol and attack behavior, interactive objects, traps, cannons, projectiles, health bars, multiple levels, and tools to build your own stages from images. Along the way, you will practice debugging and polishing edge cases such as focus loss, state resets after restart, and consistent collision checks. By the end, you will have a working platformer framework you can extend with new characters, levels, and mechanics—ideal for a portfolio piece or a starting point for your next game.
Master Java for free with our comprehensive online courses. Dive into Java programming, from basics to advanced concepts, at your own pace. Start coding today!
Explore 2 free online courses in 2D Game Development and learn essential techniques to create engaging games. Start your game development journey today!
17 hours and 52 minutes of online video course
Digital certificate of course completion (Free)
Exercises to train your knowledge
100% free, from content to certificate
Ready to get started?Download the app and get started today.
Install the app now
to access the courseOver 5,000 free courses
Programming, English, Digital Marketing and much more! Learn whatever you want, for free.
Study plan with AI
Our app's Artificial Intelligence can create a study schedule for the course you choose.
From zero to professional success
Improve your resume with our free Certificate and then use our Artificial Intelligence to find your dream job.
You can also use the QR Code or the links below.

Free CourseUnity - survival game
11h23m
38 exercises

Free CourseGame Design course
10h16m
38 exercises

Free CourseGame Environment Art
2h37m
7 exercises

Free CourseAndroid - LibGDX - Super Mario Bros
5h08m
22 exercises

Free CourseUnity game development for beginners
7h24m

Free CourseRPG in Unity
2h27m
11 exercises

Free CourseBasic game in Unity
1h39m
11 exercises

Free CourseMultiplayer FPS in Unity
14h06m
24 exercises

Free CourseUnity 3D Game Development Course
11h44m
45 exercises

Free CourseGodot 4.3 2D Top-Down Farming Game Tutorial Series
New
16h57m
25 exercises
Thousands of online courses in video, ebooks and audiobooks.
To test your knowledge during online courses
Generated directly from your cell phone's photo gallery and sent to your email
Download our app via QR Code or the links below::.
+ 10 million
students
Free and Valid
Certificate
60 thousand free
exercises
4.8/5 rating in
app stores
Free courses in
video and ebooks