This:
a += b >>> c |
Appears to evaluate as:
a = (a + b) >>> c |
Which is not expected. :)
(Incidentally, the precedence of the custom operators isn't documented, and it surprised me that bit ops are looser than addition — since they're effectively multiplication/division. I know this is the precedence in C, but C's bitop precedence is completely wacky and was forced by its predecessor's use of | and & for both bitwise and logical operations in 1967! Alas, existing carts...)
Second version!
I´ve polished the game a little bit and fixed some minor bugs
Novelties
New store: weaponry
New weapons: mega sword and club
SFX:I have improved (kinda) the sfx, because I didn´t like the old ones
Longer story
For those who didn´t play the original version(most of the people)
The Monk is a game in wich you play a monk who is in search of his true self
To do that he crosses deserts with foxes and snakes, while drinking water regularly, because it is super important
How to play
Use the arrows to move. You have got 30 seconds for each water jar you drink
If you run out of water, you die
Tips
Don´t use all your money on weapons, but weapons are also important. It´s all about equilibrium
Version 1.1: Fixed game over glitch that could occur when pieces were rotated the moment they appeared, pieces can now be rotated clockwise and counterclockwise.
This is a fully playable version of Tetris in fewer characters than a moderate-length email, including:
- Line removal
- Level progression (speed increases after every 10 lines cleared)
- 'Lines cleared' display
- CW and CCW piece rotation
- Soft drop button (with slight delay when next piece appears)
Controls:
L/R-------move piece
Down------soft drop
X-------rotate piece clockwise
O-------rotate piece counterclockwise
Fitting everything in this small a space was pretty tough. I had to cut a few corners, like leaving out the next piece preview, as well as logic to allow movement of blocks once they land, so overhangs are a nuisance. With all that said, though, I worked hard trying to make this an actually decent version of tetris and not just a technical curiousity, so hopefully somebody actually enjoys playing it instead of just staring at the indecipherable souce code. Shoutout to 2dArray, whose Tweetjam Tetris and its genius piece indexing system I built on for this project.
Here's SPY'S DEMISE (an old Apple ][ game) in a TweetTweetCart!
CONTROLS: Arrows right and left. Avoid RedFaces, climb ladders to get to Star!
Once you start moving, you can't stop until the edge, so keep steering to avoid RedFaces!
WORLD RECORD: @Tleprie on Itch.io, 41.66!
Have fun!
(Added a restart for un-minified cart!)
Hi,
I've made a background for my game using tline, and while it works on windows, the exact same cart ran on the raspberry pi displays nothing, just black background.
I've tried on both Windows and Raspberry Pi using the latest 0.2.0h build of Pico-8.
Is tline not available on the Raspberry Pi? Or is this a bug that will be fixed later?
Many thanks
On the pi, no background:
It's the fourth TweetTweetJam! My entry for this Jam is a stripped-down OutRun clone in 559 characters.
There's a couple things I'm proud of in this cart, so I'm posting an annotated, less-minified version of it below.
Controls
Use left and right arrows and stay on the road as long as possible! Sorry, if you crash you may have to refresh the page or reload the PICO-8 widget.
Code
My second entry for TweetTweetJam 4. Chars used: 560.
Rules
Guide your guy to exit ▤stairs while avoiding the 🐱enemies and collecting ♥hearts & ◆picogems.
You can wrap around the edges of the screen - use this to your advantage for stylish dodges and pickups! Though beware: enemies can do this too. Watch your back :)
On each floor, an additional enemy/item will spawn.
Controls
- [⬆️⬇️⬅️➡️] Move
My high score on the final version is about 70◆.
This game was originally intended to be like Zelda, but ended up being more like Robotron without a gun. Enjoy.
Links
Controls:
Arrow keys - Match the arrow pattern
C - Hit C once pattern is finished
Description:
PICO-8 game with only 560 characters. Submission for TweetTweetJam4.
Match the arrow patterns before the time runs out! See if you can beat my hi-score of 210.
Check out the demo video of my hi-score: Speed Arrows Demo
Also check it out on itch.io: Speed Arrows Game
Video:
Code:
Copy and paste the following code into a clean PICO-8 file and you should be able to play it!
poke2(0x3200,2276)function x(n)if d!=n and j(l,#f+1,#f+1)==a [ [size=16][color=#ffaabb] [ Continue Reading.. ] [/color][/size] ](/bbs/?pid=76072#p) |
Hey @zep,
So we've discovered that 0x5f5e is a destination write mask if it's between 1 and 15, such that the write is now presumably something like this:
dest = (dest & ~writemask) | (color & writemask)
It'd be really great if the top four bits of 0x5f5e were a read mask, allowing us to select bitplanes from source pixels/colors:
dest = (dest & ~writemask) | (color & writemask & readmask)
This would be nice for packing fonts and such. It's already doable with pal(), that's true, but you have to set the entire palette to make it work, whereas you could set just the relevant colors with a read mask. Like, if you have a 1-bit font encoded into four layers, and you're picking the second layer, you'd only need to set pal(2,col) to make it work, instead of all 16.
Hi PICO-8 community!
A couple of years ago, I found a puzzle game called "Star" in Rockbox - an open source media player firmware. It was a simple puzzle game in a 16x9 grid and re-creating it has been on my TODO list for about as many years as it seemed like it should be easy, plus I really enjoyed it (it's a bit like Sokoban).
Some reading revealed that it was already a remake, the manual said the following:
> It is actually a rewrite of Star, a game written by CDK designed for the hp48 calculator
Looking for the original got me to a Java (in the browser) version of the game, which didn't work because it's 2020 and... well, Java in the browser. A 5 minute attempt to get this running outside of the browser on MacOS was fruitless and I abandoned it because meh.
I've decided that I'd like to give this a go in PICO-8, which I bought for this purpose. I'm okay (not my day job) with writing code, but have zero experience with game development. The source for Star on Rockbox is
Hi. To make a long story short, I've been trying to get PICOPi to work on my Pi 3.
Yes, I did get the right version of PICOPi, but Pico-8 wouldn't boot up for some reason.
This was happening with the 0.2.0d version, but I wonder if it's already fixed by now.
For those not in the know, PICOPi is a buildroot-based image. The website disappeared recently, but apparently you can access it through the Wayback Machine or something.
my tweettweetjam4 entry, based on the awesome froggy road by 2darray:
https://itch.io/jam/tweettweetjam/rate/331076
It's a pacifist endless space-harrier demake for pico-8, you can;t shoot but must avoid ground obstacles and projectiles (from invisible enemies!)
I'm having problems uploading it to itch.io, so I'll post it here for now
559 chars, here's source code:
x=64u=127z=0q=0h=0n=16y=x
d=0r,g,w=rnd,circfill,x::_::flip()cls(1)b=btn()
k=6((b\2)%2-b%2)x+=k;y=mid(n,y+6((b\8)%2-(b\4)%2),u)h+=.4if(z-h<1)z+=1
if(x<9or x>=u)q+=k/4x-=k
for b=z+n,z-1,-1 do
srand(b)p=(b-h+2)/24m=6+r(9)rectfill(0,w+9/p,u,u,9+b%2)for i=1,r(5)do