Log In  
Follow
CyanPrime
SHOW MORE

Hi, I haven't been on here in a long while, but I do own a copy of Pico 8, and even have a game WIP (That I never finished) and when I finally logged back in to give Pico another shot it seems I can't download any version of Pico 8. Can someone explain whats going on, and maybe fix it if it's a bug?

P#108063 2022-03-04 23:55

SHOW MORE

Hi, guys. So I'm trying to get some faster collision detection going, but I think what I got is way too slow still.

--p = object 1 (size is 8px)
--af = object 2 (size is 8px)
check = true
                    if(p.x + p.width < af.x) then check = false end
                    if(p.x > af.x + af.width) then check = false end
                    if(p.y + p.height < af.y) then check = false end
                    if(p.y > af.y + af.height) then check = false end

                    if(check) then
                        --if our player is inside a after image
                        if( p.x >= af.x and p.y >= af.y and p.x <= af.x + af.width and p.y <= af.y + af.height or
                            p.x + p.width >= af.x and p.y >= af.y and p.x + p.width <= af.x + af.width and p.y <= af.y + af.height or
                            p.x >= af.x and p.y + p.height >= af.y and p.x <= af.x + af.width and p.y + p.height <= af.y + af.height or
                            p.x + p.width >= af.x and p.y + p.height >= af.y and p.x + p.width <= af.x + af.width and p.y + p.height <= af.y + af.height )
                        then 
                            --hit
                        end
                    end

Can anyone help me simplify this code, and speed it up?

P#25373 2016-07-15 20:46 ( Edited 2016-07-16 04:53)

SHOW MORE

Just wondering how good PicoLove is

https://github.com/gamax92/picolove

I got my game, Light Fight (https://www.lexaloffle.com/bbs/?tid=3821), on it, but it seems to run at 1/3rd speed, and it's unplayable on my phone using love-android-sdl2 due to slowness.

https://bitbucket.org/MartinFelis/love-android-sdl2/

So, I'm wondering how fast other people's games run on PicoLove?

P#25337 2016-07-15 09:57 ( Edited 2016-07-15 14:43)

SHOW MORE

Cart #25285 | 2016-07-14 | Code ▽ | Embed ▽ | No License
1

Cart #25283 | 2016-07-14 | Code ▽ | Embed ▽ | No License
1

Cart #25279 | 2016-07-14 | Code ▽ | Embed ▽ | No License
1

Hey, guys. I'm new here, and decided to make a quick game.

I had some fun making this, and still have plans to work on it, but I'm drawing a blank on ideas.

If you have any ideas that wouldn't be too difficult to do please let me know!

by the way the game is two player only.

update 2:
changed the name
changed how to kill - It was using the Dive Attack, and now it's by the AfterImages.
added moving platform - no foreseeable way to get players to move with platform cause of how it's coded.
other things.

update 1: added music and sound effects, fixed the 1 off pixel ground bug, and the non-random spawn at start bug.

P#25280 2016-07-13 22:04 ( Edited 2016-07-14 06:01)

Follow Lexaloffle:          
Generated 2024-03-19 13:38:24 | 0.071s | Q:15