There are 8 sound effects (№0-№7) that can be interpreted either as a custom instrument or a custom waveform. Where in memory does a pico-8 cart store information about what sfx is in waveform-mode? Im guessing there's a byte somewhere in memory with each of its bits corresponding to each SFX mode. The question is - what's the address?
VJ8 - A PICO-8 VJing tool
Add visuals to your music
Get your best playlist blasting, get VJ8 rolling and get the rave going! Use your joystick to change ANIMS - short procedural (or not) animations that put you into trance (effect not guaranteed). Comes with a free distasteful demo song!(i cant make musik)
Use your own animations
Grab your old fancy demos and tweetcarts and turn them into something to be played at the party - just drop the code into VJ8.
The beat's about to drop
Hold the X button during intense parts of your song and let the visuals do their work.
Controls:
Hey everyone.
What year do you think Pico-8 would've been released if it was a real console that physically existed?
Late 80's? 90's? Before or after NES? Let's talk about this.
P.S. Another topic, would Pico-8 be a hand-held or a home console? Personally, I think
it'd be a cube-shaped home console, square-sided just like its display. Similar to GameCube but more "cuber" (with equal dimentions) and quite small in size. Regarding the colors, i think dark grey body with a red outline would look stylish. Like on the picture, but a different color.
so today i made this
use it as you want guys
also maybe it's not token-efficient but
i'll leave it up to you
function randprob_from(l) --the function expects an --array of tables like these: --{p=0.5,v='item name'} --a "p" value between 0 and 1 --and a "v" value. --"p" is propability of the --"v" value being returned local lim=1 local value=rnd() for pos in all(l) do highlimit=lim lim-=pos.p lowlimit=lim if value<highlimit and value>=lowlimit then return pos.v end end end |
Hello! I've made a cart on my console and it runs there. But when I upload it onto BBS, it gives a syntax error.
Error:
syntax error line 5 (tab 1)
-return fget(mget(x/8,y/8),f)
<eof> expected near 'end'
Function:
function gfap(x,y,f)
-return fget(mget(x/8,y/8),f)
end
i've marked indent spaces as '-'
Pico-8 version i made the game at: 0.2.5c
This tool allows you to map lines on a plane and export them into any of your carts.
Each line is represented as a table with values x1,y1,x2,y2.
This is useful for raycast projects or whatever you need to map lines for.
Buttons (left-up corner of the screen, top to bottom):
Temp save: temporarily saves all line data to adresses 0x4300-0x5dff in console memory.
Load: loads data at adresses 0x4300-0x5dff. Can be used as reserve copy.
Toggle ruler: Each line displays it's length to the right of it's 2nd point.
Export: allows you to type in your desired cart's name and export line data to it's addresses 0x4300-0x5dff. This overwrites your cartridge file so make sure you don't have anything valuable in there (sprites, map, sounds and, obviously, code are safe).
How do you deal with range overflow? The numbers beyond 32767 warp to -32766 in pico8's 16 bit signed system when calculating. This is sometimes enough, but not always. For example,
function distance(x1,y1,x2,y2) return sqrt((x2-x1)^2+(y2-y1)^2) end |
will sometimes (very often actually) return 0 as a result of taking sqrt of the negative wrapped number. This is occasionally crutial. Is there a workaround to compute this as if this was an unsigned system?
So i watched lazy devs' youtube shorts about how he makes his shmup levels. In there he mentioned that he has different pico8 cartridges that work as tools for editing stuff like sprites, bullet patterns and level scenery. I coded a 2d space line editor that can be used for raycasting. How can i transfer all lines data to an another cartridge for use? There is a big "lines" table that containes tables with individual line data. I know that you can't transfer actual code or tables between carts so lazy devs should have used something different.