hello people
to you i present...
ULO!
my first code interpreter!
WOW
this is ulo, a javascript-like programming language that i have made to spite the devs
it can do scoped variables, index assignment, functions, statements, and most importantly, values!
READ TO BOTTOM
SAMPLE CODE IN LUA:
thing1,thing2=1,2
thing1+=1
thing2+=1
thing3={"string","number"}
thing3[3]="boolean"
print(thing3[1] .. thing3[2] .. thing3[3])
function foo(x1,x2)
local x3=x1+x2
return x3
end
if type(thing1)==thing3[2] then
print("equal")
[ [size=16][color=#ffaabb] [ Continue Reading.. ] [/color][/size] ](/bbs/?pid=196315#p) |

(PICO-8 V0.2.7)
so i've been digging through the hidden stuff in pico-8 for a while and i've found some preset variables (functions aswell) which are undocumented (supposedly because they aren't finished), not even in the <"hidden" API>.
if any pico 8 developers have any info on the functionality of these (if there is), clarification would be appreciated:
P.S.
there was also a variable that appeared once, and isn't appearing again, called "thor"

This is a "base" cart with extra features (wow!)
Would appreciate notification of any bugs
How to set up cart:
- delete all demo values (functions included)
- delete the sections in the loop functions which say "delete this"
- if you want to use more than 64 cartdata values, set
saverange_startto the first memory address in the range subtracted by 0x8000, and setsaveidsto the number of extra 64 cartdata values you need. - set
game_idto your cartridge id. this will be used in cartdata functions and reloading for calibrating and recalibrating save values - set the
g_init,g_updateandg_drawfunctions to your own loops
optionals
okay so basically this trick almost gives you infinite savedata
first, choose a memory address above 0x7fff to represent a progress counter, a memory address above 0x7fff to represent if the game has already set the progress counter to 0, a memory address above 0x7fff to represent the progress before updating, a memory address to declare if the game has started, a variable declaring if the game is calibrating the save values, and a variable inside the game declaring how many extra groups of 64 savedata values are required.
second, in the _init function, set the initial progress counter to the actual progress counter. make an if statement which checks if the progress counter is equal or over the limit. inside that statement, run cartdata with an id concatenated with the progress, set a group of memory addresses to the cartdata values, change the progress counter by one by using the initial progress counter, and then finally load the cartridge again.
third, in the _update function, add an if statement which checks if the game has started. move all of the previous code inside of the _update function into that statement.
this method exists which almost no information is spread about on the internet
all you have to do is print "\A" concatenated with the note, and then the octave e.g:print("\AD#3"). this plays the D# note on the third octave you can also print a message as it plays if you concatenate the string with a space, and then the message e.g:print("\AD#2 Hello World!"). one thing i find really cool about this feature is that you can harmonize notes by concatenating multiple notes by a space e.g:print("\AD#3 \AD2 \AD1 \AC#1 \AD0").
hey so i've come to the realisation that as i continue to work on new celeste mods, i am most likely going to come across alot more techs which i am not familiar with, so i guess this post can be like an area for creating cc techs and verifying which cc techs already existed.
-- dash trajectory manipulation --
the logic of this tech is pretty strange so prepare yourselves
anyway basically what i mean by "dash trajectory manipulation", is changing the direction of your dash midway through the dash itself
i don't really know how it works
i was just kinda messing around and then i got this
| | | | | | | | | | | | | | | | | | | | | | | | | |
V V V V V V V V V V V V V V V V V V V V V V V V V V
i think i was turning around as soon as i got to the edge of the screen, then performing the spike walk.
for some reason it only works on the edges of the screen tho?
anyone know anything about this?
-- vertical movement manipulation --
hey so i've seen a lot of carts which have a function for printing a string of text in the centre of the area on the x axis which they have depicted, and it often ends up looking something like this:
-- actual function
function cprint(txt,centre,y,c)
print(txt,centre-#txt*2,y,c)
end
-- example
function _init()
cls()
end
function _draw()
cprint("Centre:64",64,0,7)
for x=0,127,8 do
for y=16,127,8 do
line(x,0,x,127,8)
line(0,y,127,0,8)
end
end
cprint("Hello World!",64,62,7)
end |
but often one thing that they don't account for is the extra space in which the characters with an id over 127 cover. for example,
-- chr(151)
cprint("❎❎❎❎❎❎❎",64,62,7)
cprint("❎❎❎❎❎❎",64,68,7)
cprint("❎❎❎❎",64,74,7) |

hey so i think i just found a new tech
basically, from what i can see, the player falls down, and with enough precision and velocity in which the player falls, there is a one-frame window where you can jump off of the wall with the spikes
this just stood out to me because the hitbox of a right-facing spike is larger than a left-facing spike's hitbox. This allows the player to jump off of a left-facing spike's wall while stationary, but not with a right-facing spike's.
maybe this was already a tech?






2 comments









