hello world example
This commit is contained in:
parent
4d2fb10f5f
commit
a5eedadb90
11
MANUAL.md
11
MANUAL.md
|
@ -99,6 +99,7 @@ Uranium Template originally formed during the creation of a currently unreleased
|
|||
- [`noautplay`](#noautplay)
|
||||
- [`uwuify`](#uwuify)
|
||||
- [Examples](#examples)
|
||||
- [The obligatory](#the-obligatory)
|
||||
- [Default Uranium Template code](#default-uranium-template-code)
|
||||
- [Simple platformer base](#simple-platformer-base)
|
||||
- [AFTs](#afts)
|
||||
|
@ -748,6 +749,16 @@ _A very important library I don't see enough game engines include in their stand
|
|||
|
||||
Here are a couple of examples. All of these are standalone `main.lua` files that you can plug in and view the results of!
|
||||
|
||||
### The obligatory
|
||||
```lua
|
||||
local text = BitmapText('common', 'Hello, world!')
|
||||
text:xy(scx, scy)
|
||||
|
||||
function uranium.update()
|
||||
text:Draw()
|
||||
end
|
||||
```
|
||||
|
||||
### Default Uranium Template code
|
||||
```lua
|
||||
require('stdlib.color')
|
||||
|
|
Loading…
Reference in New Issue