Difference between revisions of "Steropes Map Widget"
(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...") |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | Steropes doesn't | + | 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== | ||
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== |
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:
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.