Log In  

BBS > Community Superblog
All | Following | GIFs | Off-site

Hello all.
I'm probably missing something really important but I'm trying to put a gradient sky on my game.
I spotted some code I thought would do the trick in another thread.

```
poke(0x5f5f,0x3c) -- 0x3c is the colour of the blue sky to be replaced.
pal({[0]=0x82,0x82,0x84,0x84,4,4,0x89,0x89,0x8e,0x8e,0x8f,0x8f,15,15,0x87,0x87},2)
memset(0x5f70,0xaa,16)


It's supposed to do a sunset gradient-styled sky, but I only get this:



Editing the colours in the table result in the same!

Ideally, I'd like it different shades of blue as in the other example, but I'll cross that bridge later.

Can someone please help out with what I'm doing wrong?

Thanks in advance
1
6 comments


How can you move something along an outward spiral with consistent speed?

The method I have been using to make stuff move in circles doesn't quiete work with spirals because the change in angle stays the same while the circumference gets bigger.
This causes the object to accellerate as it moves outwards.
Is there any way around this?
I tried changing the amound by which "t" changes each frame to act as a speed correction but I get weird results, because it either goes below zero and changes direction or I run into the fixed point limit because all values are so small. Not that any values I tried to dercrease "spd" by each frame actually fixed the accellaration issue before acting up in the first place.
This gets even worse at 60 fps of course.
I don't feel like I am coming at it from the right angle.
Am I missing some completely different way to make spirals?

out=10
t=0
spd=0.01

function _draw()
	cls()
	out+=.2
	spd-=.0001
	t+=spd

	circfill(sin(t)*out+64,cos(t)*out+64,1,5)
	print(t)
	print(spd)
end
1
9 comments


I was looking at the Pico-8 changelog and saw that themes were made easier to change. this got me thinking, how hard would it be to make a custom theme, or even accompanying thememaker.exe program? this seemed really cool to me, so i threw myself headfirst into pico-8's files. here are my findings/questions i have.

Firstly, in "pico8.dat" i found that it not only contains data code which i have no idea what it contains, but it also contains a lot of pico-8 code! after a bit of digging, i found that in this order, this pico-8 code is:

1: the pico-8 boot sfx
2:pico-8 democarts
3: i have no clue

I also found around 5 copies of the same lines of terminal syntax (eg 'ls' 'folder' 'load' etc.), which is interesting. i was mainly looking for the color codes that tell pico-8 what colors certain UI elements are, but i could not find them. they had to be in the mess of .dat stuff.

After awhile, i found that pico8.dat is byte-checked, meaning that pico-8 wont boot if pico8.dat has been altered at all. makes sense, it would significantly impact monetary gain if everyone could just write their own pico-8.

[ Continue Reading.. ]

1 comment


Took a shot at arranging a beautiful song into a chiptune version.

Does it work?

Should I finish it?

Cart #optimistic_1-0 | 2023-08-22 | Code ▽ | Embed ▽ | No License
17

Original song: Epic Mountain - Optimistic Nihilism

17
4 comments


Cart #roastmaster-1 | 2023-08-23 | Code ▽ | Embed ▽ | No License
6

Hello! This is my first ever pico 8 game, my first ever game jam entry, and my first ever completed game! I'm very proud to have completed my first project, and I think it's very fun. I've yet to implement an ingame tutorial, but here is some more detailed info:

Ever wanted to be a top notch #1 barista worker? Play RoastMaster™ to achieve the highest score without messing up an order!

CONTROLS

Arrow keys - navigation

"X" / "A" on controller/keyboard - select

On Gameover, press "z" or "b" on controller to reset the game

"Esc" / "Start" - pause game / reset / options

[ Continue Reading.. ]

6
2 comments


Cart #dewimerojo-0 | 2023-08-21 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
1


Cart #dewimerojo-1 | 2023-08-21 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
1

1
1 comment


Cart #particletest-0 | 2023-08-21 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
21

Particle Effects

Sixteen different kind of particles based on same generation method. I get the idea of the main function and loop of the particles from Youtube video of "Particles in Pico-8 - The Ultimate Guide" from SpaceCat.

All functions work and genrate particle when "O" button is passed. The particles can be implemented to other carts by only copying the function into the code. So, everyone is free to use the particless as long as they refer to my work :D

21
4 comments


update 2024: the 0.2.6 update improves things! search the update post for menuitem(0x301 for details. (My original menuitem post remains below, unchanged)


PICO-8 has fancy menuitems but there are some gotchas and bugs to be aware of.

Here's an example of what I do by default; the rest of this post will explain how the code works and why I do things this way:

Cart #menuitems-1 | 2023-08-21 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
7

L/R pitfall

Imagine you want to add a "mute" button to your game's menu. Can you spot the issue with this code?

[ Continue Reading.. ]

7
0 comments


Cart #kejnurutu-0 | 2023-08-20 | Code ▽ | Embed ▽ | No License
4

4
0 comments


Cart #wetutafedi-0 | 2023-08-20 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2

2
2 comments


it's not a game at all it's just a reimagining of five night's at pico (https://www.lexaloffle.com/bbs/?tid=31672) (the gif is pretty bad)

3
1 comment


Info:

I thought I would share this alpha of an fps I am working on. It is far from finished but I thought some feedback
would help.
most if not all graphics are placeholders.
If you want to look around the code of modify it, its fine with me. I have also uploaded the Base engine, but it is
missing afew variables for draw distance fov and similar things.

Controls:

p2 left and right to look around.
p1 dpad to move.
press p2 up for the map, and down to shoot.
pressing p1 X/O will switch weapons which hasn't been fully added.
on the menu you can change the draw distance and scaling of lines,
you can also force change the game state.

betas:

Cart #sazopibubu-0 | 2023-08-20 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2

[ Continue Reading.. ]

2
0 comments


Cart #wudofiboza-1 | 2023-08-20 | Code ▽ | Embed ▽ | No License
4

4
0 comments




Cart #zayirerohu-0 | 2023-08-20 | Code ▽ | Embed ▽ | No License
1

1
1 comment


-

Cart #zerkdev_mmm_1-2 | 2023-08-20 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
15

Overview

Welcome to "Memory Matching Madness," a captivating memory matching card game that will test your memory and perception. Immerse yourself in this classic game with a twist, featuring smooth animations and dynamic gameplay.

Controls

  • Controller support by default. Testing done with keyboard & Xbox Controller
    • Directional Pad: Move Cursor
    • A Button (Xbox) / Z (Keyboard): Confirm / Flip Card
  • Mouse support toggled in PICO-8 Menu.
  • Touch support toggled in PICO-8 Menu.

How to Play

Playing "Memory Matching Madness" is simple:

  1. Click on two cards to reveal them.
  2. Match pairs of cards to make them disappear.
  3. Keep matching until you've cleared the entire grid.
  4. Earn new pairs by completing grids

Credits

  • Game Development: ZerkDev
  • Soundtrack: Inspired by Nintendo classics
    • Title theme inspired by: Game & Watch Gallery 1
    • Setup theme inspired by: Super Mario Bros 3 Card Matching Mini-game
    • Stage theme inspired by: Ice Climbers
  • Special Thanks:
    • My wife and siblings for their support.

[ Continue Reading.. ]

15
4 comments


Cart #dominodungeon-13 | 2024-01-18 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
10

10
2 comments


Cart #fotiromawu-2 | 2023-08-19 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
4


Cart #fotiromawu-0 | 2023-08-19 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
4

4
0 comments


Cart #petpet-0 | 2023-08-19 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
3

3
0 comments


Cart #arabnights-0 | 2023-08-19 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
33

Controls:

⬆️⬇️⬅️➡️ move
⭕️ [Z] Jump / Fire
❎ [X] Skip speech / continue

Story

Guide Imrahil the Kalendar Prince through the perils of many Arabian nights. On certain nights, he must gather golden jugs, engraved with letters, in the correct order to spell out 'ARABIAN' (the platform stages).
At other times, he rides on rafts and flying carpets through Arabia, casting bolts of lightning at his foes. His quest for the princess Anitra is long and difficult - many dangers lurk in the Arabian night!

Remake:

The original game for Commodore 64 "Tales of the Arabian Nights"
(c)1984 Interceptor Micros. Written by Ian Gray.

[ Continue Reading.. ]

33
27 comments




Top    Load More Posts ->