Steropes Map Widget

From TRCCompSci - AQA Computer Science
Jump to: navigation, search

Steropes doesn't require any additional code to draw the interface, the fact that the UIManager is initialised will run the draw method of the interface. This presents a problem because it draws over the whole window, so how do you draw a map??

Map Widget

Look at the following link to a GitHub repository i have created for the Steropes Map Widget:

Steropes Map Widget Repository

Using Map Widget

You will need to follow the standard tutorial to setup and install Steropes:

Steropes Example

Save the MapWidget.cs from the repository and add it to your solution. Look at the example game on the repository, the file MainMenu.cs creates 2 classes for different Steropes UI panels.