Compare commits
3 Commits
5f20d0e906
...
fbaece4dd4
Author | SHA1 | Date |
---|---|---|
Jill | fbaece4dd4 | |
Jill | b8e40bbaf0 | |
Jill | 1011f268eb |
19
MANUAL.md
19
MANUAL.md
|
@ -121,6 +121,7 @@ Uranium Template originally formed during the creation of a currently unreleased
|
|||
- [`rng:jump(): void`](#rngjump-void)
|
||||
- [`rng:longJump(): void`](#rnglongjump-void)
|
||||
- [`ease`](#ease)
|
||||
- [`players`](#players)
|
||||
- [`profiler`](#profiler)
|
||||
- [`util`](#util)
|
||||
- [`aft`](#aft)
|
||||
|
@ -1009,6 +1010,18 @@ _Exports globals_
|
|||
|
||||
A direct copy of [Mirin Template's `ease.lua`](https://github.com/XeroOl/notitg-mirin/blob/master/template/ease.lua), for convinience. See the docs for those [**here**](https://xerool.github.io/notitg-mirin/docs/eases.html).
|
||||
|
||||
### `players`
|
||||
|
||||
_Exports globals_
|
||||
|
||||
Pulls in the players as `P[1-8]` and `P<1-8>`.
|
||||
|
||||
```lua
|
||||
require('stdlib.players')
|
||||
P1:hidden(1)
|
||||
P2:hidden(1)
|
||||
```
|
||||
|
||||
### `profiler`
|
||||
|
||||
_Defines callbacks_
|
||||
|
@ -1051,7 +1064,7 @@ require('stdlib.noautoplay')()
|
|||
|
||||
### `eternalfile`
|
||||
|
||||
A single function which turns your file into an eternal, neverending file, until the player puts it out of its misery by exiting. The current beat will always go from 0 to 1 and start over once this is enabled.
|
||||
A single function which turns your file into an eternal, neverending file, until the player puts it out of its misery by exiting. The current beat will always go from 0 to 1 and start over once this is enabled. This also sets the notedata to nothing to avoid hitting padding mines.
|
||||
|
||||
```lua
|
||||
require('stdlib.eternalfile')()
|
||||
|
@ -1083,6 +1096,10 @@ end
|
|||
### Default Uranium Template code
|
||||
```lua
|
||||
require('stdlib.color')
|
||||
require('stdlib.players')
|
||||
P1:hidden(1)
|
||||
P2:hidden(2)
|
||||
require('stdlib.eternalfile')()
|
||||
|
||||
-- define a basic quad
|
||||
local quad = Quad()
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#!/bin/bash
|
||||
zip -9 -r package-template.zip --exclude="*.git/*" --exclude="*template/.git*" --exclude="*.gitignore_local*" --exclude="*.gitmodules*" --exclude="*.typings*" --exclude="*template/docs*" --exclude="*README.md" --exclude="*.sm.auto*" --exclude="*.sm.old*" --exclude="*distribute-template.sh*" .
|
||||
zip -9 -r package-template.zip --exclude="*.git/*" --exclude="*template/.git*" --exclude="*.gitignore_local*" --exclude="*.gitmodules*" --exclude="*.typings*" --exclude="*template/docs*" --exclude="*README.md" --exclude="*.sm.auto*" --exclude="*.sm.old*" --exclude="*distribute-template.sh*" --exclude="*update-release.sh*" --exclude="*release.blank.lua*" .
|
|
@ -1,4 +1,8 @@
|
|||
require('stdlib.color')
|
||||
require('stdlib.players')
|
||||
P1:hidden(1)
|
||||
P2:hidden(2)
|
||||
require('stdlib.eternalfile')()
|
||||
|
||||
-- define a basic quad
|
||||
local quad = Quad()
|
||||
|
|
2
template
2
template
|
@ -1 +1 @@
|
|||
Subproject commit 8262b62e4c991658661581d9b52b7ebb3b3f585f
|
||||
Subproject commit 70206204960a13bda1d1414fe517b09156344d36
|
|
@ -0,0 +1,4 @@
|
|||
#!/bin/bash
|
||||
rm template/release.lua
|
||||
read -p "enter release version: " version
|
||||
sed -e "s/branch = 'unknown'/branch = '$(git rev-parse --abbrev-ref HEAD)'/" -e "s/commit = 'unknown'/commit = '$(git rev-parse --short HEAD)'/" -e "s/version = 'unknown'/version = '$version'/" template/release_blank.lua > template/release.lua
|
Loading…
Reference in New Issue