Difference between revisions of "Steropes Map Widget"

From TRCCompSci - AQA Computer Science
Jump to: navigation, search
(Map Widget)
 
Line 1: Line 1:
Steropes doesn't use require any additional code to draw the interface, the fact that 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??
+
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==
 
==Map Widget==

Latest revision as of 12:56, 31 October 2018

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.