One of the basic problems you might want to solve in doing PCM synthesis is limiting a signal to the range between -1 and +1. Obviously you can just use a mid() function to get hard clipping - the value just locks to the endpoints - but this often has unpleasant side effects. For example, if you hard clip the output, the sound will snap abruptly from smooth to harsh as the volume increases, with very little transition between these. So, people often want to round off that transition, let the sound get gradually harsher, and one of the smoothest options is to use the tanh - hyperbolic tangent - function. Looking at a graph of this function, you can see that it smoothly transitions from reproducing the original x value to squishing it between -1 and 1, just as we often want.
So, I did a bit of experimenting today with sine waves and came up with the following code snippet:
--to use table: -- tanh = lut[x\0x.01] or sgn(x) [ [size=16][color=#ffaabb] [ Continue Reading.. ] [/color][/size] ](/bbs/?pid=140078#p) |
Description
Slug Ballet is an interactive demo that allows you to customize and control slugs of all shapes and colors. You can have up to 32 of them dancing together in a perfectly synchronized fashion!
Controls
Ballet Mode
🅾️ to switch between player/automatic control of the slugs
⬅️/➡️ to control the slugs if player control is enabled
⬆️/⬇️ to add/remove slugs (you can go from 1 to 32)
❎ button to open the customization menu
Customization menu
❎ to get back to ballet mode
⬅️/🅾️/➡️ to interact with the selectors
⬆️/⬇️ to navigate through selectors
Customization Menu
You can have up to 16 styles in action at once. You can see which style you are currently editing at the top of the screen, and there is an "all" toggle to edit every style at once (press ⬅️ when on style 0 to toggle it). The first parameter is the effect that is applied to the slug. Depending on the effect you choose, different selectors will appear, and you can interact with them to try out different styles. You can also randomize the style you are editing and tweak it at will. There are also two global parameters, background color and speed.
This game was created for the New Year New Skills Game jam in the span of approximately 5 days. (I had to finish the jam early).
The theme of the Jam was "Creating Connections".
Snowscape Fixer
Snowscape Fixer is a simple platformer where you go around the map and fix telephone poles.
It is set in a time when phone lines were still important and when today's modern appliances all seem like science fiction.
The main protagonist has the unfortunate luck of working on Christmas with an overly chatty radio operator. He definitely does not want to be there but the job is to be done.
Jump and walk through the levels as the weather gets progressively worse on your journey.
>
JAME CONWAY's GAME OF LIFE
THANKS FOR PLAYING
RULES :
Any live cell with fewer than two live neighbours dies, as if by underpopulation.
Any live cell with two or three live neighbours lives on to the next generation.
Any live cell with more than three live neighbours dies, as if by overpopulation.
Any dead cell with exactly three live neighbours becomes a live cell, as if by reproduction.
More on <a href="https://en.wikipedia.org/wiki/Conway's_Game_of_Life" >Wikipedia</a>
Choose the grid size, then draw your cells
Left click on a color to set cells color
Breakthrough
You can control the bouncy ball and break the blocks.
This was made for the 1k Jam.
I kinda forgot to upload it here, so now its on the bbs as well.
Controls:
- Arrow keys to move around
- Down to accelerate downwarts
- C to open the menu
- D to mute the repeating sound
- Going outside the screen will warp you to the opposite side
Controls in the menu:
- Up and Down to chosse a difficulty
- X to start the Game
Thanks for playing :)
Welcome to Pack Tactics!
Pack Tactics is a party game for 1-6 players* where you each captain a submarine and hunt your target, without them managing to track and hunt you! The game is sort of the inverse of battleship. You need to try and remember where your own ship is, even if you can see your enemies. You can ping to locate yourself and nearby subs, but then everyone knows where you are!
A 2 player campaign is included with 16 levels, but I recommend playing Custom Scenarios with more friends once you get the basics down. PVP is very entertaining.
* I haven't thoroughly tested 6 player games because my computer doesn't have 6 USB ports.
Queueing for play.
Once a level is chosen, the game will prompt all players to press the fire key 🅾️ and confirm they are active. All inactive players will be controlled by Ally AI, unless the game detects it is a PVP scenario. In which case uncontrolled players will become grey enemy AI.
Kumatori Panic inspired by the cover created by eat sleep meep
https://linktr.ee/eatsleepmeep
Rescue all the chicken before they become some nuggets. The game is a kind of snake game but with a bear and chicken....
A lot of old games save space by using the same data for multiple purposes. I’ve seen code used as graphics, code inside graphics, graphics containing map data, and was daydreaming what parts of pico8 could be interesting to use as double purpose.
The game thumbnail seems very promising : 128x128 32 Colors is 10Kb worth which is pretty big for pico8.
There ´s nohing in the api related to it, just a keyboard shortcut to save the current screen to it. It’s hidden when using the built in editor, but you can see it when viewing a .p8 file.
I’m a newbie in lua, and don’t know if it’s a valid lua section, or maybe a type of multi line named comment designed for documentation for example.
Or maybe it’s just part of the .p8 format and never passed to the interpreter ?
If there’s a way in code to interact with it, I’d love to know.
Or maybe the source code is somehow in the scope of the program and can be opened and parsed ?
Hi, all! I've been making Pico-8 stuff for a while and putting it in various places but I decided to finally start uploading it here and trying to be part of this community.
This is Bouncy's Winter Solstice Ride, another greeting card game I sent to my friends and family over the holidays last year. It's a game about sledding around and delivering presents to all the animals in your village.
Hi, all! I've been making Pico-8 stuff for a while and putting it in various places but I decided to finally start uploading it here and trying to be part of this community.
This is Maximum Overdrive 2, which I made for PiCoSteveMo, a game jam themed around the works of Stephen King. It's a non-combat roguelike in which you're trying to survive in a future where self-driving taxis have paved the entire planet.
Hi, all! I've been making Pico-8 stuff for a while and putting it in various places but I decided to finally start uploading it here and trying to be part of this community.
This is Hop's Big Adventure In The Gift Dimension, which I made in 2022 as a Christmas greeting card game for my friends and family. It's a mash-up of Glider and VVVVVV.
Hi, all! I've been making Pico-8 stuff for a while and putting it in various places but I decided to finally start uploading it here and trying to be part of this community.
This post originally contained all four games I'm uploading but it looks like that's not how you make games available on the BBS, so I'm editing it and creating separate posts for each of them.
This is Basil's Adventure, which I made in 2016 as a Christmas present for my wife. It's a platformer in which you play a dog exploring a cave.
Ancient war machines have been escaping the nearby ruins of a factory! It's now your job to clean up the remaining active robots for the safety of your people.
Boss Music by Mendica - https://www.youtube.com/@mendica
Everything else by me