Log In  
Follow
ssergiorodriguezz

You can find me on twitter: @srsergior
And at itch: https://srsergior.itch.io/
My personal portfolio is: https://srsergiorodriguez.github.io/code?lang=en


Cart #pgui-7 | 2024-07-06 | Embed ▽ | License: CC4-BY-NC-SA
48

A GUI library for Picotron!

It includes basic components: boxes, text boxes, text input, buttons, sliders, radio and multiple selection buttons, and color selecter. And layout components: vertical and horizontal stacks, dropdowns, a topbar and a scrollable container.

It can be useful to test game mechanics or to build app interfaces.

You can use this cart and see how it works or check the documentation on the github repository.

(I'll try to make a video on how to use it and post it here too :))

Here's one simple example:
[hidden]

include "pgui.lua"

function _init()
  -- Define the initial value of the slider
	slidervalue = 10
end

function _update()
  -- Refresh pgui each frame
	pgui:refresh()

  -- Create a slider and set its value back from its return value
	slidervalue = pgui:component("hslider",{pos=vec(190,20),value=slidervalue})
end

function _draw()
	cls(5)

  -- Draw the circle, its size is based on the return value of the slider
	circfill(240,140,slidervalue,8)

   -- Draw all pgui components	
	pgui:draw()
end

[ Continue Reading.. ]

48
16 comments



Cart #bebopjukebox-0 | 2023-06-02 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
11

This is a sample jukebox of songs made with bebop, a music generator desktop app I created for making songs for videogames. With bebop you can generate songs in .wav format or export a function that saves the song in your Pico-8 cartridge in the sfx and pattern slots (either momentarily or permanently).

You can find the tool here: https://srsergior.itch.io/bebop

This jukebox has a couple of generated songs that show the type of music that bebop can make. I think that this tool can be useful for giving Pico-8 games that extra musical polish in fast game jams and other projects :)

(it is not an AI tool)

You can freely use any of the songs in this jukebox by downloading the cartridge and adapting the code to your project. Just, please, mention my itch account in your credits: https://srsergior.itch.io/

[ Continue Reading.. ]

11
5 comments



BLOKI

Cart #bloki-1 | 2022-12-05 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
12

This is my second Pico-8 game!

Instructions

This a 1 or 2 player game.

When a player makes a move the block underneath reduces one on its counter, and when it reaches 0 the block crumbles appart. The idea is to make the other player (human or computer) fall.

Controls

In 1 player mode, you can move with either the SEDF letters or with the arrow keys, in 2 player mode one player uses the SEDF letters and the other one uses the arrow keys.

1 player mode has three different levels of difficulty, I used a minimax algorithm to implement the AI.

Other games

I also did a game called POF, a speedrunning boss shooting game: https://www.lexaloffle.com/bbs/?tid=46519

[ Continue Reading.. ]

12
7 comments



POF

Speedrunning dueling game

Cart #pof-2 | 2023-05-30 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
14

Help POF shoot all nightmares away! Can you do it fast?

.

Rules

This is a casual speed duel game. Help POF kill all the monster nightmares as fast as possible and without losing all your lives. Every nightmare has its own behavior, so find the best strategy to defeat each one of them quickly. As you advance, you can buy new weapons and upgrade your stats, choose wisely to improve your times.

This is my first Pico 8 game, let me know what you think,
and don't forget to screenshot and share your best times in the comments!

[ Continue Reading.. ]

14
6 comments