Log In  

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

I'm working on a game using procedural generation and although the game is nowhere near done I thought the generation technique itself was interesting enough on its own to post about.

Rather than try to explain it myself I'll just send you to someone who already has, better than I likely could. BorisTheBrave: Graph Rewriting for Procedural Level Generation

Instead, I'll just share some of my initial results. The general idea is to generate the "big picture" details first and then successively refine them to build a fleshed out so the levels generated here are shown at 1/8 scale. Eventually every pixel in these maps will expand to be one tile at full scale with additional generation filling in the fine details along the way.

Cart #nisofunajo-0 | 2022-11-06 | Code ▽ | Embed ▽ | No License
3

[ Continue Reading.. ]

3
0 comments


Cart #funnitxtmod-0 | 2022-11-06 | Code ▽ | Embed ▽ | No License

supposed 2 be desc but anyway
imma add music to it soon

3 comments


Cart #rocket_shark-0 | 2022-11-06 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
1

1
1 comment


Hey so I was just doing some map work and I was using the cmd+x to move tiles around and I think when I was cutting and pasting somewhere else in the mapview tiles in the shared space it would move the sprites but not the map tiles which was . . . not good and took a while to make sure everything was ok.
It feels like this isn't intentional but I'm not 100%? I'm on 0.2.5c, thanks in advance!
(Like I said maybe this is on purpose since I'm moving the data it's self around in the shared space but in my game I was making I'm using the shared space for sprites and map and it makes it more difficult.)

1
2 comments


Cart #dungeonspirits-1 | 2022-11-06 | Code ▽ | Embed ▽ | No License
4

ne

4
6 comments


Cart #riyohufipe-0 | 2022-11-06 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
4

Credit to blakery, the guy that made C_E_L_E_S_T_E, (a mod of celeste but slower)
I made some changes.

the change is amogus

just call this thing "elest"

4
5 comments


Cart #legend_of_kuna-3 | 2022-11-08 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
27

Controls

  • ⬆️ Walk
  • ⬅️➡️ Turn left/right
  • ⬇️ Toggle basic HUD
  • ❎ [X] Hold for full HUD and ⬅️⬆️➡️⬇️ to inspect the surroundings
  • ⓩ [Z] Open Inventory/Actions menu

How to play

You initially can't do much -except gathering fruits- more items and actions will be unlocked as you progress in the game.
So just explore the islands and:

  • talk to the stone statue/head
  • walk under palm-trees to gather a couple fruits if any

Here be Dragons

The writing "Here be Dragons" at the edge of the map means you can't walk farther at that moment:
the game map is initially just a small portion of the full map, next areas will be unlocked by defeating the enemy creatures, just report your success to the statue (Kahuna).

[ Continue Reading.. ]

27
8 comments


Cart #deeznuts-0 | 2022-11-06 | Code ▽ | Embed ▽ | No License


Cart #tomebigugu-1 | 2022-11-06 | Code ▽ | Embed ▽ | No License


Cart #tomebigugu-0 | 2022-11-05 | Code ▽ | Embed ▽ | No License

7 comments


A few days back @dw817 posted a thread about the number of possible combinations in 256 bytes in which they asked:

> Is there a way to calculate 256^256 ?

And knowing there are all sorts of tools and languages which can handle such huge numbers I cheekily posted the answer and caused a bit of a derail.

Anyway, I had some time on my hands so I figured I'd implement large number support for Pico-8.

Cart #jd_bignum-1 | 2022-11-05 | Code ▽ | Embed ▽ | No License
4

Edit: Fixed a bug in divide()

Is this likely to be of use to anybody? Probably not. Is it major overkill? You betcha! Though in fairness, at 706 tokens it came out smaller than I was expecting.

Features/Functions

  • bignum(n): Create a 'bignum' with value n which is just a regular Pico-8 number. Most operations require both numbers to be bignums. So bignum(16000)*bignum(1254) but not bignum(16000)*1254.

    bignum() is equivalent to bignum(0)

  • divide(bn): You can use the division and mod operators (/, %) on bignums if you only need one or the other. The divide function returns both the quotient and remainder at once.

    q, r = divide(bignum(3)^16, bignum(2)^15)

  • show(bn): Converts a bignum into its decimal representation as a string.
  • factorial(n): Calculates the factorial of n and returns the result as a bignum. Factorials get very big, very fast so the input to factorial is just a regular number.
  • + - / % ^: Arithmetic operators behave how you would expect. All require both arguments to be bignums with the exception of ^ where only the first argument is a bignum and the second is a regular number. Division is integer division only so bignum(3)/bignum(4)==bignum(0).
  • > >= <= < ==: Comparisons similarly require both arguments to be bignums.

Issues

  • The arithmetic operators are all fairly efficent but probably not optimally so.
  • I wasn't taking negative numbers into account at all so I make no promises about what will happen if you try to use them. Maybe it will work! (It probably won't work.)
  • show is extremely inefficient. I'm sure there are better ways to convert very long binary strings to decimal but I'm not familiar with them so this is what I've got. Large numbers (like 52!) may take a bit of time and very large numbers will crash the program as it runs out of memory. (bignum(256)^256 does this, sadly. It calculates the number fine but crashes when you try to convert it.)
4
5 comments


Cart #epicleste-0 | 2022-11-04 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
6

A fun new twist on Celeste

The twist is a secret, so maybe just play it to find out.

6
11 comments


Cart #sudoku_solver-1 | 2022-11-06 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2

A quick and dirty Sudoku solver, may or may not work.

Not sure if there any use-case for such a tool on PICO-8, but here it is.

⚠️ Looking a the source code may or may not induce permanent blindness ⚠️

Controls :

⬆️⬇️⬅️➡️ : move the cursor.
❎ : select a cell/value.
[1️-9️] : fill cell with the corresponding digit if possible.
Pause : access menu.

changelog

2022-11-06:

  • added a solve cell option.
2
6 comments


Cart #downward-6 | 2023-05-04 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
159

Downward

Answer the Call of the Abyss!

What's at the bottom of the pit? Could be anything! Could be everything! I have to find out!

How to Fall


Press ❎ or 🅾️ (x or c on keyboard) to jump into the pit.
Use left and right arrow keys or d-pad to drift during free fall.
Press ❎ or 🅾️ to fire downward, launching yourself up!

Press the right button in the main menu to see the credits.
Press the left button in the main menu to access the hat shop.

Use the up and down buttons to navigate the shop.
Hold ❎ or 🅾️ in the shop to buy a hat.
Press ❎ or 🅾️ to equip a hat you already own.

The Pit!

[ Continue Reading.. ]

159
26 comments




Hello.

I use RND() quite a bit, don't you ?

I have noticed in other game programming languages that you can have a 2nd argument for the rnd() command. Currently Pico-8 does not do this. It's quite useful though. Here's an example:

a=rnd(1,10)

Will for instance choose an integer random number between and including 1 through 10. This:

a=rnd(10,1)

Will give the same results. This however:

a=rnd(-4,4)

Will give you a random integer number between and including -4 to 4.

The function of which:

function rndrange(a,b)
  if (a>b) a,b=b,a
  return a+rnd(b-a+1)\1
end

How about it guys and @zep, do you think this is a good addition for Pico-8, to add a 2nd argument to already existing rnd() function ? Or a new function altogether, rrnd() for Range Random.

4
4 comments


Cart #ada_haunted_house-2 | 2022-11-04 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
8

A game created during a 6-days sprint by 3 software developers in training !
Check out our feminist and inclusive coding school in Paris : Ada Tech School https://adatechschool.fr/

Your goal : find the key to escape this haunted house.
Beware of the zombies... and hurry : you only have 40 seconds to get out !

8
7 comments


Cart #projectunicorn000-2 | 2022-11-03 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
10

Project Unicorn, is a small game where you have to exit the city, and go back to the magic garden and find your mom.
you can press x to fight enemies.

it's our first game, and we're very happy to share it with you !

10
4 comments


Cart #vortex_blackwhole-0 | 2022-11-03 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
7

7
6 comments


Cart #codev_22-0 | 2022-11-03 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
12

WELCOME TO CODEV 22 !
Go back home without getting infected by the virus!

A project by AdaTechSchool students in Paris (Hugo, Maëva et Iris).

All feedback is appreciated, enjoy!

12
4 comments


Here is a little space shooter game done in 6days by me and 2 friends.

1
1 comment


ox4
by XO4
Cart #ox4-2 | 2022-11-03 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
7

By Jeremy Zynger, Joanne Longeville and Nolwen Major Francès.

Check out our feminist and inclusive coding school in Paris : Ada Tech School https://adatechschool.fr/

7
5 comments




Top    Load More Posts ->