Answered step by step
Verified Expert Solution
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 :
Seeking A Target sprite will appear somewhere on the screen. An
ActorAgent sprite will enter the scene from one of the edges and seek to
the target using the Seek algorithm. The ActorAgent must be oriented
properly make sure theres a way to tell the orientation of the sprite
o When the user presses :
Fleeing Both a Target sprite and an ActorAgent sprite appear on the
screen close to each other. The ActorAgent must move away from the
Target sprite, with the correct orientation.
o When the user presses :
Arrival A Target sprite will appear somewhere on the screen. An
ActorAgent will enter the scene from one of the edges and seek to the
Target using the Arrival algorithm. The ActorAgent must be oriented
correctly.
o When the user presses :
Obstacle Avoidance A Target appears on the screen with an Obstacle
in front of it placed at a reasonable distance. The ActorAgent will
appear from the opposite side of the screen and seek to the Target while
avoiding the obstacle. The ActorAgent 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 ActorAgent must
be oriented properly. Bonus points if you find a way to illustrate the
sensors
o When the user presses :
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started