Create a Godot game that has the following features: 1. Set the game window size so it is the same size as the background image. 2. Use the sprite sheet to create the player ship 3. Write a script that allows the player to move the ship up/down/left/right 4. If the ship leaves the screen stop the ship movement. 5. Use the static ship image to create an NPC 6. Write a script so the NPC moves around the screen 7. If the player ship collides with the NPC then remove the NPC from the

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
Use all these images separately
Transcribed Image Text:Use all these images separately
Create a Godot game that has the following features:
1. Set the game window size so it is the same size as the background image.
2. Use the sprite sheet to create the player ship
3. Write a script that allows the player to move the ship up/down/left/right
4. If the ship leaves the screen stop the ship movement.
5. Use the static ship image to create an NPC
6. Write a script so the NPC moves around the screen
7. If the player ship collides with the NPC then remove the NPC from the
screen.
8. set the display options in the Project settings page to match the background size
9. Use the clamp() function to keep the ship inside the window (see the
programming notes)
10. Make both ships a node of type Area2D and set a collision shape for both objects
11. Use a signal for either ship to detect the collision
12. Have the NPC move around the screen in a pattern set inside a script attached to
the NPC
13. Make the root nodes of the player and NPC Area2D type nodes and name them
14. In the _process() method use the method
for body in get_overlapping_areas():
if(body and body.get_name()=="XXXX"):
XXXXX
Create a zip file from your Godot project folder
Transcribed Image Text:Create a Godot game that has the following features: 1. Set the game window size so it is the same size as the background image. 2. Use the sprite sheet to create the player ship 3. Write a script that allows the player to move the ship up/down/left/right 4. If the ship leaves the screen stop the ship movement. 5. Use the static ship image to create an NPC 6. Write a script so the NPC moves around the screen 7. If the player ship collides with the NPC then remove the NPC from the screen. 8. set the display options in the Project settings page to match the background size 9. Use the clamp() function to keep the ship inside the window (see the programming notes) 10. Make both ships a node of type Area2D and set a collision shape for both objects 11. Use a signal for either ship to detect the collision 12. Have the NPC move around the screen in a pattern set inside a script attached to the NPC 13. Make the root nodes of the player and NPC Area2D type nodes and name them 14. In the _process() method use the method for body in get_overlapping_areas(): if(body and body.get_name()=="XXXX"): XXXXX Create a zip file from your Godot project folder
Expert Solution
steps

Step by step

Solved in 7 steps with 2 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY