- Enter a command using the ASCII string.
- Each command should be fixed-length and written in capital letters,
needs "LF" at the last. Maximum command length is 96(byte).
* PANCAKE CLEAR cn
Fill a screen with a specified color.
Specify color number into "cn" in hexadecimal.
ex.
PANCAKE CLEAR 0A
* PANCAKE LINE x1 y1 x2 y2 cn
Draw a line
ex.
PANCAKE LINE 00 00 10 0A 01
* PANCAKE CIRCLE xc yc ra cn
Draw a circle.
Specify a central coordinate into "xc,yc", a radius into "ra".
(FROM 0.9)
ex.
PANCAKE CIRCLE 10 10 10 01
* PANCAKE STAMP px py tc cc...c
Draw a 8*8 picture.
A coordinate specified in "px,py" comes to the upper-left of the picture.
In "tc", specify a color number to show transparent.
In "cc...c", place color numbers from upper-left to right.
ex.
PANCAKE STAMP
00 08 02 228282822288822222282222202222020222022222202222202222022222022
* PANCAKE STAMP1 px py cn cccccccccccccccc
Draw a 8*8 picture with one color.
A coordinate specified in "px,py" comes to the upper-left of the picture.
In "cn", specify a color number.
In "cccc...", place 0 or 1 from upper-left to right.
0 shows up as transparent.
(from 0.8)
ex.
PANCAKE STAMP1 00 08 02 F00FF00FF00FF00
* PANCAKE STAMPS px py si [fs] [ra]
In "px, py", specify the output coordinates.
In "si", specify the built-in sprite image number(00-af,fd,fe)
When "fs" is specified, left/right reversal can be controlled.
ON/OFF[01/00] (Default:00)
When "ra" is specified, angle can be controlled.
[00:0°,01:-90°,02:180°,03:90°] (Default:00)
(from 1.1)
ex.
PANCAKE STAMPS 24 12 15
PANCAKE STAMPS 24 12 15 01 02
* PANCAKE IMAGE in
Draw a built-in picture.
Put an image number into "in".
ex.
PANCAKE IMAGE 02
* PANCAKE VIDEO os
Turn on/off[01/00] the screen output.
(from 0.8)
ex.
PANCAKE VIDEO 00
* PANCAKE SPRITE START in
Start a sprite processing.
In "in", specify an image number for the background.
To fill it with one color, put 1 into the HighBits of "in".
[ex. 12==the background appears red]
Once you start sprite processing, LINE and IMAGE are unavailable.
To stop sprite processing, put "FF" in "in".
(from 0.8)
ex.
PANCAKE SPRITE START 03
* PANCAKE SPRITE CREATE sn si
Create sprites.
16 sprites are available.
sn:sprite number(0-15)
si:built-in sprite image number(00-af)
To turn the sprite off, put FF into "si".
Large numbered sprites come to the front.
(from 0.8)
ex.
PANCAKE SPRITE CREATE 00 15
* PANCAKE SPRITE MOVE sn px py
Move a sprite.
"sn" means the created sprite number.
The origin specified with coordinate "px,py" comes the upper-left of the sprite.
(from 0.8)
ex.
PANCAKE SPRITE MOVE 00 10 10
* PANCAKE SPRITE FLIP sn fs
Reverse a sprite inside out.
"sn" means the created sprite number.
Put "fs" 01/00[ON/OFF].
(from 1.0)
ex.
PANCAKE SPRITE FLIP 00 01
* PANCAKE SPRITE ROTATE sn ra
Turn a sprite.
"sn" means the created sprite number.
In "ra", specify an angle.
[00:0°,01:-90°,02:180°,03:90°]
(from 1.0)
ex.
PANCAKE SPRITE ROTATE 00 01
* PANCAKE SPRITE USER sn tc cc...c
Draw a original sprite.(maximum:2)
sn sould be FD/FE.
In "tc", specify a color number to show transparent.
In "cc...c", place color numbers from upper-left to right.
(from 1.0)
ex.
PANCAKE SPRITE USER FE 02 22828282222..
* PANCAKE SOUND o0 s0 o1 s1 o2 s2 o3 s3
Sound 4ch at the same time.
o0-o3:octaves(0-4-7), s0-s3:intervals
Interval"e" appears as noise.
HighBits of s0-s3 mean timbre(0-3).
To turn the sound off, put FF in "s0-s3"
(from 0.8)
ex.
PANCAKE SOUND 04 00 04 04 04 07 04 FF
PANCAKE SOUND 04 20 04 24 04 27 04 FF
* PANCAKE SOUND1 cn on sn
Sound 1ch only
(from. 0.8)
ex.
PANCAKE SOUND1 00 04 07
* PANCAKE MUSIC SCORE ch pn tt mm
Register MML at a sound channel.
ch:channel(00-03)
pn:01=sound immediately 00=sound later
tt:tempo(0-F)+timbre[ex. 30==tempo3, timbre0]
mm:MML(MAX:64 byte in binary command)
(from 0.9)
ex.
PANCAKE MUSIC SCORE 00 01 30 $CDEFGAB>C
* PANCAKE MUSIC PLAY ss [ch]
Start/stop the sound[01/00].
Possible to play all sounds together when 4ch MML have been registerd
using "MUSIC SCORE" or "MUSIC LOAD" command in advance.
When ch (00-03) is specified, only that channel can be controlled.
(from 0.9)
ex.
PANCAKE MUSIC PLAY 01
PANCAKE MUSIC PLAY 01 00 (from 1.1)
* PANCAKE MUSIC LOAD ch mn
Register built-in MML with a sound channel.
In “mn", specify the built-in MML number(00-03).
To set sound channel to the initial condition, set mn to FF.
(from 1.1)
ex.
PANCAKE MUSIC LOAD 00 01
* PANCAKE RESET
Initialize PanCake.
Everything including sprites and sounds etc. returns to the initial condition.
(from 0.9)
ex.
PANCAKE RESET
* PANCAKE OUT pf
Output to a OUTport.
Specify a port number into "pf" in hexadecimal.
ex.
PANCAKE OUT FF
* PANCAKE BPS rrrr
Set a transmission speed.(Default:115,200)
In "rrrr", specify the speed in hexadecimal.
If you put "0000", it is 115,200.
(from 1.0)
ex.
PANCAKE BPS 2580
■binary-command
- Binary-Command corresponding to Text-Command is available.
- Command format:{80}{LN}{CN}{...}
- 80:PanCakeID, LN:command length, CN:commandID, Maximum command length is 96(byte).
Game sample created with IchigoJamWorld record 42 points!