Build Space Invaders Game using Java

от партнера
Coursera Project Network
В этом Проект с консультациями вы:

Learn how to use the Swing toolkit to create your own customized Graphical User Interface.

Learn how to control object's actions using the keyboard.

Learn how to apply your own set of game rules.

Clock1 hour
BeginnerНачинающий
CloudЗагрузка не требуется
VideoВидео на разделенном экране
Comment DotsАнглийский
LaptopТолько для ПК

In this 1-hour long project-based course, you will learn how to create a basic and functional version of the popular game, Space Invaders using Java and Swing toolkit. Java is one of the most in demand programming languages, and using the Swing toolkit with it will give you a chance to easily implement many game applications. You will be able to identify and use most of the components inside the Swing toolkit that will aid you in building your own games, customized to fit your needs. In this guided project, you will be able to create a graphical user interface, populate it with your game pieces and control their movement using the keyboard. Furthermore, you will be able to make the enemy shoot automatically as the user shoots using the keyboard. Finally, you will be able to detect any hits and calculate the score. Note: This course works best for learners who are based in the North America region. We’re currently working on providing the same experience in other regions.

Навыки, которые вы получите

  • Video Game Development
  • Java
  • Swing toolkit
  • coding
  • Computer Programming

Будете учиться пошагово

На видео, которое откроется рядом с рабочей областью, преподаватель объяснит эти шаги:

  1. Setting up java environment.

  2. Populating window by creating space invaders and the user.

  3. Enable automated invaders' movement and manually move user using keyboard.

  4. Enable user shooting using the keyboard and automate invader's shooting.

  5. Check if any of the bullets hit the opponent and keep track of the score.

Как устроены проекты с консультациями

Ваше рабочее пространство — это облачный рабочий стол в браузере. Ничего не нужно загружать.

На разделенном экране видео преподаватель предоставляет пошаговые

Часто задаваемые вопросы

Часто задаваемые вопросы

Остались вопросы? Посетите Центр поддержки учащихся.