Difference between revisions of "Steropes Map Widget"

From TRCCompSci - AQA Computer Science
Jump to: navigation, search
(Created page with "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...")
 
(Map Widget)
Line 4: Line 4:
 
Look at the following link to a GitHub repository i have created for the Steropes Map Widget:
 
Look at the following link to a GitHub repository i have created for the Steropes Map Widget:
  
[https://github.com/TRCCompSci/Steropes-Map-Widget]
+
[https://github.com/TRCCompSci/Steropes-Map-Widget Steropes Map Widget Repository]
  
 
==Using Map Widget==
 
==Using Map Widget==

Revision as of 13:54, 31 October 2018

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??

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.