This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
notes:cprog:spring2024:projects:fwg0 [2024/03/10 20:42] – [URLs] hcopp1 | notes:cprog:spring2024:projects:fwg0 [2024/03/14 08:57] (current) – [Build from Source] hcopp1 | ||
---|---|---|---|
Line 4: | Line 4: | ||
The GitHub repository for Vircon32 and DevTools Can be found at: [[https:// | The GitHub repository for Vircon32 and DevTools Can be found at: [[https:// | ||
+ | |||
+ | This site will provide zip files for both and how to install them. | ||
=====Build from Source===== | =====Build from Source===== | ||
+ | Install the Emulator and the DevTools outside the Lab46 repository. It is recommended to do this on your Pi and the following steps is for the Pi. Download the following from the GitHub repository linked in previous section | ||
+ | |||
+ | ''< | ||
+ | |||
+ | ''< | ||
+ | |||
+ | Unzip these files which provide a similar file name with a .DEB file extension | ||
+ | |||
+ | ''< | ||
+ | |||
+ | ''< | ||
+ | |||
+ | To install these use the following commands: | ||
+ | |||
+ | < | ||
+ | sudo dpkg -i vircon32-emulator_24.3.2_armhf.deb | ||
+ | sudo apt-get install -f | ||
+ | |||
+ | sudo dpkg -i vircon32-devtools_24.2.4_armhf.deb | ||
+ | </ | ||
+ | |||
+ | The base path for the install is ''/ | ||
+ | |||
+ | To run the Vircun32 API, change to the emulator directory and run '' | ||
+ | |||
+ | There' | ||
=====Cartridge build process===== | =====Cartridge build process===== | ||
Line 20: | Line 48: | ||
====displaying text==== | ====displaying text==== | ||
+ | A basic way of displaying text would be to set the ( x, y ) coordinates of the starting point, followed by printing your text. Below is the example from the Hello World tutorial. | ||
+ | |||
+ | < | ||
+ | // draw our text near the top-left of the screen | ||
+ | set_drawing_point( 20, 120 ); | ||
+ | print( " | ||
+ | </ | ||
====processing textures and regions==== | ====processing textures and regions==== | ||
====displaying a region at location==== | ====displaying a region at location==== | ||