logo

Crowdly

Browser

Add to Chrome

Да се креира игра како на пример gif-от прикачен подолу. Авионот може да движи н...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Да се креира игра како на пример gif-от прикачен подолу. Авионот може да движи нагоре или надолу и се поместува со помош на соодветните копчиња.

Куршумите кои ги испукува авионот се брзи и пукаат кон вонземјанецот. Доколку го погодат вонземјанецот, него го снемува од екранот.

Позицијата на вонземјанецот е различна и случајно се избира на секое почнување на играта (refresh на прелистувачот).

Помош: При проверката за куршумите се гледа само по y координатата на вонземјанецот.

To create a game like the gif attached below. The plane can move up or down and is moved using the appropriate buttons.

The bullets fired by the plane are fast and shoot at the alien. If they hit the alien, it disappears from the screen.

The position of the alien is different and is randomly selected each time the game is started (browser refresh).

Help: When checking for bullets, only the alien's y coordinate is looked at.

Во прилог се двете слики кои се користени во задачата/Attached are the two images used in the assignment:

Пример/Example:

More questions like this

Want instant access to all verified answers on courses.finki.ukim.mk?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome