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

Is there any way to do the following?

t = {
  "key 1" = "foofoo",
  "key 2" = "barbar"
}

We can't use quoted keys when defining a table, but we can use them when adding elements.

t = {}
t["key 1"] = "foofoo"
t["key 2"] = "barbar"

Is this "just how things are?" because it would really be beneficial to be able to do it all inline and build out a complex table structure without having to isolate out special cases and insert them as a separate sequence of setter calls.

(the example above uses spaces in the key intentionally, where it might be a substring paired with its substitution or maybe I just want to make it very clear in the definition that some of the keys represent specific words, like vocabulary words; don't get me wrong, I know lots of workarounds, but sometimes the workarounds are a drag, especially when it looks like we're so close to just having a simple way of doing things)

--EDIT
Clarification here. The first example fails to compile with a "missing {" error when trying to use inline quoted keys. @fred72 shows below that wrapping those in square brackets allows for using the quoted key without resorting to the second method shown.

P#91621 2021-05-07 03:00 ( Edited 2021-05-07 07:55)

Cart #picobike-0 | 2021-05-06 | Code ▽ | Embed ▽ | No License

any ideas or comments for improving the speed sensation?

P#91601 2021-05-06 20:44

Cart #canyonmarket-0 | 2021-05-06 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

Probably the last update for a minute while I wrap up my finals this semester.

Enjoy!

P#91598 2021-05-06 18:34 ( Edited 2021-05-06 18:35)

Cart #barrels2-0 | 2021-05-06 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2

Here's a visual mod of Celeste 2 I made yesterday. The barrel is also a little bit faster than Lani, but besides that, not much is different for Barri.

All credit for the original game goes to Noel, Maddy, and Lena https://mattmakesgames.itch.io/celeste-classic-2

P#91597 2021-05-06 18:27 ( Edited 2021-05-06 18:28)

Cart #oh_high-0 | 2021-05-06 | Code ▽ | Embed ▽ | No License
2

Introduction

Oh High! is an endless-climber were you trying to climb as high as you can.
To make it both accessible and tricky you only control the bird with one button.

Good luck!

Controls

Keyboard

Take a step: Z / X

Controller

Take a step: A / Y / B / X

Hold button for standing still.
Standing still will replenish stamina!

Credits

Sebastian Lind
Follow me on Twitter

P#91595 2021-05-06 17:55

Cart #gasefabufe-1 | 2021-05-06 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
1

Here's a quick and dirty cart that will merge 2 PNGs into 1.
Assumptions: Use black, white, with Pink for transparent.
Drag first image onto cart.
Drag second image onto cart.
Output is saved in the sprite sheet.

This will only work on desktop pico8.

-ElectricGryphon

+

=

P#91562 2021-05-06 06:16

Cart #picopill-0 | 2021-05-06 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

I present to everyone a very snappy Dr Mario clone called Pico Pill. My goal was to code an action puzzle game that I want to play with tight controls, and I think you'll enjoy it too if you give it a try!

If you have prior experience with Dr Mario, you'll feel right at home while noticing some significant differences at the same time. Instead of choosing level and speed, the game is a progression of 40 levels (no speed selection), and the speed on each level progresses from very slow to blazingly fast.

While the gameplay itself is solid, this is a "version 0.1" due to the potential polish that could be added to the game. Most remarkable is an experimental idea where at high levels, the pills drop slowly near the top to preserve fairness.

I'm never sure if/when I'll be improving and polishing my games for another release, but feedback and ideas are always welcome! Enjoy!

P#91558 2021-05-06 01:13 ( Edited 2021-05-06 01:31)

On my looking glass 15.9, the game renders off center and overall wrong if the monitor DPI is not set to 100%. Picture is of 150% DPI, which windows defaulted to for the display when I plugged it in.

I'm going to wager that this happens on the portrait as well, but I don't have mine yet.

HoloPlay Service 1.2.0.

P#91543 2021-05-05 19:06

Cart #galacticon-0 | 2021-05-05 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
4

Welcome to Galacticon. You're a space fighter pilot in a fierce uphill battle, pitted against hundreds of alien invaders who have shattered your home planet. How many aliens can you shoot down to avenge your home?

Arrow keys to move, X to shoot.

You can adjust the number of enemies to spawn both in the title screen and after dying.

This is my first game, so it's nothing special, but I hope you enjoy it!

Have fun!

P#91520 2021-05-05 10:09

Cart #liltest2-0 | 2021-05-05 | Code ▽ | Embed ▽ | No License

Lil' Test is back with... not a lot of changes...

Still, I hope you have a better experience!

This post, once again, will stay up for a limited time

P#91516 2021-05-05 03:28

Cart #yerotawaru-0 | 2021-03-26 | Code ▽ | Embed ▽ | No License
1

P#91514 2021-05-05 00:39

Is it planned to release Voxatron on a VR platform? It would be amazing imo, maybe it could even support 3D cursors or multiplayer!

P#91504 2021-05-04 20:27

[Under spam review]

P#91496 2021-05-04 16:59

I know this might sound stupid, but I don't know why the demo uses 4 cocktail sorts to sort through all points. Is there a good reason or is this just a result of experimentation?

P#91489 2021-05-04 15:10

Cart #liquorstore420-1 | 2021-05-04 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

P#91480 2021-05-04 09:05

Cart #jakfuzafo-0 | 2021-05-04 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

P#91468 2021-05-04 03:31

Cart #serominohu-0 | 2021-05-03 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

An IST game that I made for my assignment, meant to show off my abilities and what I have learnt throughout the term. Definitely not a completed game

P#91462 2021-05-03 23:28

Cart #ritz_odyssey-0 | 2021-05-03 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2

My first game on PICO-8!

Help Ritz reach and defeat the Agnaktor

Keep your stamina up by eating meat and avoid all the dangers in your way.

Controls:

X - Jump
Z - Dash (Hold)
Left - Brake

P#91457 2021-05-03 23:12

Cart #void_protocol_v1-0 | 2021-05-03 | Code ▽ | Embed ▽ | No License
14

Controls

Left/Right/Up/Down - Move Spaceship
X - Fire Projectile

Gameplay

Fight your way through up to nine levels, firing and collecting your projectile. Can you find all three endings? Defeat the enemies, seal the breach, repeat!

The game is also available to play at https://kevinthompson.itch.io/void-protocol.

Developer Notes

This game was originally created for the first Eggplant Show community game jam (https://itch.io/jam/eggplant-podcast-community-game-jam). I developed everything using an object-oriented structure that resulted in a pretty solid prototype, but ultimately chewed through tokens pretty quickly. I plan to revisit this game in the future in order to reclaim tokens, add more enemies, and possibly bosses and a high score system as well.

The expanded source code for the game is available on Github (https://github.com/kevinthompson/void-protocol-p8).

Credits

Music by Gruber (https://www.patreon.com/Gruber99)
Design/Art/Code by Kevin Thompson (https://twitter.com/kevinthompson)

P#91453 2021-05-03 22:17 ( Edited 2021-05-03 22:17)

Cart #flags_for_friends_v1-1 | 2021-05-03 | Code ▽ | Embed ▽ | No License
7

What do an excitable asexual pirate, a cultured genderqueer vampire, and a lesbian bird who may be at an important decision point in her life all have in common? They're all your friends, and they're all counting on you to make an absolute banger of a flag for them! In Flags for Friends, you play as a queer artist in a post-scarcity era and make custom pride flags for -- wait for it -- friends!

Design the Perfect Flag!

  • Use a limited toolset to create an awesome flag based on thoughtful prompts provided to you by your friends
  • Or, go rouge, and make whatever the heck you like!
  • Design the perfect flag using only the colors of your favorite pride flag - plus, one extra, customizable color, for that extra bit of flavor
  • Add stickers!
  • Patent-pending "undo" technology lets you correct your mistakes

Super Freaking Gay!

  • Made for Nonbinary Jam, Flags for Friends is inexorably queer!
  • Diverse cast of 6 characters of different orientations and identities
  • Twelve built-in pride color palettes
  • Plus, the ability to create your own by choosing from a whopping 32 colors!

Export Your Creations!

  • Press F4 (desktop only) to save a perfect loop showcasing your awesome new flag
  • Select the perfect backdrop of a set of 7 procedural animations
  • Copy / paste your flags as plaintext by hitting c and v!
  • You're free to do whatever you please with this!

Meet New Friends!

Flags For Friends features a diverse cast of six characters of all different orientations and identities, at different stages in their life! Even better, several of them are from other awesome indie games! Check them out:

  • Video Hole, by JofiSoft, featuring June!
  • Gardener and the Wild Vine, by Finite Reflections, featuring Gardener!
  • Millennium Maximus, by me, featuring Captain Jack "Blackjack" Piratebeard!
  • Wandersong, by Greg Lobanov, featuring Kiwi
P#91451 2021-05-03 22:00
View Older Posts
Follow Lexaloffle:        
Generated 2021-05-07 13:45:24 | 0.181s | Q:85