Free Course Image How to Make a 2D Game in Java

Free online courseHow to Make a 2D Game in Java

Duration of the online course: 25 hours and 58 minutes

New course

Join this free course to master 2D game development in Java from mechanics to advanced features and release your game on platforms like itch.io.

In this free course, learn about

  • Core Game Loop and Fundamentals
  • World, Tiles, and Camera
  • Collisions and Basic Object Interaction
  • Audio and First Complete Game
  • Rendering Optimization and Visual Polish
  • NPCs, Dialogues, and UI Enhancements
  • Title Screen and Player Vitality
  • Events, Render Order, and Monsters
  • Combat Feedback and Character Progression
  • Stats, Leveling, and Inventory Basics
  • Inventory, Equipment, and Projectiles
  • Mana, Drops, and Environmental Interaction
  • Particles, Display Options, and Configuration
  • Config Persistence and Game Over Handling
  • Trading, Pathfinding, and Knockback
  • Loot, Stackable Items, and Lighting Systems
  • Dynamic Lighting and Time of Day
  • Map Visualization and Advanced Combat
  • Saving, Dialogues, and Bug Fixes
  • Dungeon Design, Puzzles, and Boss Encounters
  • Boss UI, Cutscenes, and Ending
  • Water, Lighting Demos, and Release

Course Description

Embark on an exciting adventure into the world of game development with this comprehensive free online course designed for aspiring developers. Delve into the fascinating mechanics of 2D games using Java, starting from fundamental concepts such as game loops and key inputs. Learn how to create engaging gameplay by mastering sprites and animation, and discover efficient ways to handle resource files using IntelliJ IDEA.

The course provides in-depth exploration of drawing tiles, managing the game world and camera, and implementing collision detection. Gain valuable skills in object placement and interaction, as well as incorporating sound to enrich the gaming experience. Take pride in crafting your first complete game and exploring additional features like tile-based movement and optimized rendering performance.

Enhance your project's visual appeal with pixel art and improve game flow by managing game states and NPC dialogues. The comprehensive curriculum includes lessons on creating a custom font, designing an interactive title screen, and managing player life. Discover the power of events, with practical applications like damage pits, healing pools, and teleport tiles, as well as more advanced mechanics.

Elevate your game development abilities by mastering inventory management, equipping items, and handling projectiles. The course also covers monster mechanics, hit detection, health bars, and character status display. Engage players with scrolling messages, damage calculations, and useful functions.

Explore advanced features such as pathfinding, stackable items, dynamic lighting effects, and day-night cycles. The course even includes lessons on creating a custom tile map editor, advanced combat techniques, and implementing trade systems. Learn how to craft intricate dungeon puzzles and boss battles, complete with cutscenes and a satisfying ending.

Throughout the course, utilize practical demonstrations to fine-tune your skills, including water transparency, torch effects, and gameplay demos. Share your final masterpiece on platforms like itch.io. This comprehensive guide offers everything you need to create captivating 2D games in Java.

Course content

  • Video class: How to Make a 2D Game in Java #1 - The Mechanism of 2D Games 18m
  • Exercise: What is the purpose of using a Thread in 2D game development as explained in the tutorial?
  • Video class: Game Loop and Key Input - How to Make a 2D Game in Java #2 34m
  • Video class: Sprites and Animation - How to Make a 2D Game in Java #3 23m
  • Exercise: What is the purpose of the 'Sprite counter' in the described game development process?
  • Video class: Reading Resource Files (Images) with IntelliJ IDEA 01m
  • Video class: Drawing Tiles - How to Make a 2D Game in Java #4 27m
  • Exercise: How Many Types of Tiles Were Prepared?
  • Video class: World and Camera - How to Make a 2D Game in Java #5 24m
  • Video class: Collision Detection - How to Make a 2D Game in Java #6 26m
  • Video class: Object Placement - How to Make a 2D Game in Java #7 22m
  • Video class: Object Interaction - How to Make a 2D Game in Java #8 23m
  • Exercise: What function does the intersect method serve in this video?
  • Video class: Sound - How to Make a 2D Game in Java #9 17m
  • Video class: The First Game Done (UI) - How to Make a 2D Game in Java #10 34m
  • Exercise: What major update was added to the game?
  • Video class: (Extra) Answering Requests (Tile/Grid Based Movement etc.) - How to Make a 2D Game in Java 10m
  • Video class: Improving Rendering Performance - How to Make a 2D Game in Java #11 21m
  • Exercise: What is a recommended optimization practice for enhancing rendering performance in a 2D game?
  • Video class: New Pixel Art - How to Make a 2D Game in Java #12 18m
  • Video class: Game State - How to Make a 2D Game in Java #13 16m
  • Exercise: What feature was implemented in the first episode of the second half of the game development series?
  • Video class: NPC - How to Make a 2D Game in Java #14 31m
  • Video class: Dialogues - How to Make a 2D Game in Java #15 30m
  • Exercise: What is the 'alpha value' used for in a dialogue window?
  • Video class: Custom Font - How to Make a 2D Game in Java #16 09m
  • Video class: Title Screen ( Extra) - How to Make a 2D Game in Java #17 29m
  • Exercise: What was the main focus of the video tutorial?
  • Video class: Player Life - How to Make a 2D Game in Java #18 12m
  • Video class: Event (Damage Pit, Healing Pool, Teleport Tile) - How to Make a 2D Game in Java #19 17m
  • Exercise: How is an event triggered in the game described?
  • Video class: Event II (Advanced Mechanics) - How to Make a 2D Game in Java #20 16m
  • Video class: Entity ArayList (Render Order Revised) - How to Make a 2D Game in Java #21 16m
  • Exercise: What change was made to improve the render order in the code?
  • Video class: Monster - How to Make a 2D Game in Java #22 30m
  • Video class: Farewell 2021 01m
  • Video class: Hit Detection (and Bug Fix) - How to Make a 2D Game in Java #23 31m
  • Video class: Health Bar 25m
  • Exercise: Which feature was added to the monster's animation in the video?
  • Video class: Character Status - How to Make a 2D Game in Java #25 33m
  • Video class: Scrolling Message, Leveling Up, Damage Calculation - How to Make a 2D Game in Java #26 21m
  • Exercise: How is damage calculated in the battle system?
  • Video class: (Extra) Useful Functions - How to Make a 2D Game in Java 07m
  • Video class: Inventory - How to Make a 2D Game in Java #27 27m
  • Exercise: How many items can a player carry in this game?
  • Video class: Equip 27m
  • Video class: Projectiles - How to Make a 2D Game in Java #29 28m
  • Exercise: What is the newly implemented feature in the tutorial video?
  • Video class: Monster Projectiles and Mana - How to Make a 2D Game in Java #30 22m
  • Video class: Item Drops - How to Make a 2D Game in Java #31 18m
  • Exercise: What is the effect of picking up a bronze coin in the game?
  • Video class: Breaking Objects - How to Make a 2D Game in Java #32 27m
  • Video class: Particles - How to Make a 2D Game in Java #33 24m
  • Exercise: What determines the color of particles?
  • Video class: Full Screen Mode - How to Make a 2D Game in Java #34 18m
  • Video class: Options Menu - How to Make a 2D Game in Java #35 43m
  • Exercise: How does the options menu function in the game?
  • Video class: Saving Config to a Text File - How to Make a 2D Game in Java 12m
  • Video class: Game Over - How to Make a 2D Game in Java #37 16m
  • Exercise: What happens when the player chooses quit on the game over screen?
  • Video class: Transition Between Maps - How to Make a 2D Game in Java #38 34m
  • Video class: Trade System - How to Make a 2D Game in Java #39 47m
  • Exercise: What was the key feature added to introduce a trading system in the game update?
  • Video class: Pathfinding (NPC Follows Player/Aggro Monsters) - How to Make a 2D Game in Java #40 46m
  • Video class: Knockback - How to Make a 2D Game in Java #41 18m
  • Exercise: What feature was added to projectiles in the game update?
  • Video class: Object Detection/Loot - How to Make a 2D Game in Java #42 24m
  • Video class: Stackable Items - How to Make a 2D Game in Java #43 18m
  • Exercise: Which items are made stackable in the inventory system?
  • Video class: Lighting Effect - How to Make a 2D Game in Java #44 24m
  • Video class: Lighting Item - How to Make a 2D Game in Java #45 16m
  • Exercise: What happens when you equip the lantern in the inventory system?
  • Video class: Day and Night Cycle - How to Make a 2D Game in Java #46 23m
  • Video class: Releasing My 2D Tile Map Editor (And How to Use it) 25m
  • Exercise: What is the default map size in the 2D tile editor?
  • Video class: Map Screen and Minimap - How to Make a 2D Game in Java #47 20m
  • Video class: Advanced Combat - How to Make a 2D Game in Java #48 40m
  • Exercise: What main features were improved or added in the video?
  • Video class: Guard and Parry - How to Make a 2D Game in Java #49 26m
  • Video class: Save and Load - How to Make a 2D Game in Java #50 44m
  • Exercise: What was the main focus of the discussed video?
  • Video class: Advanced Dialogues (Page-Flip 37m
  • Video class: Important Bug Fix 15m
  • Exercise: In a game development scenario, what is a fundamental issue when multiple non-stackable items behave as a single object?
  • Video class: Enter the Dungeon - How to Make a 2D Game in Java #52 15m
  • Video class: Dungeon Puzzle/Gimmick - How to Make a 2D Game in Java #53 36m
  • Exercise: What is required to open the special iron door in the dungeon?
  • Video class: Boss - How to Make a 2D Game in Java #54 35m
  • Video class: Boss Health Bar - How to Make a 2D Game in Java #55 15m
  • Exercise: What was the size reduction of the life and mana icons in pixels?
  • Video class: Cutscene - How to Make a 2D Game in Java #56 34m
  • Video class: Ending - How to Make a 2D Game in Java #Final 37m
  • Exercise: In 'The Adventure of the Blue Boy' game series, what is the final task to complete the game as discussed in the last video episode?
  • Video class: Water Transparency and Animation Demo in Java 2D 03m
  • Video class: Torch and Multiple Lights Demo in Java 2D 03m
  • Exercise: What is commonly used to express gratitude in non-verbal communication?
  • Video class: Released My Java 2D Game on itch.io 01m

This free course includes:

25 hours and 58 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 course
Icon representing technology and business courses

Over 5,000 free courses

Programming, English, Digital Marketing and much more! Learn whatever you want, for free.

Calendar icon with target representing study planning

Study plan with AI

Our app's Artificial Intelligence can create a study schedule for the course you choose.

Professional icon representing career and business

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.

QR Code - Download Cursa - Online Courses

More free courses at Game development

Download the App now to have access to + 3300 free courses, exercises, certificates and lots of content without paying anything!

  • 100% free online courses from start to finish

    Thousands of online courses in video, ebooks and audiobooks.

  • More than 48 thousand free exercises

    To test your knowledge during online courses

  • Valid free Digital Certificate with QR Code

    Generated directly from your cell phone's photo gallery and sent to your email

Cursa app on the ebook screen, the video course screen and the course exercises screen, plus the course completion certificate

+ 9 million
students

Free and Valid
Certificate

60 thousand free
exercises

4.8/5 rating in
app stores

Free courses in
video and ebooks