Log In  

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

Using the cough undocumented cough stat(102) from a game hosted on itch.io, I got back:

v6p9d9t4.ssl.hwcdn.net

This is indeed the url of the iframe (which doesn't help).
A more correct behavior would be to report the parent page url, with the benefits of:

  • having a predictable outcome
  • actually preventing rogue hosting (somehow...)

Note: Looking at the HTML, I see that url is retrieved from:

var str = window.location.hostname;

Using that alternate code would fix the bug:

var str = (parent !== window) ? document.referrer : document.location;
5
1 comment


Cart #dzlovesjw-0 | 2019-07-20 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
10

Demozoo <3 Janeway - a demoscene intro presented at Nordlicht 2019 to announce the collaboration between Demozoo and Janeway, two of the biggest databases of demoscene releases.

10
0 comments


Hello there!

I've been dabbling in pico-8 for about 2 years now, I've only just got into proper development with it these past few months though. I'm wondering if there might be a way to get URL parameters in the browser to use in the cartridge?

I've managed to compress my level design to a string of about 25 characters, and I thought it would be really cool for players to easily share their levels by simply copying the URL. Of course I would need to host the cartridge on my own site, perhaps there's a way to run the cartridge with parameters using JavaScript?

2 comments


Cart #nowowibibi-0 | 2019-07-20 | Code ▽ | Embed ▽ | No License
7

Arrow Keys to Move
Z to Dash

Avoid the pink obstacles that come to the beat!

This project is based one of my favorite games ever, Just Shapes and Beats (long for JSAB)

Thx to Robby Dugauay for music

To Do List:
-Death Animation
-Progress Bar
-Goal
-Particles
-Restart Button

Please give me constructive criticism if you can.

7
6 comments


Basic movement can be facilitated through:
if btn(0) then x-=1 end

But when I add sfx:

if btn(0) then x-=1 and sfx(0) end

It always generates an error as soon as that button 0 is pressed. Why is that? If x then y and z end. Is there something wrong with that syntax? Or is it related to sfx not working in this way?

And why is it when I clarify with brackets it doesn't even run!? Am I clarifying that my syntax is wrong before teh game starts? That's funny.
i.e.
if btn(0) then (x-=1 and sfx(0)) end

1 comment


Cart #bejogoduno-1 | 2019-07-22 | Code ▽ | Embed ▽ | No License
1


controls: left & right for cursor, (O)/(X) (Z/X on keyboard) to activate rocket (or restart after game over)

A crappy little endless game. Almost playable, but pretty unfinished (no menus or anything, and there's some states you can't get past). Mostly only here so I can share a WIP with my friends more easily~

I find myself not really finishing any game projects I start, so I'm starting over smaller. Probably with stuff loosely based on random puzzle games I looked up, like this one is.

(also hi first post here I guess)

Update 0.2

  • redid the graphics so the obstacles don't look like targets
  • also it's prettier now (screenshake, particles, bg, new sprites)
  • I bothered to let you reset from in-game now

[ Continue Reading.. ]

1
1 comment


Super quick and dirty BB-8 movement using GreyGraphics sprite rotation.

Cart #bb8roll-0 | 2019-07-19 | Code ▽ | Embed ▽ | No License
5

5
3 comments


Cart #jokenpico-0 | 2019-07-19 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
5

Jokenpico is Jokenpo with a twist with code that fits in a tweet!

It is a 2-player game.

Controls:
RIGHT is rock
LEFT is paper
UP is scissors

The diffence from regular jokenpo is the score:

If Scissors wins: +4 points
If Rock wins: +2 points
If Paper wins: +1 points

At a first glance scissors seems overpowered with 4 points, but it wins against paper (1 point), so it is less likely that your opponent will use paper.

(an easy way to remember each score is: scissors cuts paper into 4 pieces, rock smashes scissors into two halves and paper wraps stone into one ball)

5
0 comments


Cart #yinadebazi-6 | 2019-07-26 | Code ▽ | Embed ▽ | No License
6


It's endless first person mazes in "ASCII". A-maze-ing!

Update 7/26/19:
Added dungeon generator code.

6
2 comments


Cart #nondidjos_dettd_01-0 | 2019-07-19 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

this is the first version of my transport tycoon demake, this post is mainly intended to allow me to share my progress with other people

0 comments


Cart #kezebukowa-4 | 2019-07-20 | Code ▽ | Embed ▽ | No License
10


197 country names and their beautifully stretched tiny square flags!

10
6 comments


Cart #bezzy-0 | 2019-07-18 | Code ▽ | Embed ▽ | No License
7


Hi guys,

I was working on a train game when it hit me that i have no idea how to make a smooth curve.
So I came across bezier curves and after reading some math articles I managed to write a function myself.
Even though many other people have shared thier version here is my bezier curve, with only a single control point sadly (I will figure out the rest later).

Here is the code i have tried to make it very eazy to implement into other projects (since I was gonna use it for my train haha).


function lv(v1,v2,t)
    return (1-t)*v1+t*v2
end

--Quadratic Bezier Curve Vector
function qbcvector(v1,v2,v3,t) 
    return  lv(lv(v1,v3,t), lv(v3,v2,t),t)
end

--draw Quadratic Bezier Curve
--x1,y1 = starting point 
--x2,y2 = end point
--x3,y3 = 3rd manipulating point 
--n = "amount of pixels in curve"(just put it higher than you expect)
--c = color
function drawqbc(x1,y1,x2,y2,x3,y3,n,c)
    for i = 1,n do 
        local t = i/n
       pset(qbcvector(x1,x2,x3,t),qbcvector(y1,y2,y3,t),c)
    end
end

[ Continue Reading.. ]

7
2 comments


Cart #r0ace-0 | 2019-07-18 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
1

Hi! First of all sorry for my poor English. I'm proud to present you my first ever video game: R0-Ace (a 8191/8192 tokens hell 😜). It's a shmup inspired by the danmakus and bullethell Japanese games. There is 5 levels with bosses and sub bosses:

If you find anything wrong or any bug please report it. This is the Easy mode version. In the near future I'll release three more game modes.

Thank you for playing!

1
2 comments


Cart #nivz_skyattack-1 | 2019-07-18 | Code ▽ | Embed ▽ | No License
8


My work in progress retro demake of one of my favourite childhood games: Sky Attack

8
5 comments


Cart #hypercolor_paint-0 | 2019-07-18 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
32

Introducing Hypercolor Paint, a high-color painting application for the PICO-8.

Features:
Paint in either high color mode (flicker) or standard (dithered) mode.
While editing, pixels are treated as 56,535 level 3-channel color.
Use a variety of brushes, with control of color, size and pressure to achieve desired effects.
Save images (requires download)
Export images (requires download)

Example Images: (High color mode is simulated)

[ Continue Reading.. ]

32
7 comments


Each of these games fits inside a single tweet.

Cart #gimufopapi-0 | 2019-07-17 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
3

An Out Run style game with a day/night cycle. Left/right to move.

Cart #tezenibaro-0 | 2019-07-17 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
3

You are a bird that must collect falling seeds in this arcade game. Up flies up, left/right move sideways. If you fall out of frame, you are just outside and need to move back in; if you fall below, all you have to do is hold up and you should reappear.

[ Continue Reading.. ]

3
0 comments


Cart #mrblast-0 | 2019-07-17 | Code ▽ | Embed ▽ | No License
24

24
3 comments


Hello, I'm happy to announce Fantasy Console Game Jam 4 hosted by Nopy and pixelherodev.

Pick your best fantasy console and make a game in one week!

Join the discord server if you haven't already: https://discordapp.com/invite/sFeDxWK

1
1 comment


Cart #graph_adventure-1 | 2019-07-17 | Code ▽ | Embed ▽ | No License
11

Here's a project I've been working on. It started as a simple viewer for different graphs, but then it turned into a platformer. The game is fully playable, but it needs some additional content, which is why I put it under Work in Progress.

What makes this project interesting is the fact that I didn't use any sprites or the map editor at all. Every stage is constructed using functions. Funtions can be very powerful for setting collision, as this way you can make pretty much any shape you want. You can also make the terrain dynamic and depend on time. I also added some simple physics into the game, utilising the difference in values of the function for the ball to gain some speed, but it could definitely be better. It's a bit slippery, but I wanted the ball to have some sense of momentum.

[ Continue Reading.. ]

11
6 comments


can someone tell me why I am running out of memory?

Cart #jajefutayu-1 | 2019-07-18 | Code ▽ | Embed ▽ | No License

@Catatafish I completely changed the question I realized i do not have an infinite loop. I just assumed since I was running out of memory.

this line seems to be doing it and idk why..

o:procx()
4 comments




Top    Load More Posts ->