I Made a Speedrunning Game

Поділитися
Вставка
  • Опубліковано 28 вер 2024

КОМЕНТАРІ • 407

  • @abdulhayeeyamin
    @abdulhayeeyamin 4 роки тому +751

    Benbonk Logic: I took a break by making an another game in a brand new engine where the colour palette triggers me

  • @NerdyTeachers
    @NerdyTeachers 3 роки тому +140

    This is fantastic! Thanks for the shoutout and we're very glad you enjoyed our Platformer tutorial! You really took it much farther on your own and that's what we love to see! Well done!

    • @stormedapple9317
      @stormedapple9317 3 роки тому +6

      I tried making a pico 8 game and your tutorials really helped me get started, thank you!

  • @hainesnoids
    @hainesnoids 3 роки тому +147

    "Pico-8 uses a modified version of Lua"
    Roblox programmers: *A blessing from the lord!*

    • @TheHENOOB
      @TheHENOOB 3 роки тому +8

      I kinda like Lua is very easy for game development, even valve is using it with Source 2

    • @lememz
      @lememz 3 роки тому +24

      @@TheHENOOB i mean lua is kinda good and all, but i really want my fucking curly brackets

    • @ncik515
      @ncik515 3 роки тому +2

      @@lememz you would hate python

    • @lememz
      @lememz 3 роки тому +6

      @@ncik515 i mean, i literally can't read python but using nothing is better than having to write fucking "end" and "then"

    • @DiggyPT
      @DiggyPT 3 роки тому +2

      @@lememz lua has curly brackets

  • @falxie_
    @falxie_ 4 роки тому +216

    Pico 8 seems very interesting. The first version of Celeste was made in it

    • @iLikeDucks_
      @iLikeDucks_ 3 роки тому +31

      Ye i know its even inside of celeste as a small minigame/easter egg in celestial resort

    • @filipkuzmicz8127
      @filipkuzmicz8127 3 роки тому +9

      Thats why i clicked ob this video XD

    • @lucasoreidopunho3556
      @lucasoreidopunho3556 3 роки тому +4

      Wow, i've didn't knew that!! I was playing the sequel of the game in pico-8, yesterday.

    • @lorrdy7640
      @lorrdy7640 3 роки тому +4

      Yeah I though I heard about Pico 8 before.

    • @noizepusher7594
      @noizepusher7594 3 роки тому +9

      Yeah, until this vid I thought all games using the little Pico 8 engine were re referencing Celeste’s pico 8 mode. I didn’t know it was an entire programming language

  • @jdyerjdyer
    @jdyerjdyer 4 роки тому +83

    There are several ways you can address the coffee pickup issue. The easiest to implement is a cool down timer. You set a timer to count down after a pickup and until that timer is zero, you can't pick up another coffee. This works great if you can ensure that the timer is long enough to remove the coffee after pickup, but short enough that should the player reach another coffee, they are able to pick it up without waiting. If you can't ensure that, then the next fix is an id system. Generate some random number for each coffee pickup and if that number is in your list of recent pickups, then you just ignore it. You don't have to make the numbers very large, in fact you could just label them in order of placement in the level, or since there is a finite number, just label them all and track them all, but for larger levels, this might impact performance. Reasonably, tracking the last 5 pickups and giving them an id modulus 5 should be easy and sufficient. Another method is to create triggers and use them on your collisions. Basically you check for collisions on a regular interval and if a collision is detected, then you check to see if a trigger is registered for the entities that have collided. If so, then you call that trigger and wait for that trigger to return before continuing. Here, inside the trigger is where you would update the jump count and remove the coffee. This sequential check can become a bottleneck, but it does address the multiple pickup problem. I'm not sure if the Pico8 system runs slower, or if it has full cpu usage, but if it doesn't have a slowdown issue, this is actually how most modern game systems work--i.e. loop through all active objects { if collision detected and registered trigger { fire trigger } }.Another way if the removal of an object might take some time is to use a collectible flag on each collectible and before doing anything on the collision, increment the jump counter and then immediately set the collectible flag to false. if collision and collectible is true { process collectible; set collectible = false; remove collectible; }. This option is best on systems where the main game thread is running on one process while your script might be in another or the collision script might have multiple instances created. It isn't ideal because you could still get multiple collisions at once, but it has two benefits in that you are quickly setting the flag to false, so hopefully before any other script accesses the shared boolean it is set, and by putting any cpu intensive (relative) processes to the end, you ensure that the check happens as fast as possible. Hope this helps. I'm sure there are other ways of doing it, but these are the most common I've seen done.

  • @NStripleseven
    @NStripleseven 4 роки тому +173

    Beginning of the video: I wanted a break from Slimekeep, so I did this.
    End of the video: I wanted to stop doing this and get back to Slimekeep.

  • @Chadderbox
    @Chadderbox 4 роки тому +124

    I need to try pico-8. I've never done anything that is really that limiting other than game jams. I think the limit on pico makes some really unique things.

    • @BenBonk
      @BenBonk  4 роки тому +36

      I would recommend giving it a try. It was a nice challenge and interesting engine.

    • @colinjohnson5515
      @colinjohnson5515 3 роки тому

      Man it’s cool. I’m going to try to teach my kids some of this stuff too.

    • @mushroomer56
      @mushroomer56 3 роки тому

      Coming from a Lua programmer here, didn’t know that PICO-8 used Lua and I’m actually quite interested in trying it out.

  • @kobsboy4227
    @kobsboy4227 3 роки тому +26

    u make me realize that im not the only game dev that spends days on seemingly simple problems

    • @DrCrazyEvil
      @DrCrazyEvil 3 роки тому +2

      Oh if you've been watching lots of devlogs it happens to everybody but they just don't show it so its easy to assume they're not problem solving at times even if they do.

  • @djlclopez128
    @djlclopez128 3 роки тому +11

    2:42 "WHAT THE FRICK PICO8" 😂🤣
    Take my subscription!

  • @throwawaysometime7500
    @throwawaysometime7500 4 роки тому +6

    Remember it doesn’t matter what u upload to us as long as u are happy doing / making it or interested in it

  • @salsichalivre5401
    @salsichalivre5401 2 роки тому

    By this time you obviously have figured out, but you can mimic collectables by simply checking if the player "collided" with the coffee (its position overlaps the position of the coffee by a certain amount), and then making coffee nil (then it will not be there anymore) and at the same time get more jumps putting 1 plus in the jump var.

  • @kevin9120
    @kevin9120 3 роки тому +1

    With the coffee issue I would have personally set another variable like "canPickUp" and use an if statement to check if it's already been picked up before deletion.
    Though I'm not 100% sure if this would work.

  • @Blackout_
    @Blackout_ 3 роки тому +2

    "What is this syntax"
    "Anyways this is just personal preference"
    No uhh everyone agrees with you

  • @migwuzhere
    @migwuzhere 2 роки тому

    "though some we're border line impossible or way to complex" he says to "use a red color pallet"

  • @ninjatintin9074
    @ninjatintin9074 3 роки тому +1

    2:08 Request: Make a game in Scratch

  • @reenftw
    @reenftw 2 роки тому

    This is the first Benbonk vid where I could actually recreate the game he is making

  • @tunedoesstuff
    @tunedoesstuff 3 роки тому

    I remember playing Just One Boss in Pico-8

  • @mattjclay
    @mattjclay 4 роки тому +1

    Pro tip:
    Easy way to add a variable jump is to multiply your velocity by a value lower than 1 when you release the jump button and you have a positive y velocity.
    That way if you hold the button until you are at your jump apex then release you won't slow down when falling. And if you release it half up your jump you will slow down.

    • @BenBonk
      @BenBonk  4 роки тому +2

      :o thanks for the tip!

    • @mattjclay
      @mattjclay 4 роки тому +1

      @@BenBonk No problem. I had the same issue and I almost died when I figured out it was 1 line of code. Rip me.

  • @salsichalivre5401
    @salsichalivre5401 2 роки тому

    Regarding the end and the then, this is from Lua, and Lua was made long time ago in Brazilian university in order for them to coup with technological step back they were facing that time. Turns out Lua got pretty famous over the time and it is the only programming language that have gone that far worldwide from Brazilian community.

  • @vinsovan9707
    @vinsovan9707 3 роки тому +1

    When he said the engine uses Lua I nearly exploded with excitement.
    Until he said "What in the world are those-"

  • @mrplus1312
    @mrplus1312 3 роки тому

    0:02 oh you are tired so you give your self a brea- CHALENGE?
    Yeah makes sense

  • @xerozoo
    @xerozoo 3 роки тому

    I've been using pico-8 for years, I'm glad to see it get some more popularity

  • @Nizart
    @Nizart 3 роки тому +1

    if your coffe is in the tileset you can just do
    local tilepos = {x=flr(playerpos.x/8), y=flr(playerpos.x/8),}
    if mget(tilepos.x, tilepos.y, coffee_number) then
    mset(tilepos.x, tilepos.y, background_number)
    coffee += 1
    end

  • @D30_K
    @D30_K 3 роки тому

    Honestly ive been learning lua in robox for a while so changing to pico would be preaty easy and i challenge you to make a game in roblox

  • @goosifyed9717
    @goosifyed9717 3 роки тому

    2:08
    me: laughs in backpack

  • @luan1177
    @luan1177 Рік тому

    when arrow keys are broken and you need them to run

  • @snugglebug_83
    @snugglebug_83 3 роки тому +1

    i tried the game, its super fun! but ,just an idea, why not use 'wsad' or 'arrow' keys?

    • @BenBonk
      @BenBonk  3 роки тому +1

      you cant with pico-8, at least I think

  • @soemie
    @soemie 3 роки тому

    go pico, yeah yeah, go pico, yo

  • @Simpfey
    @Simpfey Рік тому

    0:16
    -Create a simple PLATOFRMER

  • @baronthibault8650
    @baronthibault8650 2 роки тому

    I see you discovered what really programming is haha

  • @fan0
    @fan0 3 роки тому

    2:09 Me when I make gravity in Scratch: Ok. So I will make that vertical velocity is going into minus numbers and horizontal velocity stays the same

  • @goosifyed9717
    @goosifyed9717 3 роки тому

    if its not too much trouble, could you make a small platforming engine, but using the character from robot 64? (yes its a roblox game, but NO. ITS NOT BAD.) thanks 4 reading this :)

  • @patrlim
    @patrlim 3 роки тому +1

    0:16 platofrmer

  • @jonathangoodman9089
    @jonathangoodman9089 3 роки тому +1

    Alternate title: Unity user learns real programming.

  • @truestbluu
    @truestbluu 3 роки тому

    If Pico-8 has a built in wait function then you can do something called a debounce. This is a Roblox debounce but this might not work.
    local debounce = false
    while wait() do
    if not debounce then
    debounce = true
    wait(1)
    debounce = false
    end
    end

  • @proudpichu
    @proudpichu 3 роки тому

    Wow i remember playing pico 8 games on cool math games

  • @Javier-ft5mx
    @Javier-ft5mx 3 роки тому

    Good work

  • @AlexeyTutorials
    @AlexeyTutorials 3 роки тому

    Is there any way to use a NORMAL code editor for pico?

    • @BenBonk
      @BenBonk  3 роки тому

      I believe so, yeah.

  • @WannibeManisha
    @WannibeManisha 4 роки тому

    Great little compact game!!

  • @filiptuddy2137
    @filiptuddy2137 3 роки тому

    GO PICO YEA GO PICO YEA GO PICO

  • @blankstudiogamedev6310
    @blankstudiogamedev6310 4 роки тому

    This video was great! Imma play this later

  • @scaredfolks5923
    @scaredfolks5923 3 роки тому

    lol if you know C# then LUA is pretty simple. Plus you really learn how the application works when you don't use the automatic tools in Unity.

  • @scarthehedgehog8300
    @scarthehedgehog8300 3 роки тому

    The program?
    Its pico from newgrounds

  • @shrimpsushi763
    @shrimpsushi763 3 роки тому

    I was today years old when I found out Pico-8 was a game engine and not a game developer.

  • @ultragrossman7067
    @ultragrossman7067 3 роки тому

    I cant figure out how to get the map() function to load a map behind the player. can someone help?

    • @NerdyTeachers
      @NerdyTeachers 3 роки тому +1

      When you draw anything to the screen, the order of what you draw in the code matters.
      Whatever is drawn later is drawn on top of what was drawn already. So the draw function usually has this order: clear screen with CLS() first, then MAP(), then Objects, then Player, then Foreground objects.
      You can think of the draw order as layers.

  • @someaddictedidiot2186
    @someaddictedidiot2186 3 роки тому

    OMG PICO-8 YES!

  • @-ferno4333
    @-ferno4333 4 роки тому +1

    pretty cool

  • @georgeintheanythingiwantto4241

    In lua the “end”s are kind of like the “;”s in C# (I code in roblox so I know this)

  • @agentsmith2yearsagoedited597
    @agentsmith2yearsagoedited597 3 роки тому

    I just download other games and look at code to figure out whats wrong with mine

  • @doombat04
    @doombat04 3 роки тому

    You should make something in scratch

  • @RedIvation
    @RedIvation 3 роки тому

    You could make more "I made a" videos, since this videos got more views than normal.

  • @AlexClarkeGame
    @AlexClarkeGame 4 роки тому

    At 2:27 yes, that is awful, man you can't be doing if bool === true, elseif ==false
    Wait you were talking about the language syntax?
    Seriously though there's no point in doing if x==true, elseif ==false when you can do if x else
    Cool video though, pico-8 definitely looks like a cool engine

    • @BenBonk
      @BenBonk  4 роки тому +2

      I was talking about the syntax btw, and that code is just a screenshot off the forums. Trust me I know to never do elseif == false.

  • @عطاابراهيمجعمان
    @عطاابراهيمجعمان 3 роки тому +1

    I challenge to make a game in c++ without using any game engine

    • @mrocto329
      @mrocto329 3 роки тому

      *sniff* I smell memory leaks, just use Rust which is c++ but superior in every way

  • @Hatsuke__
    @Hatsuke__ 3 роки тому

    I heva a score 45s I love your gema make more games plzzzzzzz!!!

  • @michaelmulligan1746
    @michaelmulligan1746 3 роки тому

    Lua reminds me of visual basic as in just.............huh?

  • @evolgenius1150
    @evolgenius1150 3 роки тому

    Ooooh if u can get a grip on lua uncan use defold. Nice IDE using lua

  • @mewsmeme
    @mewsmeme 3 роки тому

    Me: (hears pico-8) Celeste pico-8?

  • @freedomtalesans4481
    @freedomtalesans4481 3 роки тому

    If you jump just right, you used a jump.

  • @superderby389
    @superderby389 3 роки тому

    i love to make levels/games but i cant program at all.

  • @goadi8403
    @goadi8403 2 роки тому

    ive seen these pico games on coolmath lol

  • @pleasantblue555
    @pleasantblue555 2 роки тому

    CELES-

  • @flipidiflip
    @flipidiflip 3 роки тому +1

    Make a pixel game? or u can't do that?

    • @BenBonk
      @BenBonk  3 роки тому +1

      Almost every game I make is a pixel game

    • @flipidiflip
      @flipidiflip 3 роки тому

      Well I got absouletely destroyed

  • @DisSpongeCanRap
    @DisSpongeCanRap 3 роки тому

    Roblox Dev Know how Lua be

  • @Ian_Boni
    @Ian_Boni 3 роки тому

    My name is Ian! :0

  • @TurquoiseIcy
    @TurquoiseIcy 3 роки тому

    Want to make a game using Lua? Use love2D. It's way better for that.

  • @flipidiflip
    @flipidiflip 3 роки тому +1

    Can you make a 3d game? (or u cant do that)

  • @sh0unakgg274
    @sh0unakgg274 4 роки тому

    YES

  • @skitz6984
    @skitz6984 3 роки тому

    71.1 here ha take that

  • @caranjeetkumar6986
    @caranjeetkumar6986 3 роки тому

    Make a game on scratch engine also pleasee

  • @EchoPrograms
    @EchoPrograms 3 роки тому

    Anyone else find some of his videos to watch by going to his page and clicking on the one that's not green

  • @cartermasterson9829
    @cartermasterson9829 3 роки тому

    Mabey it's because I use python but that code looks normal

  • @ianproductions5540
    @ianproductions5540 2 роки тому

    what are the chances, the game's name is intern ian, my name is also ian lol

  • @dumbfuckjuice1146
    @dumbfuckjuice1146 3 роки тому

    where the friction man

  • @orrinpants
    @orrinpants 3 роки тому

    platformer--- I mean
    platofrmer

  • @yanihero129
    @yanihero129 4 роки тому +448

    00:48
    "some ideas were borderline impossible, or way too complex"
    "use a red colour pallet"
    Hmmmmm

    • @BenBonk
      @BenBonk  4 роки тому +141

      IMPOSSIBLE

    • @davidbitca
      @davidbitca 4 роки тому +31

      u cant do it with pico8's color palette

    • @NStripleseven
      @NStripleseven 4 роки тому +15

      There's only like 1-2 red

    • @meriquinn
      @meriquinn 4 роки тому +18

      @@NStripleseven You can use 1, 2, 8, 14, and then either 15 or 7, or even both for a red color palette in PICO-8. Colors naturally look different when paired together. (0 is by default transparent so 1 is better/easier to use as a black)

    • @NStripleseven
      @NStripleseven 4 роки тому +1

      M Ramsey Huh. I didn't know that.

  • @Memer9456
    @Memer9456 3 роки тому

    0:17
    platofrmer

    • @BenBonk
      @BenBonk  3 роки тому

      I am deeply sorry for making a spelling mistake

  • @lockop2540
    @lockop2540 4 роки тому +28

    I can’t believe your almost at 10k already! Great job 👍! Been here since 2k 🎉

    • @BenBonk
      @BenBonk  4 роки тому +6

      Thanks dude, getting really close to 10k now.

  • @Gizmote
    @Gizmote 4 роки тому +22

    I like how even on games I don’t work with you on, you still use my game design concepts. Cool stuff!

  • @JanxZ
    @JanxZ 3 роки тому +24

    1:33 i love how the background is just not lua at all

    • @mushroomer56
      @mushroomer56 3 роки тому

      LUL, I know Lua and that definitely isn’t

    • @activediamond7894
      @activediamond7894 3 роки тому

      Looks like Java maybe, lmao.

    • @ralfwright
      @ralfwright 3 роки тому

      @@activediamond7894 yes definitely java

  • @prodbywerty
    @prodbywerty 4 роки тому +22

    i love Pico-8. though, the code editor looks quite... zoomed in to say the least!

    • @bingus1017
      @bingus1017 4 роки тому +2

      WERTYYYYYYYYY

    • @BenBonk
      @BenBonk  4 роки тому +10

      Yeah it is super zoomed in, and kind of a pain. But I guess that is why there are tabs that can help you organize.

    • @IkeVoodoo
      @IkeVoodoo 4 роки тому +1

      Our leader werty

    • @mattjclay
      @mattjclay 4 роки тому +1

      You can use an external editor with it

    • @Dyerrrrrrr
      @Dyerrrrrrr 4 роки тому +1

      Yeah I use vscode for pico-8. Also, tic-80 is very similar to pico-8 but has an extra wide text editor so there's that too

  • @09developerboy85
    @09developerboy85 4 роки тому +8

    Make a game with scratch (or you can't do that?)

  • @omeletttte
    @omeletttte 4 роки тому +7

    Hehe, stock images

    • @BenBonk
      @BenBonk  4 роки тому +4

      yes very funi

  • @withlessAsbestos
    @withlessAsbestos 3 роки тому +5

    How did I miss this. I love Pico-8. Watch the grid based game tutorial.

  • @Kai-rg4kb
    @Kai-rg4kb 4 роки тому +4

    I remember there was a pico 8 thing in celeste

    • @kingkyanogd2500
      @kingkyanogd2500 4 роки тому +1

      Yeah the developer made the pico 8 version for a game jam and because it made him continue it and make Celeste its in the game as a Easter egg

  • @thelostnexus5_
    @thelostnexus5_ 3 роки тому +5

    As a Lua programmer, this was the first ever video I could genuinely relate to.

  • @jjocco1
    @jjocco1 3 роки тому +4

    Benbonk: Pico
    Everyone: oh ok
    Me as a Chilean: hehe, nice

  • @jubinjajoria2870
    @jubinjajoria2870 4 роки тому +3

    Wait.....No Green. Are you really BenBonk? 😂😂

  • @thegappleapple7763
    @thegappleapple7763 2 роки тому +3

    I love Pico-8

  • @4per8
    @4per8 3 роки тому +2

    go pico, go go pico yeah

  • @CubsYT
    @CubsYT 3 роки тому +1

    once you start hearing the lip smack there's no going back

  • @kk_cats6072
    @kk_cats6072 3 роки тому +2

    Scratch :D

  • @_mestre
    @_mestre 3 роки тому +3

    I love how mind boggled and surprised he seems because of the then and end in if statements. Which are very common in some languages such as Pseudocode

    • @cartermasterson9829
      @cartermasterson9829 3 роки тому

      And python

    • @mrocto329
      @mrocto329 3 роки тому +2

      @@cartermasterson9829 Python doesn't have end or then, it uses : and whitespace

  • @TriDeapthBear
    @TriDeapthBear 4 роки тому +1

    I smell 2019 Reddit UA-camr background music lol. Nice video, and btw, was the intern Ian thing a nod to h3?

    • @BenBonk
      @BenBonk  4 роки тому

      Thanks, I didn't actually think about it like that, but I do love h3's old content.

  • @plushmariogaming
    @plushmariogaming 3 роки тому +1

    I'm gonna make the entirety of week 3 in pico-8

  • @SugarooLM
    @SugarooLM 3 роки тому +1

    Damn, pico-8 is such an underrated engine, maybe because ITS PAID! THATS WHY, I DONT HAVE MONEY

  • @harryvpn1462
    @harryvpn1462 3 роки тому +1

    Lua is p easy to learn tho

  • @ProbablyAxolotl
    @ProbablyAxolotl 3 роки тому +1

    Whaaa we both followed the same tutorial and both made a nearly identical next level script... weird

    • @jamescameron9224
      @jamescameron9224 3 роки тому

      Dude same! But for some reason, when I load the next level, the player stays frozen in midair. All I am doing is changing the player and cam position whenever the level number increments. It's basically a state machine. Did you run into this problem?

  • @miwiki6
    @miwiki6 3 роки тому +1

    i really want to make a pico-8 game but making the code looks borderline impossible for me...

    • @mushroomer56
      @mushroomer56 3 роки тому

      I got the hang of Lua in like 2 days soooo...

  • @flamingbream9927
    @flamingbream9927 3 роки тому +1

    I thought pico 8 was just in celeste

  • @ejoumaandfriendsofficial4471
    @ejoumaandfriendsofficial4471 3 роки тому +1

    Hay no one play your games
    Lol 😆