Log In  

BBS > Superblog
Posts: All | Following    GIFs: All | Postcarts    Off-site: Accounts

A simple SameGame clone with limited and endless modes.

Cart #raziwapafe-0 | 2024-04-07 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
6

Rules

In SameGame, you need to remove groups of like-coloured tiles from a randomly-generated board. Clearing larger groups of tiles will award you more points. You cannot remove individual tiles.
Tiles will fall downwards if the tiles below them have been removed. If a column is cleared completely, all of the tiles to the right of it will be shifted left to close the gap.

Modes

Both modes start with the grid full of random tiles.

  • Normal Mode
    In Normal Mode, the goal is to remove as many tiles from the board as possible. The score and move counters don't really mean much in this mode.
  • Endless Mode

[ Continue Reading.. ]

6
1 comment


Cart #jaw-0 | 2024-04-07 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
22

Jaw

> The year is 1974. You just got out of the theater and saw that scary shark flick. As you walk home thinking about the movie, you pass an arcade and there it is: A brand-new game based on the movie you just saw. You check your pockets for quarters. Let's do this.

This is my entry for the 2024 FishFest Game Jam. Help Kalea the shark get her dinner. But beware! Barrels of gunpowder, harpoons, and a guy named Quint are out to hurt you. Try to string fish bites together for more points.

How to play

Hold Z or X and release to jump out of the water and eat fish.
Avoid barrels, harpoons and oxygen tanks!

[ Continue Reading.. ]

22
0 comments


Here's a proof-of-concept for a zoomable camera:

Features

  • Multiple cameras
  • Set target coordinates, drawn at the camera center
  • Set zoom factor, for drawing scaled map and sprites

Functionality

  • camera.get_center()
  • camera.set_target(x, y)
  • camera.get_target()
  • camera.start_draw()
  • camera.draw_map(tx, ty, tw, th, x, y)
  • camera.draw_spr(s, x, y)
  • camera.draw_sspr(sx, sy, sw, sh, x, y)
  • camera.end_draw()

Relies on this smap function. Code is below or via GitHub.

Cart #zoomable_camera-1 | 2024-04-09 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
8

[ Continue Reading.. ]

8
4 comments


Is there a way for a keyboard entry when I need an integer from the user?
Especially for this:
https://www.lexaloffle.com/bbs/?tid=141477

On the line of

local playerHand = drawCards(5,cardDeck)

to which 5 can be modified…

btw can the F keys be overridden to a specific integer? (ie. pressing F12 for an integer of 12)

2 comments


This is a silent tutorial video; skip to 2:10 for the juicy bit:

This is an animated wallpaper that shows your custom PNG files -- just place them in a particular folder! It also works as a screensaver. It's cpu-friendly, only drawing during transitions.

Installing

  • load #photo_carousel
  • mkdir /appdata/system/wallpapers
  • save /appdata/system/wallpapers/photo_carousel.p64
  • run the cart once, to generate the appdata folder
  • cd /appdata/photo_carousel
  • folder
  • using your host OS, copy any PNG files into this folder (don't put them in subfolders)
  • set your wallpaper to photo_carousel in System Settings

Settings

Run podtree /appdata/photo_carousel/settings.pod to edit the settings. Be sure to not press enter while editing (this crashes Picotron 0.1.0e) and you must save with the mouse, not ctrl-s (another Picotron bug(?) -- ctrl-s saves the current cart, instead of the settings file)

Set the transition time to 0 to disable transitions

[ Continue Reading.. ]

8
5 comments


Hi all, here's a tutorial for creating a clone of the game 'Tron' (click the image below):

The code can be found below, or on GitHub

Cart #tron_clone-0 | 2024-04-07 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
1

1
0 comments


Hi all, here's a tutorial for creating circular movement, including 'wavy' and circular text (click the image below):

The code can be found below, or on GitHub

Cart #circular_movement-0 | 2024-04-07 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
3

3
0 comments


Cart #crumbling_crypt-0 | 2024-04-07 | Code ▽ | Embed ▽ | No License
10

How to play:

Arrows to move, X to start. You can step twice, before most monsters stepping once. There are exceptions to this rule.

Find Swords and Shields to help you overcome the enemy horde!

Search the key, uncover where the trapdoor is, and progress further to grab the McGuffin.

Devlogs:

If you are interested in game development articles, code breakdowns and alikes, I try to document all my projects over at my Ko-fi Page, free to read!

https://github.com/Achie72/kofi-articles

The cart is fully commented out, feel free to download and check things if you are interested in the inner workings.

[ Continue Reading.. ]

10
0 comments


Cart #rebootrdemo-0 | 2024-04-07 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

Currently a demo, still a lot of things to add.

-- controls
➡️⬅️⬆️⬇️ to move

-- pitch of the game
Rebootr is a game about porn addiction, each level represents a situation you're faced with, each little red guy represents urges trying to get to you, each little green guy represents a task you have to accomplish.
Get as far as you can into the dungeon, run away from the red guys, run after the green ones.

Made by Charlie B. (https://www.fiverr.com/charlie_boud), ordered by J.K.Emezi.

0 comments


Picotron will convert all path/url strings to lowercase, invalidating some URLs.
I've uploaded a few small files (lowercase_file.txt, UPPERCASE_file.txt and incorrect_case.txt) to showcase this

function _init()
	--will try to fetch "lowercase_file.txt"
	lower = fetch("https://www.lexaloffle.com/bbs/files/51368/lowercase_file.txt")
	--will try to fetch "uppercase_file.txt"
	upper = fetch("https://www.lexaloffle.com/bbs/files/51368/UPPERCASE_file.txt")
	--will try to fetch "incorrect_case.txt"
	wrong = fetch("https://www.lexaloffle.com/bbs/files/51368/INCORRECT_case.txt")
end

function _draw()
	cls()
	?lower.."\n\n" --should succeed, succeeds
	?upper.."\n\n" --should succeed, fails (notice how error specifies a request to "uppercase_file.txt")
	?wrong.."\n\n" --should fail, succeeds
end

this issue has been addressed in the future 0.1.0f update

1
0 comments


Cart #huzuwabupi-0 | 2024-04-07 | Embed ▽ | License: CC4-BY-NC-SA
2

Picoroom is a multiplayer experience where you can interact with other users by moving your character around a room.

Getting Started

  1. Enter your selected room.
  2. Link your friends to https://www.lexaloffle.com/bbs/?pid=145948
  3. Ask your friends to enter the same room.

Menu Controls

  • Move down to "Enter room" to enter the room.
  • Left / right arrow keys to change selection.
  • Down arrow key to move to the next menu item.
  • Up arrow key to move to the previous menu item.

Room Controls

  • Arrow keys to move up / down / left / right.

Source Code

https://github.com/mtso/picoroom

2
2 comments


How do you detect ANY keyboard key being pressed on the Picotron? btnp() returns a number if you pass no argument so you can check if it is greater than zero to see if any controller button is pressed. keyp() only returns true or false whether you pass any arguments or not.

1
3 comments


Cart #mcg_agntsekr_1_02-1 | 2024-05-03 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
14

Agent Seeker

A PICO-8 Spy Hunter demake/remake/homage

Overview

Agent Seeker is a fast-paced, reflex-taxing game built in the style of the original Spy Hunter, one of the greatest video games ever created. [no citation needed]

Drive your heavily-customized luxury sports car down an endless roadway, protecting innocent motorists from a rogue's gallery of menacing enemy agents. Use machine guns, oil slicks, smoke screens, flamethrowers, and armor-piercing cannons to stop as many enemy agents as you can!

Controls

Arrow keys/D-Pad: Drive (l/r to steer, up for gas, down for brake)
Z key / O button: fire machine guns (front-facing, infinite ammunition)

[ Continue Reading.. ]

14
6 comments


Cart #tinyhawk-2 | 2024-07-10 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
136

I'm hoping you can figure out the gameplay controls, but beyond that - L = load the sample level (you may recognize it), E = enter/exit edit mode, G = eliminate excess grind rails, S = save to printh output, left click = place object, right click = change object, mouse wheel = elevation change, Q = rotate object, D = delete at cursor.

2
1 comment


So you want to print a star ★ on screen without drawing it? Just do:
print("\146", x, y, col) \146 is the Picotron character value of the star symbol

Here's the list of all codes we found working in Picotron:

Buttons

\code - symbol - name

  • \131 - ⬇️ - Down Key
  • \139 - ⬅️ - Left Key
  • \145 - ➡️ - Right Key
  • \148 - ⬆️ - Up Key
  • \142 - 🅾️ - O Key
  • \151 - ❎ - X Key

Symbols

\code - symbol - name

  • \16 - ▮ - Vertical rectangle
  • \17 - ▬ - Horizontal rectangle
  • \18 - Horizontal half filled rectangle?
  • \22 - ◀ - Back
  • \23 - ▶ - Forward
  • \24 -「 - Japanese starting quote
  • \25 - 」- Japanese ending quote
  • \28 - 、- Japanese comma
  • \29 - ▪ - Small square (bigger than a pixel)
  • \31 - ⁘ - Four dots
  • \128 - ■ - Square
  • \129 - ▒ - Checkerboard
  • \132 - ░ - Dot pattern
  • \134 - ● - Ball
  • \143 - ◆ - Diamond
  • \144 - .... - Ellipsis

[ Continue Reading.. ]

22
6 comments


Reading my latest tech news seems to suggest that Apple will allow emulator apps on the iPhone. I know PICO8 isn't an emulator like the console ones, but it sounds like it might fall under this line I read from the Ars report:

"Apps may offer certain software that is not embedded in the binary, specifically HTML5 mini apps and mini games, streaming games, chatbots, and plug-ins."

I don't know jack about making apps, getting the approved, or any of the rules they have to abide by...just saw it and my first reaction was hoping it meant something like Splore could become an app and load our games on the phone...??

https://arstechnica.com/gadgets/2024/04/apple-now-allows-retro-game-emulators-on-its-app-store-but-with-big-caveats/

2
0 comments


Cart #snowfall-1 | 2024-04-22 | Embed ▽ | License: CC4-BY-NC-SA
8

Made this to try my hand at using sin and cos to draw shapes. plus i just wanted to make some snow :3 I overclocked it with the number of snowflakes because i wanted to see as many as possible. the framerate drops aren't so bad for the subject matter anyway...

EDIT: 1.1 Update!

  • number of flakes and max radius fluctuates now so it's a much more dynamic screensaver
  • refactored the code in a separate lua file for easy implementation into other projects
  • "manual" mode with button inputs for messing around, also intended for anyone who wants to use this for their own thing. to access this, load the cart and set "manual" to true in snowflakes.lua
8
2 comments



PHOTOSENSITIVE EPILEPSY (PSE) - SEIZURE WARNING FLICKERING IMAGES!

Just finished a write-up on this but managed to lose it somehow, so here's the short version.

Trying to write a couple of my own Triangle Fill algorithms before digging into any of the ideas presenting in this thread:

https://www.lexaloffle.com/bbs/?tid=31478

One of the algorithms I tried poorly "borrows" ideas from Brenesenham's Line Drawing Algorithm found here:

https://en.wikipedia.org/wiki/Bresenham%27s_line_algorithm

4
2 comments


Optimal Popsicle Obstacle

More of a brain twister than a tongue twister

Cart #popsicle1_0-0 | 2024-04-06 | Embed ▽ | License: CC4-BY-NC-SA


You run an out-of-the-oridnary popsicle stand, setting out your treats at night and only selling them at the end of the day. Within this time, they can melt, sog, or even worse. Your profit depends on how well you can stick, stack and freeze together your goods in order to create the optimal popsicle obstacle.

0 comments


Cart #undertalefight-1 | 2024-11-24 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
6


This is a simple Undertale Fight thingy.

6
2 comments




Top    Load More Posts ->