Log In  
BBS > Lexaloffle Community Superblog
This is a combined feed of all Lexaloffle user blogs. For Lexaloffle-related news, see @zep's blog.

All | Following | PICO-8 | Voxatron | General

Cart [#balloonsgrs-0#] | Code | 2019-01-08 | No License | Embed
1

A simple endless flyer PICO-8 game, avoid the ground and obstacles, collect balloons to stay afloat!

Controls:

Btn 1 (Z) : Make balloon
Btn 2 (X) : Pop balloon

P#60675 2019-01-08 06:22

Hi,
I know that you can save GIFs in PICO 8 by pressing F9, but is there a way of doing so in Voxatron?

Thanks

P#60672 2019-01-08 01:25

Cart [#dankbot_danger-1#] | Code | 2019-01-08 | No License | Embed
Cart [#dankbot_danger-0#] | Code | 2019-01-07 | No License | Embed

just made my first game, Dankbot Danger!

enjoy!

P#60670 2019-01-07 23:19 ( Edited 2019-01-08 19:44)

Cart [#arena-0#] | Code | 2019-01-07 | License: CC4-BY-NC-SA | Embed

I teach a Pico-8 workshop at the Richmond Public Library (in Richmond, BC, Canada), and this is a simple game that I use for it. I've also ported the game to Scratch, JavaScript, and Python for use in our Code Clubs. It's not fancy, but it is challenging to play and has most of what you need in a game. It's also very easy to expand on to add more depth and complexity.

You are in an arena. There's a wolf chasing you. You have 3 lives. If you can collect 10 coins you can buy your way out of the arena and win. Good luck!

P#60660 2019-01-07 18:16

Sometimes when I play a cartridge from the web player from my phone, PICO-8 will show the splash screen and boot text, and then it will stop before playing the cart, printing the message: "invalid cart[ridge?] format." The issue can be worked around by refreshing, but whether it will then successfully boot appears to be intermittent and may require several refreshes. I have not seen the issue for a couple of days; but I realized I had not reported this nor had I seen it reported, so I thought it would be good to make a thread about it.

P#60657 2019-01-07 16:25

Cart [#lander-0#] | Code | 2019-01-07 | License: CC4-BY-NC-SA | Embed
4

Randomized lunar lander game.

P#60654 2019-01-07 06:12

A short story-based game.

Cart [#aurora_railway_v1-0#] | Code | 2019-01-07 | No License | Embed
8

I made this over winter break (December 2018 - January 2019) for WPI's Chill Jam. It's mostly dialogue but there are some gameplay bits throughout.

The jam theme was "chill," which inspired the setting and failstate-free gameplay and also plays into one other detail.

Controls:

  • Z/X/C: Advance Text and Interact
  • Arrows: Move

There are sound effects, though I didn't get around to making music. Though honestly I don't trust myself to make songs that fit this tonally so that might be for the better.

You can also get this game from itch.io!

And if you want to follow my work, check out my Twitter: @Jusiv_!

P#60650 2019-01-07 03:18 ( Edited 2019-01-07 20:46)

Cart [#soynic-8#] | Code | 2019-01-14 | License: CC4-BY-NC-SA | Embed
7

Gotta go fast!

Controls:

Arrow Keys - Run
X / Z - Jump

P#60649 2019-01-07 02:05 ( Edited 2019-01-14 17:17)

Cart [#littlelattice-0#] | Code | 2019-01-06 | License: CC4-BY-NC-SA | Embed

I made this little cutie with my boyfriend Asher and my friend Johnmark. It's maybe not quite a game considering we didn't quite get to level development but it is playable! None of us had ever made a game in pico 8 before but we thought it would be fun to a little game jam so we did this in two days. I'm pretty proud of it. Johnmark had the idea for the game and he coded it along with designing the title screen. Asher also coded and did the music. I did the art. We're pretty proud of it and we had a blast!

Instructions:
Create a path for the bugs to get to their matching flower.
Use the arrow keys to grow vines.
Use Z to confirm the vines.
Use X to switch vines.

P#60632 2019-01-06 21:07

Cart [#junishikawa-0#] | Code | 2019-01-06 | License: CC4-BY-NC-SA | Embed
7

This is a PICO-8 cover of Green Greens from Kirby's Dreamland.
With credit, feel free to use it however you like!

P#60633 2019-01-06 21:01

 
Cart [#rocket-3#] | Code | 2019-01-07 | License: CC4-BY-NC-SA | Embed
1

A simple vertical-scrolling space shooter.

https://github.com/simonwhitaker/pico-8/tree/master/carts

P#60630 2019-01-06 20:21 ( Edited 2019-01-07 08:51)

Cart [#helium_gunturtle-0#] | Code | 2019-01-06 | License: CC4-BY-NC-SA | Embed
4

This was a project I developed for Kronbits' Demake Jam in August 2018. Multiple updates to gameplay and visuals have been made from the original submission to make the game more enjoyable. The game itself is a demake of Nitrome's flash game Hot Air.

Gameplay:
Control the propeller with the mouse, and click to blow the balloon around.
The goal of each stage is collect all the flowers. The number remaining is indicated by a counter on the top right.

P#60625 2019-01-06 17:37

Cart [#fillpatdraw_02-3#] | Code | 2019-01-07 | License: CC4-BY-NC-SA | Embed
1

FillPatDraw FullColor version

This cart is tool that export code for drawing with FILLP() and RECTFILL().
The Exported data can Execute that using without Sprite sheet.

Rectfill pattern animation

FILLP DRAW (2color version)

Controlls

Sprite sheet view

  • Mouse Left Drag and Click
    1 Select the rectangle to be the source of the delimited block.
    2 Select the length of block from start to end.
    3 Click Export Button for Confirm and Enter the export file name.
    In some cases there is a waiting time of 30 seconds or more.

  • Right Click
    Prev select mode.

  • Tab key
    Open the Menu Window.

Menu

  • PLAY Button
    Start Pattern Draw Preview

  • SAVE Button
    SAVE PNG file and Attach Cart data

  • LOAD Button
    LOAD PNG file and Attach Cart data

  • CLEAR!! Button
    CLEAR Sprite sheet(not Attach Cart data)

Pattern Draw Preview

  • Space key
    Stop and Start the Animation.
  • Left Click
    Step to Next BlockID.
  • Right Click
    Prev to Back BlockID.
  • Tab key
    Return The Menu Window.

How to use the exported code

That code include followings.

  • BlockInfo FillPatternID data
  • draw function

and add your code.

To execute it add the following code.

fillpat.draw(BlockID,x,y)
  • BlockID : Number in Selected Sprite sheet view mode.(start 1)
  • x,y : draw position.(It requires a multiple of 4. and 0)
  • Return value: If ID not found then TRUE else FALSE.

How to add data

That can add to the export data in the following way.

fillpat={cpi=
[[
datablock1
(add datablock2)
(add datablock3)
]]

Draw Sequence

UPDATE

  • rev3: Tuning Encode and Draw performance.
  • rev2: Remove debug code
  • rev1: Fixed can't return on Tabkey
P#60621 2019-01-06 15:29 ( Edited 2019-01-07 14:11)

Purpose: calculating a line-line intersection point

I've been trying to learn physics coding, which also means re-learning math I have long forgotten. Recent studies in vectors, sin/cos, etc. were difficult but successful, so this task seemed like it would be pretty simple. And yet....

I cannot see what I'm doing wrong here.

I've implemented line-line intersection algorithms as transcribed in various places all over the internet, and the resulting {x,y} is always the same. So the answers are consistent, but do not match expectations whatsoever.

Note: I understand this algorithm does not catch all cases, but rather I'm trying to show the simplest form of the problem I'm struggling with. It should be working for the case illustrated, as far as I understand. The line endpoints are chosen specifically to intersect on-screen, but the intersection algorithm will generate negative values in most, but not all, cases (?!?!?)

function line_intersection(line1, line2)
    local p1, p2 = line1.p1, line1.p2
    local p3, p4 = line2.p1, line2.p2

    local a1 = p2.y - p1.y
    local b1 = p1.x - p2.x
    local c1 = a1 * p1.x + b1 * p1.y

    local a2 = p4.y - p3.y
    local b2 = p3.x - p4.x
    local c2 = a2 * p3.x + b2 * p3.y

    local denominator = a1 * b2 - a2 * b1
    local x = (b2*c1-b1*c2)/denominator 
    local y = (a1*c2-a2*c1)/denominator 
    print(x..","..y,0,120)
    return {x=x,y=y}
end

--l1 = {p1={x=10, y=25}, p2={x=25, y=10}} --THIS WORKS
l1 = {p1={x=10, y=26}, p2={x=26, y=10}} --THIS DOESN'T
l2 = {p1={x=0, y=0}, p2={x=60, y=60}}

function _draw()
    cls()
    line(l1.p1.x, l1.p1.y, l1.p2.x, l1.p2.y, 7)
    line(l2.p1.x, l2.p1.y, l2.p2.x, l2.p2.y, 7)
    local intersect = line_intersection(l1, l2)
    circ(intersect.x, intersect.y, 2, 8)
end

Is there a trick to doing this in Pico-8 that I'm not understanding? Other attempts to translate algorithms (say from Wikipedia or Stack Overflow) were successful, so I thought I had a handle on things. It's frustrating being stumped by something that seems so simple. If anyone can point me in the right direction, I'd appreciate the assist.

P#60617 2019-01-06 07:48

Hello!

I am trying to make an unmovable actor (for example, a turret). Ie, the actor collides with other actors, but it is not pushed around.

If I set the actor to not collide with anything, it will not move, but it will also not block other actor's path.

If I set the actor to collide with other actors, It will be pushed around. I tried setting the actor's Density, Gravity, and Friction at around 255, but then I have this weird behavior where if the player
touches the actor, the actor will move 1 voxel TOWARDS the player.

Am I missing something obvious?

Cheers!

P#60615 2019-01-06 06:47

Cart [#zoperisodo-0#] | Code | 2019-01-06 | License: CC4-BY-NC-SA | Embed
2

P#60614 2019-01-06 04:29

Hi all, I wanted to share with you an experiment I've been working on called World of Pico. It uses the GPIO pins to transfer map data from a JavaScript context to the cart, allowing for essentially unlimited maps for exploration when the cart is hosted on a webpage. The demo has 3 maps, but I can see this technique being used in combination with a map server, and eventually allowing for interactivity between the client and server.

The method of data transfer is very similar to how P8T by seleb works. Different values on pin 0 of the GPIO tell the JS app or the cart whose turn it is to read and update the following pin values. If you want to explore the source code or read more about the transfer technique, please check out the GitHub repo.

Thanks for taking a look!

P#60611 2019-01-06 00:29

This level is done by Digital Monkey School student Dhruv with help from Matt and Greg
It was done in the in the course of DMS summer camp :)

Cart [#meduritur-0#] | 2019-01-05 | License: CC4-BY-NC-SA | Embed
2

P#60609 2019-01-05 23:55

Cart [#ftg_ctf-0#] | Code | 2019-01-05 | License: CC4-BY-NC-SA | Embed
3

Capture the Flag -- A Pico-8 2D demake of Quake's Threewave Capture the Flag, for one player.

Features:

  • Blue flag is hard to capture -- you're going to have to try a few times
  • Grappling hook (which you always have, of course)
  • Hand-built pico-8 physics engine with forces and mass ratios
  • A terrifying escape from the blue base

You have to capture the flag twice to win! Tweet your time with #picoctf or share them here.

Given the precision nature of the game, a gamepad is recommended! You can freely download a gamepad-compatible version of the game for Windows, Linux and Macos at https://frogtoss.itch.io/capture-the-flag.

P#60602 2019-01-05 20:07 ( Edited 2019-01-05 20:21)

A Messenger's Tale

Small RPG by JustFire45

Cart [#justfire45_rpg-4#] | Code | 2019-01-05 | No License | Embed
4

This game is also on itch.io!
[https://justfire45.itch.io/a-messengers-tale]

If you're stuck on a boss, here's a list of all the attacks and how to avoid them: [https://docs.google.com/document/d/1W_Es0RyfjGrkglvmxYQ82PdW34Cisggv8SzUXQCdmUc/edit?usp=sharing]

Plot Summary

The Royal Messenger is asked to deliver a very important letter to the East Kingdom, and stumbles across a rare and powerful artifact.

Equipment

Pieces of equipment are hidden in various places, and can help you a lot in battles. Try finding some!

Weapons
Book - 8 ATK
Baseball Bat - 10 ATK
Shortsword - 12 ATK
Harpoon Gun - 15 ATK

Armour
Clothes - 0 DEF
Dad's Shirt - 5 DEF
Brown Hoodie - 10 DEF

P#60587 2019-01-04 23:32 ( Edited 2019-01-20 01:40)
View Older Posts
About | Contact | Updates | Terms of Use
Follow Lexaloffle:        
Generated 2019-06-17 15:51 | 0.185s | 4194k | Q:201