In versions of PICO-8 prior to 0.2.2, and according to the manual:
SFX instruments are only retriggered when the pitch changes, or the previous note has zero volume. This is useful for instruments that change more slowly over time. For example: a bell that gradually fades out. To invert this behaviour, effect 3 (normally 'drop') can be used when triggering the note. All other effect values have their usual meaning when triggering SFX instruments. |
However, in version 0.2.2, these SFX also retrigger when they have exceeded their total length.
The SFX up top demonstrates this: in 0.2.1b,
- SFX 03 plays a single 16-tick note three times, 128 ticks apart, and
I've been playing Pico-8 on handhelds (no keyboard) a lot lately and I think there is a "gap" in that experience.
Once you have exhausted the "new" and "featured" sections, there isn't a good way to find new games to play.
I would love to have a "play random game" option in Splore! Given the FREE, quick, "pick up and play" nature of Pico-8 games, I think it would work quite well. Perhaps even "show me 20 random games", where I could quickly scroll through and see if any cover art catches my eye.
Thanks!
My entry for TweetTweetJam #6: a game in 2 tweets (at 558 characters)
Roll right without crashing for a high score (or left for a low score)
CTRL-R to restart
Hold X when landing to jump.
o=128x,y,u,v,h,p,s,d=o,0,0,0,0,32,sin,circfill::_:: ?"\^1\^c" for i=-o,384do j,l,b=x\1+i,h,btn()h,a=s(j/o)+s(j/93),p+i/4 line(a,0,a,h*2.1+p)h=p+h*5*max(s(j/3^7)) if(i==0and y>h)then if v>0then u+=v*(h-l)v*=-.7else v+=u*(h-l)end y=h if(b>9)v=-4 end for z=0,2,.2do pset(p+i/z,67+h/z,12+(h-l)*4)end end for i=-o+x&-p,x+o,p do a=-t()/(4+i^2%29)m,n=o+i+cos(a)*p-x,s(i/999)*80+s(a)*p [ [size=16][color=#ffaabb] [ Continue Reading.. ] [/color][/size] ](/bbs/?pid=93976#p) |
Hi
I'm wondering about arrays, I cant seem to find any way to delete specific IDs/keys. I don't know if the functionality is lacking or I'm missing it.
eg to do;
del(step[count(step)-1]) to remove the last entry to an array
And in extent, how do I access a specific ID/key in an array?
I'm trying to do eg;
h = step[count(step)-1].h;
v = step[count(step)-1].v;
to get key from array looking like;
step = {h=INT,v=INT}
step = {h=INT,v=INT}
step = {h=INT,v=INT}
Say I'd want the last, or second to last entry, how would this be done?
Viper 313
A top-down arcade shooter.
You start with three lives and regain lost lives every 750 points. Your ship has a shield that will absorb damage proportional to the shield strength. There is a boss fight every fifth stage. Some structures drop power-ups when destroyed. There are infinite stages.
Power ups:
Red: Gain Health
Blue: Gain Shield
Green: Invulnerability Shield
Yellow: Rapid Fire
Orange: Homing Missiles
Story
A robotic mining operation on Ganymede has gone awry. The automatons deployed on the moon's surface is under the control of a hostile artificial intelligence. It is using the automatons to construct powerful weapons and ships in preparation for an attack on Earth. You pilot the Viper 313 craft remotely from an orbital station above the moon. Your mission is to destroy the structures and ships built by the evil robotic overlords.
Tic-Tac-Toe
This is just a little experiment trying to reproduce the game of Tic-Tac-Toe in PICO-8.
Instructions
2 players take turns placing their respective signs on the board. The goal is to align 3 of them in a row, column, or diagonal.
PLAYER 1 - O :
Up / Down / Left / Right to move the selection
X to place your sign on the selected spot
PLAYER 2 - X :
E / D / S / F to move the selection
A to place your sign on the selected spot
Changelog
1.0 : main release
inspired by this image
Red Alert! The master hacker known only as The Stick has infiltrated the most secure server in the world. To prove yourself, avoid detection from the security field for as long as possible.
Your hacking skills allow you to dig through nearby firewalls to escape the lasers. Some say there are even secret digging strategies that help you further, like FAST TOGGLING and RISKY PUNCHTHROUGH. How long can you last?
This is a #tweetcart made for Tweet Tweet Jam 6. The entire source code (including gameplay, art, and sound effects!) is 557 letters of text. Click the CODE tab underneath the cartridge to view the horrible nonsense code. :P
Why? Because it's fun!
Fast round: update 3!
Unexpected free time led to a chain of updates... next one will be a release version!
Added some mechanics like stones (stomping platforms to obtain them, and obv throwing), enemy with drops activating hidden platforms, a start menu with level ending... it almost resembles a game now.
Running low (I think, it's my first pico game) on tokens: 5052 without music, only one level and few sfx. There is space for optimizations in update functions and level encoding (using some randomness for tiles variants: the actual level takes about 793 tokens). I'd like to have at least five or six levels, so... crossing fingers!