Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

write a c# code Requirements: Start Scene: This is the scene that I ll be clicking play from. It must be called start . Text

write a c# code
Requirements:
Start Scene:
This is the scene that Ill be clicking play from. It must be called start.
Text that includes your name and student ID, and name of the project.
Button that when pressed takes you to the play scene.
Music is playing.
Play Scene:
No active objects on the scene when loaded.
Music continues playing without being interrupted.
Text that instructs the user how to play:
o When the user presses 1:
Seeking A Target sprite will appear somewhere on the screen. An
Actor/Agent sprite will enter the scene from one of the edges and seek to
the target using the Seek algorithm. The Actor/Agent must be oriented
properly (make sure theres a way to tell the orientation of the sprite).
o When the user presses 2:
Fleeing Both a Target sprite and an Actor/Agent sprite appear on the
screen close to each other. The Actor/Agent must move away from the
Target sprite, with the correct orientation.
o When the user presses 3:
Arrival A Target sprite will appear somewhere on the screen. An
Actor/Agent will enter the scene from one of the edges and seek to the
Target using the Arrival algorithm. The Actor/Agent must be oriented
correctly.
o When the user presses 4:
Obstacle Avoidance A Target appears on the screen with an Obstacle
in front of it, placed at a reasonable distance. The Actor/Agent will
appear from the opposite side of the screen and seek to the Target while
avoiding the obstacle. The Actor/Agent sprite should include some sort
of Sensor that enables them to detect the Obstacle. This could be a
Whisker or collision radius that guides the sprite. The Actor/Agent must
be oriented properly. Bonus points if you find a way to illustrate the
sensors.
o When the user presses 5:
Should clear all active objects from the screen, like a reset for the user.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions