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.

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.

Conteúdo do Curso

  • Video class: How to Make a 2D Game in Java #1 - The Mechanism of 2D Games

    0h18m

  • 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

    0h34m

  • Video class: Sprites and Animation - How to Make a 2D Game in Java #3

    0h23m

  • Exercise: What is the purpose of the 'Sprite counter' in the described game development process?

  • Video class: Reading Resource Files (Images) with IntelliJ IDEA

    0h01m

  • Video class: Drawing Tiles - How to Make a 2D Game in Java #4

    0h27m

  • Exercise: How Many Types of Tiles Were Prepared?

  • Video class: World and Camera - How to Make a 2D Game in Java #5

    0h24m

  • Video class: Collision Detection - How to Make a 2D Game in Java #6

    0h26m

  • Video class: Object Placement - How to Make a 2D Game in Java #7

    0h22m

  • Video class: Object Interaction - How to Make a 2D Game in Java #8

    0h23m

  • Exercise: What function does the intersect method serve in this video?

  • Video class: Sound - How to Make a 2D Game in Java #9

    0h17m

  • Video class: The First Game Done (UI) - How to Make a 2D Game in Java #10

    0h34m

  • 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

    0h10m

  • Video class: Improving Rendering Performance - How to Make a 2D Game in Java #11

    0h21m

  • 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

    0h18m

  • Video class: Game State - How to Make a 2D Game in Java #13

    0h16m

  • 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

    0h31m

  • Video class: Dialogues - How to Make a 2D Game in Java #15

    0h30m

  • 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

    0h09m

  • Video class: Title Screen ( Extra) - How to Make a 2D Game in Java #17

    0h29m

  • Exercise: What was the main focus of the video tutorial?

  • Video class: Player Life - How to Make a 2D Game in Java #18

    0h12m

JavaScript

Free online courses on JavaScript

Cursos Online Gratuitos de JavaScript: Aprenda a Programar Agora!

Descubra a melhor seleção de cursos online gratuitos de JavaScript e dê o primeiro passo para se tornar um desenvolvedor web de sucesso. Nossa lista é atualizada regularmente para oferecer o conhecimento mais recente e relevante nesta linguagem de programação essencial.

Por que Aprender JavaScript?

JavaScript é uma das linguagens de programação mais populares do mundo. Ela é fundamental para o desenvolvimento web, permitindo a criação de páginas interativas e dinâmicas. Com esses cursos gratuitos, você poderá aprender desde o básico até tópicos avançados, como frameworks e bibliotecas populares.

Cursos para Iniciantes

Se você está começando do zero, nossos cursos gratuitos de JavaScript para iniciantes são o ponto de partida perfeito. Aprenda os conceitos fundamentais, como variáveis, tipos de dados, estruturas de controle e funções, de uma maneira fácil e acessível.

Introdução ao JavaScript

Entenda a sintaxe básica e os conceitos iniciais de JavaScript para dar seus primeiros passos na programação.

JavaScript e o DOM

Descubra como manipular o Document Object Model (DOM) para alterar elementos HTML e CSS dinamicamente.

Cursos Intermediários

Para quem já tem uma base sólida, nossos cursos intermediários de JavaScript oferecem a chance de aprofundar seus conhecimentos e aprender técnicas mais complexas.

Programação Assíncrona

Explore conceitos de assincronicidade em JavaScript, incluindo callbacks, promessas e async/await.

Frameworks e Bibliotecas

Aprenda a utilizar frameworks e bibliotecas populares como React, Angular e Vue.js para criar aplicações web modernas e escaláveis.

Cursos Avançados

Desenvolvedores experientes também encontrarão cursos avançados para aprimorar ainda mais suas habilidades em JavaScript.

Padrões de Design em JavaScript

Domine padrões de design e técnicas de arquitetura de software para escrever código JavaScript mais eficiente e manutenível.

Testes e Depuração

Aprenda a escrever testes automatizados e a depurar seu código JavaScript como um profissional, garantindo a qualidade e a confiabilidade de suas aplicações.

Atualize-se com as Últimas Tendências

Com a constante evolução do JavaScript, é crucial manter-se atualizado. Nossos cursos cobrem as últimas atualizações da linguagem, incluindo ES6 e além, para que você esteja sempre à frente no mercado de trabalho.

Flexibilidade e Conveniência

Os cursos online gratuitos de JavaScript oferecem flexibilidade para aprender no seu próprio ritmo, em qualquer lugar e a qualquer hora. Comece hoje mesmo a construir sua carreira como desenvolvedor JavaScript com nossos recursos educacionais de alta qualidade.

Conclusão

Independente do seu nível de experiência, nossa lista de cursos online gratuitos de JavaScript foi cuidadosamente elaborada para ajudá-lo a alcançar seus objetivos de carreira. Acesse agora e comece a transformar seu futuro com as habilidades que você adquirirá nessas aulas!

This free course includes:

25 hours and 58 minutes of online video course

Exercises to train your knowledge

Certificate of course completion

100% free, from content to certificate

QR Code - Baixar Cursa - Cursos Online

This online course can only be accessed through the Cursa App. Download it using the QR code or the links below:

This online course can only be accessed through the Cursa app. Install it using the links below:

  • Study for free!

    Here you never pay! Not even for the certificate, because everything in the app is 100% free!

  • Improve your resume!

    There are more than 4,000 free courses for you to study anything that interests you!

  • Free Digital Certificate!

    Complete the course and issue your internationally recognized Digital Certificate free of charge.

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 video courses, audio or text courses.

  • 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

+ 6.5 million
students

Free and Valid
Certificate with QR Code

48 thousand free
exercises

4.8/5 rating in
app stores

Free courses in
video, audio and text