mirror of https://git.sr.ht/~rabbits/oquonie
Init
This commit is contained in:
commit
ffe76dc13f
|
@ -0,0 +1,8 @@
|
||||||
|
.DS*
|
||||||
|
*jpg
|
||||||
|
*png
|
||||||
|
*bmp
|
||||||
|
/bin
|
||||||
|
*snarf
|
||||||
|
*theme
|
||||||
|
*nametable
|
|
@ -0,0 +1,13 @@
|
||||||
|
Copyright (c) 2020 Devine Lu Linvega
|
||||||
|
|
||||||
|
Permission to use, copy, modify, and distribute this software for any
|
||||||
|
purpose with or without fee is hereby granted, provided that the above
|
||||||
|
copyright notice and this permission notice appear in all copies.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
||||||
|
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
||||||
|
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
||||||
|
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||||
|
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||||
|
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||||
|
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
@ -0,0 +1,29 @@
|
||||||
|
# Oquonie
|
||||||
|
|
||||||
|
[Oquonie](https://100r.co/site/oquonie.html) is a puzzle game, written in [Uxntal](https://wiki.xxiivv.com/site/uxntal.html).
|
||||||
|
|
||||||
|
## Build
|
||||||
|
|
||||||
|
You must have an [Uxn](https://git.sr.ht/~rabbits/uxn/) assembler and emulator.
|
||||||
|
|
||||||
|
```sh
|
||||||
|
uxnasm src/oquonie.tal bin/oquonie.rom
|
||||||
|
uxnemu bin/oquonie.rom
|
||||||
|
```
|
||||||
|
|
||||||
|
If do not wish to assemble it yourself, you can download [oquonie.rom](https://rabbits.srht.site/oquonie/oquonie.rom).
|
||||||
|
|
||||||
|
[![builds.sr.ht status](https://builds.sr.ht/~rabbits/oquonie.svg)](https://builds.sr.ht/~rabbits/oquonie?)
|
||||||
|
|
||||||
|
## Push
|
||||||
|
|
||||||
|
Pushing to the itch.io store.
|
||||||
|
|
||||||
|
```sh
|
||||||
|
~/Applications/butler push bin/oquonie.rom hundredrabbits/oquonie:uxn
|
||||||
|
```
|
||||||
|
|
||||||
|
## Support
|
||||||
|
|
||||||
|
- Linted with [uxnlin](https://git.sr.ht/~rabbits/uxnlin)
|
||||||
|
- Assembled with [drifblim](https://git.sr.ht/~rabbits/drifblim)
|
|
@ -0,0 +1,41 @@
|
||||||
|
#!/bin/sh -e
|
||||||
|
|
||||||
|
ASM="uxncli $HOME/roms/drifblim.rom"
|
||||||
|
EMU="uxnemu"
|
||||||
|
LIN="uxncli $HOME/roms/uxnlin.rom"
|
||||||
|
APP="$HOME/Applications/butler push"
|
||||||
|
|
||||||
|
SRC="src/oquonie.tal"
|
||||||
|
DST="bin/oquonie.rom"
|
||||||
|
|
||||||
|
CPY="$HOME/roms"
|
||||||
|
ARG=""
|
||||||
|
APPID="hundredrabbits/oquonie:uxn"
|
||||||
|
|
||||||
|
echo ">> Cleaning"
|
||||||
|
rm -rf bin
|
||||||
|
mkdir bin
|
||||||
|
|
||||||
|
if [[ "$*" == *"--lint"* ]]
|
||||||
|
then
|
||||||
|
echo ">> Linting $SRC"
|
||||||
|
$LIN $SRC
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo ">> Assembling $SRC"
|
||||||
|
$ASM $SRC $DST
|
||||||
|
|
||||||
|
if [[ "$*" == *"--save"* ]]
|
||||||
|
then
|
||||||
|
echo ">> Saving $DST"
|
||||||
|
cp $DST $CPY
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ "$*" == *"--push"* ]]
|
||||||
|
then
|
||||||
|
echo ">> Pushing $DST"
|
||||||
|
$APP $DST $APPID
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo ">> Running $DST"
|
||||||
|
$EMU $DST $ARG
|
|
@ -0,0 +1,33 @@
|
||||||
|
( Oquonie )
|
||||||
|
|
||||||
|
|00 @System &vector $2 &pad $6 &r $2 &g $2 &b $2
|
||||||
|
|10 @Console &vector $2 &read $1 &pad $5 &write $1
|
||||||
|
|20 @Screen &vector $2 &width $2 &height $2 &auto $1 &pad $1 &x $2 &y $2 &addr $2 &pixel $1 &sprite $1
|
||||||
|
|80 @Controller &vector $2 &button $1 &key $1
|
||||||
|
|90 @Mouse &vector $2 &x $2 &y $2 &state $1 &chord $1
|
||||||
|
|a0 @File &vector $2 &success $2 &stat $2 &delete $1 &append $1 &name $2 &length $2 &read $2 &write $2
|
||||||
|
|
||||||
|
|0000
|
||||||
|
|
||||||
|
|
||||||
|
|0100 ( -> )
|
||||||
|
|
||||||
|
( meta )
|
||||||
|
;meta #06 DEO2
|
||||||
|
( theme )
|
||||||
|
#5f0f .System/r DEO2
|
||||||
|
#500f .System/g DEO2
|
||||||
|
#500f .System/b DEO2
|
||||||
|
( size )
|
||||||
|
#012e .Screen/width DEO2
|
||||||
|
#00f0 .Screen/height DEO2
|
||||||
|
|
||||||
|
BRK
|
||||||
|
|
||||||
|
@meta 00 &body
|
||||||
|
( name ) "Oquonie 0a
|
||||||
|
( details ) "A 20 "Puzzle 20 "Game 0a
|
||||||
|
( author ) "By 20 "Hundred 20 "Rabbits 0a
|
||||||
|
( date ) "Jan 20 "22, 20 "2023 00
|
||||||
|
00
|
||||||
|
|
Loading…
Reference in New Issue