Log In  

Cart #34523 | 2016-12-30 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
16

My 11th one-game-a-month project, and my 3rd Pico-8 game. Mostly procedurally generated, with a few sprites for decoration. Main character by Adam Atomic.

Post high-scores below!



Version 1.2

  • New music and sound by @gruber_music

Version 1.1

  • Improve rendering to remove glitches (thanks ultrabrite).
  • Commented code and removed unused logic.
P#32863 2016-12-01 01:13 ( Edited 2017-07-13 21:31)

Very nice! I got 1247 after 4 tries. Solid game.

P#32866 2016-12-01 05:09 ( Edited 2016-12-01 10:09)

Nice game.

Your clamp() function is the same as the built-in mid().

P#32871 2016-12-01 07:00 ( Edited 2016-12-01 12:00)

Cool game, I got 978M (3 tries). I love the heartbeat sound effect, it adds a lot of stress.

P#32872 2016-12-01 07:11 ( Edited 2016-12-01 12:11)

1538 (5 tries), haha!

P#32875 2016-12-01 08:15 ( Edited 2016-12-01 13:15)

A bit like the ancient Pitfall for the PC, eh? (No, not the game from Activision, an ASCII game where you fell down an unending abyss. It didn't speed up like on here though!)

P#32882 2016-12-01 11:18 ( Edited 2016-12-01 16:18)

Totally awesome game! Good play style and graphics. I can tell you put some passion into this.

P#32883 2016-12-01 11:24 ( Edited 2016-12-01 16:24)

very nice game! can't seem to do better than 967 after numerous tries :-P

i was annoyed by the graphical glitches so I took a look (hope you don't mind):


basically I ended up stealing your 'todo'. (sorry)

    for i=1,#path-1 do

        p1=path[i]
        p2=path[i+1]

        --debug center
        local l=mkline(
            p1[1],p1[2],
            p2[1],p2[2])

        --avoid paralax 
        if l.a.y>mtoy(50)then
            l:draw(1)
        elseif l.a.y<=mtoy(50) and
            l.b.y>=mtoy(50) then
            local l=mkline(             
                p1[1]-p1[3],p1[2],
                p2[1],p2[2])
            l:draw(1)
            local l=mkline(
                p1[1]+p1[4],p1[2],
                p2[1],p2[2])
            l:draw(1)
        end

        --left
        local l=mkline(
            p1[1]-p1[3],p1[2],
            p2[1]-p2[3],p2[2])

        local x,dx = l.a.x, (l.b.x-l.a.x)/(l.b.y-l.a.y)
        for y=l.a.y,l.b.y do
            rectfill(x,y, 0,y, 1)
            x+=dx
        end
        l:draw(13)

        --right     
        local l=mkline(
            p1[1]+p1[4],p1[2],
            p2[1]+p2[4],p2[2])

        local x,dx = l.a.x, (l.b.x-l.a.x)/(l.b.y-l.a.y)
        for y=l.a.y,l.b.y do
            rectfill(x,y, 127,y, 1)
            x+=dx
        end
        l:draw(13)

    end

for some reason line() behaves weirdly inside draw(), no idea why. flr()s wouldn't fix it.
came up with this, seems to work better (same thing as above, actually):

        draw=function(l,col)
            --[[
            for i=0,2 do
            line(l.a.x+i,l.a.y,l.b.x,l.b.y,col)
            end
            --]]
            ---[[
            local a,b=l.a,l.b
            local ly = b.y-a.y
            local x,dx = a.x, (b.x-a.x)/ly
            local bx,bdx = 1, 1/ly
            for y=a.y,b.y do
                rectfill(x-bx,y, x+bx,y, col)
                x+=dx
                bx-=bdx
            end
            --]]            
        end,


edit: indeed there's a problem with clipped line()s:
https://www.lexaloffle.com/bbs/?tid=28133
and that's the sole reason for all the glitches.

P#32884 2016-12-01 11:26 ( Edited 2016-12-02 15:04)

Wow! Lots of fun with this game :) I managed to break 1000 points after 5 tries. Like the music and sound effects, and the procedurally generated map keeps it interesting!

P#32887 2016-12-01 12:09 ( Edited 2016-12-01 17:09)

Offler: Did not know about that, thanks!

Vectorguy: Haven't played *that" Pitfall, but it sounds like a great game :D

Ultrabrite: That's great, thanks! I'll try to find some time to go back and see how it looks with you changes! I actually came to like the glitchy look by the end, but maybe I just convinced myself that so I didn't have to do the work to fix it :)

Glad to hear no-one is finding it too easy :) By the end it was becoming a little easy for me, and I considered adding another speed after 1000 meters.

P#32898 2016-12-02 00:18 ( Edited 2016-12-02 05:18)

intended a gif but somehow forgot about it:

but, well, there was something interesting in the black artefacts on the side...

P#32916 2016-12-02 09:34 ( Edited 2016-12-02 14:58)

Whoooooo... Great game :-)
The concept is quite simple but the implementation is very nice.
Congratulation !!!

I'm happy there's no jam now, you'd be the winner ;-)

P#32917 2016-12-02 10:28 ( Edited 2016-12-02 15:28)

@ultrabrite: looks great! And looks like a significant performance boost! I would always add some "artifacts" intentionally :)

@jihem: haha I doubt it, but thanks!

P#32918 2016-12-02 13:29 ( Edited 2016-12-02 18:29)

1026 m !
Foreseeing the sudden acceleration is the trickiest part.
Love the tiny blue reflection when you graze a wall ^o^

P#32979 2016-12-03 16:08 ( Edited 2016-12-03 21:08)
1

Got 4290m (but I kinda lucked out on the level generation).

Really cool, lots of neat little details like the reflection and particle effects.

P#32981 2016-12-03 17:08 ( Edited 2016-12-03 22:11)

Haven't played *that" Pitfall, but it sounds like a great game :D

Ah, so it was just a coincidence then. But there's several "down" games with this same theme though all over the place.

Yeah, the original game was cool, but I think you had three lives or something, plus you could move your ship up and down as well. Here you've just got left and right, although the original didn't have the speedup that this one does.

P#32984 2016-12-03 18:22 ( Edited 2016-12-03 23:22)

Version 1.1 Uploaded:

  • Improve rendering to remove glitches (thanks ultrabrite).
  • Commented code and removed unused logic.

This is now performant enough to run on Pocket CHIP!

P#32996 2016-12-04 02:01 ( Edited 2017-07-02 05:56)

Nice! Simple, but it's now one of my favorites.

I like the attention to detail like the reflections off the walls. Nicely done.

(And yes, it does remind me of the old Pitfall.exe. I thought I was the only person who remembered that game, but I see Archive.org has a copy, because of course they do. As fun as that game was. This game is way better.)

P#41512 2017-06-10 12:36 ( Edited 2017-06-10 16:36)

And yes, it does remind me of the old Pitfall.exe.

Ha, cool!

I thought I was the only person who remembered that game,

Nope!

P#41701 2017-06-16 17:58 ( Edited 2017-06-16 21:58)

This is awesome! :D

I started making a similar game using Flixel a few years ago (planned to have mine shaft branching, level editor, parachute onto target at bottom, etc.) - but I never finished it coz it didn't feel "fun"... this one definitely does!

Congrats! ;o)

P#41741 2017-06-18 03:40 ( Edited 2017-06-18 07:40)

Great stuff!

P#42323 2017-07-10 15:17 ( Edited 2017-07-10 19:17)

simple but nice!

also, i'm really liking that wavy text effect

P#42444 2017-07-13 17:31 ( Edited 2017-07-13 21:31)

looove the graphics, especially the little details like the glow on the walls and the death explosions.

P#65144 2019-06-10 20:58

9021m

I suggest walls get closer after around 3000m.

P#72060 2020-01-17 18:14

488M. Why he would want to get partially in the cave and say, "Me falling to my death is too easy, here, let me engage turbo rockets so I'll fall even faster." :)

Excellent game design and appearance. Gold star for you.

P#72061 2020-01-17 19:26

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-19 10:42:09 | 0.065s | Q:60