AI Learns to play Geometry Dash || Part 1

Поделиться
HTML-код
  • Опубликовано: 16 ноя 2024

Комментарии • 382

  • @CodeNoodles
    @CodeNoodles  2 года назад +53

    Part 2 is out now! ruclips.net/video/68gDH8fTMo4/видео.html

    • @limex7694
      @limex7694 2 года назад

      Dont get me wrong, this is insanely impressively, hell I can barely write lua, but this just goes to show how such a simple concept of executed properly can be a massive hit

    • @NeonPangea
      @NeonPangea 2 года назад

      @@limex7694 Ikr

    • @supertuesday600
      @supertuesday600 2 года назад

      {}

  • @JollySpider
    @JollySpider 2 года назад +840

    Fun fact: All of geometry dash's original sprites are available and easily accessible in the files of the game.

    • @Chloedasher
      @Chloedasher 2 года назад +35

      Big brain

    • @ZIMOU2014
      @ZIMOU2014 2 года назад +15

      I use Google but I can't find any good UFOs which Is why I wanna learn how to make my own icons

    • @rottenapple2276
      @rottenapple2276 2 года назад +1

      Ikr

    • @memeermon7326
      @memeermon7326 2 года назад +1

      No way

    • @ferbot
      @ferbot 2 года назад

      texture packs lmaoooo

  • @Xnoob545
    @Xnoob545 2 года назад +423

    There are definitely gd tools/mods that let you track stuff like x pos and even more

    • @ZetaXhgd
      @ZetaXhgd 2 года назад +9

      too late lol

    • @5742_
      @5742_ 2 года назад +51

      Megahack v7 allows you to see xpos, ypos, trajectory, hitbox, and some more stuff

    • @HEJOK254
      @HEJOK254 2 года назад +2

      @@5742_ yeah, megahack probably could do that

    • @swagmoneybuge
      @swagmoneybuge 2 года назад +14

      mhv7 has an option called "meta" and it shows everything that you mentioned

    • @Niallpro10
      @Niallpro10 2 года назад

      ​@@ZetaXhgd stop

  • @ThatPyukumuku
    @ThatPyukumuku 2 года назад +368

    Nice work
    A few issues though
    GD tiles don't follow a grid, they use a coordinate system: for example, the 3 spike jumps in stereo madness are actually compressed to be slightly less than 3 blocks
    A 2D array wont work if you're trying to make a perfect 1:1 recreation
    You may have done this already, but the spike hitboxes are not triangle shapes, they're small thin rectangles in the center of the spike

    • @aykarain
      @aykarain 2 года назад +2

      pretty sure the tiles are actually in
      item id, x pos, y pos
      or something like that

    • @teamcatyt4503
      @teamcatyt4503 2 года назад

      🤓🤓🤓🤓🤓🤓🤓🤓🤓

    • @aoni8254
      @aoni8254 2 года назад +1

      @@teamcatyt4503 stfu, get off of the coding video if you don't like people talking about math

    • @Potato436_
      @Potato436_ 2 года назад +42

      @@teamcatyt4503 npc

    • @inconsistenttutorialuploader
      @inconsistenttutorialuploader Год назад +3

      ​@@teamcatyt4503roblox pfp, opinion denied

  • @gdfra4733
    @gdfra4733 2 года назад +85

    Really good video but i have a few things that could make the AI work better and also function in the actual game:
    1) Every texture is in the game files in the "Resources" folder, they're stored in a spreadsheet.
    2)There is a mod created by Absolute called "Mega hack V7" which lets you do a lot of thing, one of them is "show Meta" which shows you xPos, yPos, xSpeed, ySpeed and so on, so they're actually information that you can get while playing, also another option is "Show hotboxes" which let you see the hitboxes of every object, dividing the object that kill you like spikes to the object that are solid like blocks.
    Lastly they're also a feature that lets you see the trajectory of your icon if you click or If you let down, I'm not a AI expert but it would be cool if there would be a way of getting all of this information together and make the AI work in the actual game,

    • @monodragon
      @monodragon 2 года назад +4

      i was thinking this, what if you just put the ai into the game and give it hitbox, pos, speed, and death information? it could work with a lot of code

    • @gdfra4733
      @gdfra4733 2 года назад

      @@monodragon that's what I was thinking

    • @drmmrptr
      @drmmrptr 2 года назад +1

      seeing xPos, yPos, xSpeed and ySpeed in point 2 makes me think of the coordinateStep songs/levels and its infuriating

  • @Lemoncak3
    @Lemoncak3 2 года назад +22

    Not exactly what I was expecting when I clicked on the video but nice recreation!

    • @Pyrodiac
      @Pyrodiac 2 года назад +2

      Huh, didn't expect a verified RUclips channel that I know to be the most recent comment...
      Let's get this more likes...

  • @Joshizam
    @Joshizam 2 года назад +20

    Awesome video! if you install megahack in geometry dash there is an option that let you see the actual and future position of the cube and all the other modes, maybe this can help!

    • @Joshizam
      @Joshizam 2 года назад +2

      Link of the megahack option: ruclips.net/video/qwfpVkYmo1A/видео.html

    • @TYsdrawkcaB
      @TYsdrawkcaB 2 года назад

      @@Joshizam just edit the comment and add the link

  • @BritishBoy
    @BritishBoy 2 года назад +20

    Super cool! I’ve been looking for something like this for a while now. A few suggestions though:
    The hitboxes are absolutely scuffed in GD so it might be worth looking into how they really work
    The camera in GD is slightly offset to the right to give the player more time to see what’s coming
    The game’s files already has all the game’s textures cleanly laid out in files called GJ_gamesheet
    I know it’s hard to get the jumping perfect, but coming from a person who’s been playing this game for 8 and a half years, I feel like the jumping is just a touch slow. It might help to just speed up the whole game by a little bit. It may also be that it’s just too linear? RobTop’s original jumping patterns seem to have more variety in the velocity of the cube during the jump.
    The game is zoomed in a lot more than you have it here.
    Overall though this is really neat! I hope to catch a part 2! Subbed ;)
    Edit: ok yeah I’m pretty convinced you should speed the game up a bit. It’s a little slow.

  • @notphantom_4710
    @notphantom_4710 2 года назад +27

    Hey! Very interesting video. If you didn't know already, you can find high quality geometry dash textures from the Resources inside the game. Weirdly enough, all the textures are available to everyone.
    (Edit) Most hitboxes in geometry dash are kinda broken so this version of gd would be harder.

  • @mrio0
    @mrio0 2 года назад +14

    This released 50 minutes ago, and would you believe it, i searched for it. I mean that is really lucky. COOL VIDEO! You killed it dude!

    • @CodeNoodles
      @CodeNoodles  2 года назад +3

      Thanks! What a coincidence 😆

    • @moltengears7483
      @moltengears7483 2 года назад

      @@CodeNoodles this exists in the real geometry dash

    • @supertuesday600
      @supertuesday600 2 года назад

      @@CodeNoodles can you make ai learns to play pac man part two

  • @UsmanMuhammadNooruddin
    @UsmanMuhammadNooruddin 2 года назад +107

    Would really love to see how the AI handles your level! Discovered you a while back and have been trying to watch your videos whenever I get the time.
    Great work dude! 😊

    • @CodeNoodles
      @CodeNoodles  2 года назад +22

      Thank you so much!

    • @newlineschannel
      @newlineschannel 2 года назад

      @@CodeNoodles cool

    • @elvacioisepic8045
      @elvacioisepic8045 2 года назад

      @@CodeNoodles also there are tools for x pos and y pos stuff also the hit boxes are weird so yeah

    • @moltengears7483
      @moltengears7483 2 года назад +1

      @@CodeNoodles make bloodbath lol

    • @nymphia_osu
      @nymphia_osu 2 года назад

      @@CodeNoodles use megahack for tracking xy positions / hitboxes / player trajectories etc

  • @SubbbSonic
    @SubbbSonic 2 года назад +13

    As a geometry dash player, this was really cool to watch! Good video! :D

  • @SuperDZ555
    @SuperDZ555 2 года назад +6

    3:32 I know he's talking about the collision when he says it's a perfect game, but we can't just ignore The Challenge. Also we can't ignore how the mini wave can literally slide under normal sized spikes

  • @professorcube5104
    @professorcube5104 2 года назад +18

    I love the amount of dedication and effort you put into your videos

  • @PabloWitkowicz
    @PabloWitkowicz 2 года назад +8

    Hey dude! I absolutely love your channel! Great video as always 😊 Keep up the good work!

  • @CalsoyTerminal
    @CalsoyTerminal 2 года назад +4

    Dude your recreation is amazing it’s so cool and accurate

  • @Ndrici
    @Ndrici 2 года назад +3

    ive been playing geometry dash for a while now, and this seems almost the same. well done! cant wait for part 2!

  • @ArcticCN
    @ArcticCN 9 месяцев назад

    this is the only channel i can find that shows how the ai learns and not just what levels it's beaten. great stuff!

  • @toffeejc
    @toffeejc 2 года назад +1

    I can’t stop watching your videos now I love you and your coding videos it’s so intriguing

  • @CoderCatGG
    @CoderCatGG 2 года назад +18

    You do know that the PC version on Steam has all of the assets acessible?
    Again, GD is more of a pc game.
    Also, x Pos and y pos are stored in variables, and there is a hack client called Mega Hack which has a feature that shows you the hitboxes

    • @robobossEPIC537
      @robobossEPIC537 2 года назад +8

      Gd is actually more of a mobile game since it was first released on mobile. It released on steam in around 1.9

    • @prodbykriz
      @prodbykriz 2 года назад +3

      yeah spaceuk beat the entire top 75 on mobile

    • @ozhinz
      @ozhinz 2 года назад +2

      @@prodbykriz space uk is not a mobile player 💀💀

    • @Fymzie
      @Fymzie 2 года назад +1

      @@prodbykriz he verified slaughterhouse on mobile

    • @prodbykriz
      @prodbykriz 2 года назад

      @@Fymzie fr

  • @thermalerosion4556
    @thermalerosion4556 2 года назад +6

    Amazing that a guy on RUclips can code geometry dash faster than the creator of geometry dash

  • @amarmichael4638
    @amarmichael4638 2 года назад +1

    Can’t wait for the AI! First video I watched of yours and I’m so hyped

  • @PerfectNine
    @PerfectNine 2 года назад +6

    As a GD player this video was really interesting! Thanks :))

  • @Xboy1207
    @Xboy1207 10 месяцев назад +4

    bro made platformer mode in 2022

  • @glasscannon1231
    @glasscannon1231 2 года назад +3

    my fav geometry dash RUclipsr

  • @jedthei6099
    @jedthei6099 2 года назад +19

    Love your videos man i discovered you a couple months ago and its nice to see how the productions and veiws are getting better every time, keep up the work.

  • @Just_Your_Average_Goose
    @Just_Your_Average_Goose Год назад

    CodeNoodles: "The collision is working fine."
    Also CodeNoodles: *proceeds to walk through the blocks*

  • @QMagix1
    @QMagix1 2 года назад +2

    Bro give this man some subscribers!!!! This probably takes like 2 months to make!!!❤❤

  • @ComiCherro
    @ComiCherro Год назад

    3:27 "but with it now properly adjusted the collision is now working flawlessly"
    *proceeds to walk through a tile*

  • @mmorrell1986
    @mmorrell1986 2 года назад +1

    Alternate title: my dinner making an AI for geometry dash

  • @Xikiea
    @Xikiea 2 года назад +6

    All coding RUclipsrs get more insane as the video goes on, and I love it.

  • @cabbageder
    @cabbageder 2 года назад +5

    Kirby maker?
    Kirby maker?

    • @CodeNoodles
      @CodeNoodles  2 года назад +2

      Yep, it's real!

    • @cabbageder
      @cabbageder 2 года назад

      @@CodeNoodles o_o

    • @trethetree
      @trethetree 2 года назад

      @@CodeNoodles can you make a pacman maker?

    • @Pyrodiac
      @Pyrodiac 2 года назад

      ​@@CodeNoodles I don't care if it isn't finished, SHOW IT TO US.

  • @oldaccount6555
    @oldaccount6555 2 года назад +4

    2:49 the background in gd moves by the y position aswell

  • @NCHAO.
    @NCHAO. 2 года назад +1

    watching a bowl of spaghetti explain to me the basics of AI coding and geometry dash functioning made me hungry

  • @fpcooper95
    @fpcooper95 2 года назад +3

    I immediately recognized the first part of the stage but I don't think I ever got to the end 🤣🤣🤣🤣🤣

  • @POGnator
    @POGnator 2 года назад +1

    He stares into your soul
    I love the project, keep it up man!

  • @ARandomCanadian
    @ARandomCanadian 2 года назад

    “I don’t want to spend the rest of my life making this mobile game”
    Robtop: and I took that personally

  • @dark____
    @dark____ 2 года назад +5

    Fun fact: Geometry Dash spikes actually have very very small hitboxes and you can sort of clip into the tip and the bottom of the spike

    • @gadoogez
      @gadoogez 2 года назад

      i love the tip

    • @noahthegod1267
      @noahthegod1267 2 года назад +1

      @@gadoogez 🤨

    • @Pyrodiac
      @Pyrodiac 2 года назад

      And before anybody says something about them being "broken" hitboxes, they aren't.

    • @hiagogames
      @hiagogames 2 года назад

      The hitbox is just like
      A thin rectangle standing up

  • @Cleeuwen05
    @Cleeuwen05 2 года назад +1

    I made a clone of GD in p5js, and the process was almost the exact same! Even the jump mechanism. I was too lazy to make an editor, so I filled the array by hand. It's probably the clone with the worst performance ever. (it runs fine on modern devices though) I wrote it within 1000 lines.

  • @danielwang5150
    @danielwang5150 2 года назад +1

    Code bullet but the uploads are actually consistent

    • @rlhugh
      @rlhugh 2 года назад +1

      Consistency of uploads vs code bullet is a pretty low bar I feel lol :P

  • @neribo
    @neribo 2 года назад

    I subscribed to you when you made your video about the snake game, and then forgot about it, that was when you had like 50.000 views on that video. Anyways, now that i'm back i'm kinda impressed you made a video on GD, really poggers

  • @yeahuhthisisachannel5341
    @yeahuhthisisachannel5341 2 года назад

    The bro is back! I was waiting for this, man! This dude is awesome.

  • @transportnyfanat303
    @transportnyfanat303 2 года назад +1

    This looks better than the original Stereo Madness.

  • @rlhugh
    @rlhugh 2 года назад

    For everyone saying "AI already exists for geometry dash", yes, technically that's kind of true. But the AI that exists prior to CodeNoodles uses brute force approach. I feel CodeNoodles approach is way more elegant.

  • @telcaum
    @telcaum 2 года назад +1

    AI learns to play Geometry Dash but there's no AI

  • @AnImmortalBean
    @AnImmortalBean 2 года назад +2

    quick tip: the original geometry dash art is noisy in the game so don't stress. I think it is just compression to reduce lag.

    • @CodeNoodles
      @CodeNoodles  2 года назад +1

      Thank you!

    • @txrnip
      @txrnip 2 года назад

      Isn’t some of the art vector tho lol

    • @AnImmortalBean
      @AnImmortalBean 2 года назад

      @@txrnip Drawn in vector, than converted to bitmap

  • @paul10724
    @paul10724 2 года назад

    Cool video. I‘m gonna watch part 2 and 3 soon.

  • @-CookieDev-
    @-CookieDev- 2 года назад

    "a very popular mobile game"
    i just about died.

  • @alexleo-wolf4339
    @alexleo-wolf4339 Год назад

    I feel like your content is educationally valuable, since I know nothing about coding, so this channel can teach me more about it. Also i really like your channel mascot.
    Are those spaghetti noodles or ramen noodles?

  • @Henrix1998
    @Henrix1998 2 года назад +1

    I'm not even mad this is very CodeBullet style video because he uploads so rarely

  • @spectralkat1597
    @spectralkat1597 2 года назад +2

    Man i would me so happy if i could program better, i only know a bit of lua, anyways super awesome video!

  • @The_octogamer
    @The_octogamer 2 года назад

    I just love how the tiles stretch in view

  • @FRACTUREDFUNGI
    @FRACTUREDFUNGI 2 года назад +1

    the very noisy backround is the real one lol

  • @BriefGD
    @BriefGD 2 года назад +1

    Now do Slaughterhouse! 😂

  • @Md5offical
    @Md5offical 2 года назад +1

    Pro tips for noob gd players:
    -Jump at edge of triple spike
    -When enter yellow portal flip ipad 180 degrees
    -spam wave in tight spaces

  • @Sacrefiied
    @Sacrefiied Год назад +1

    It's like a Geometry Dash Maker, sort of.

  • @avatarmadman
    @avatarmadman 2 года назад +4

    I feel like gd is gaining more traction as of the past couple of weeks or so

  • @SasamuelTheCool
    @SasamuelTheCool 2 года назад +2

    Me when underrated RUclipsr

  • @roid9822
    @roid9822 2 года назад +1

    Robtop when he sees this: whut is this

  • @NotHungarian
    @NotHungarian 2 года назад +1

    if you own the game on steam you can browse the local files and find all textures in an assets/resources folder

  • @irfanmuzaki6698
    @irfanmuzaki6698 2 года назад

    Ah... This type content what i was looking for...

  • @foodynooby
    @foodynooby 2 года назад

    somebody actually has created a concept thats a lot more advanced (though it was for april fools), you can find absollute's "AI beats sonic wave".
    This is still super impressive!

    • @rlhugh
      @rlhugh 2 года назад

      I believe that AI is using brute force. Brute force is a valid approach, but I feel CodeNoodle's approach is more elegant.

  • @MicahWWW
    @MicahWWW 2 года назад +1

    The reason the triple spikes are hard is probably because the ones in stereo madness are squished.

    • @txrnip
      @txrnip 2 года назад

      Also hit box dif

  • @pokics
    @pokics 2 года назад +2

    Ur so underrated

  • @OwoAshes
    @OwoAshes 2 года назад +1

    Omg amazing work! I couldn’t do any programming- (well I could if I had motivation to try)

  • @LilCalebW
    @LilCalebW 2 года назад +1

    Niiiice

  • @blanana_m
    @blanana_m 2 года назад +1

    That's a really cool idea

  • @BromeoWuggles
    @BromeoWuggles 2 года назад +1

    Very epic so far
    Will you be adding the ship in the future, or are you sticking to the cube?

    • @CodeNoodles
      @CodeNoodles  2 года назад +1

      Depends on how ambitious I am.

  • @figmentboy
    @figmentboy 2 года назад +1

    As a GD modder, it's pretty easy to access what info you need to do something like this. However, the game is super poorly coded so any attempts to predict or recreate gameplay take a lot of work

  • @ozhinz
    @ozhinz 2 года назад +1

    this hurts to watch knowing how gd actually works

  • @renefrederiksen5048
    @renefrederiksen5048 2 года назад +1

    Love youre video make me happy

  • @Name_Dot_Text
    @Name_Dot_Text 2 года назад +1

    This is incredible!!

  • @Villagerslime
    @Villagerslime Год назад +1

    He invented platformer mode!

  • @CMAKdaSILLY
    @CMAKdaSILLY Год назад

    The three spike jumps don’t have to be brutal because you could just become RobTop and make the spike hitbox a tiny rectangle😂

  • @moltengears7483
    @moltengears7483 2 года назад

    The collision for the spike is actually a small rectangle within the spike by the way

  • @sohumchatterjee9
    @sohumchatterjee9 2 года назад +1

    Would heavily suggest using the steam version of the game for increased efficiency, as you can easily access all the files using it

  • @tornadoreaper
    @tornadoreaper 2 года назад

    cool beat back on track now

  • @0m7_
    @0m7_ 2 года назад

    Nice! Now make and beat Misantrophe with this

  • @pingas6429
    @pingas6429 6 месяцев назад

    Due To The Ship Not Existing Here, You Didn't Make AI Learn To Play GD! You Made It Learn How To Play The Impossible Game!

  • @jontheartist5918
    @jontheartist5918 2 года назад

    Alternative title: Remaking Geometry dash

  • @kaanitoplays
    @kaanitoplays 2 года назад

    I struggle on geometry dash so this ai would be helpful

  • @bobfish1290
    @bobfish1290 2 года назад +2

    got your video in my recommended lmao

  • @ThatNoobKing
    @ThatNoobKing 2 года назад +1

    0:50 WHAT
    I MUST HAVE WHAT THE HELL

  • @bread_man010
    @bread_man010 2 месяца назад

    how to make an ai for geometry dash: code a way for it to know when it dies, then once it knows it dies, it saves the timestamp of it dieing and once it gets to that timestamp it jumps a bit before it making it jump over whatever killed it, if it dies again to the same spot, once it gets to the timestamp it will jump even earlier until it completes the level

  • @Pixeleer
    @Pixeleer 2 года назад

    im imagining a youtube video named "AI beats Artificial Ascent"

  • @romanvolotov
    @romanvolotov 2 года назад

    ship part was cool

  • @thanosbambi
    @thanosbambi 2 года назад +2

    okay, but what are your thoughts on kakuzu vs. pain?

  • @FlamingTX
    @FlamingTX 2 года назад

    If I had a nickle for everytime a gamedev made their own gd to make AI play it I'll have 2 nickles
    which isn't a lot, but it's wierd that it happened twice

  • @explodingwolfgaming8024
    @explodingwolfgaming8024 2 года назад +4

    Commenting 4 algorithm

  • @TonyIsCool45
    @TonyIsCool45 2 года назад

    In game you can see that the sprites default are in fact noisy if you didn't know. (or dithered)

  • @deathstinger13
    @deathstinger13 2 года назад

    dang it, your in-vid avatar and your channel name made me hungry XD

  • @Kaitri
    @Kaitri 2 года назад

    The moment kirbymaker gets uploaded, nintendo will sue you :(

  • @spacebirdfleetio151
    @spacebirdfleetio151 2 года назад

    A.I? Thats cool

  • @Naifkopi
    @Naifkopi 2 года назад

    next day:AI complete Old slaughterhouse

  • @SusDoctor
    @SusDoctor 2 года назад +1

    When he said mobile game I can bet some pc gd players flipped

  • @Shulkern
    @Shulkern 2 года назад

    This is truly a today

  • @ccost
    @ccost 2 года назад

    2:30 jokes on you the really noisy image is the real image, the game has loads of noise in the textures for compression
    i know this since this my main game

  • @qwertyzyz
    @qwertyzyz 2 года назад +1

    Wow, another video recreating gd to make an ai, original idea

  • @thesurvivor3737
    @thesurvivor3737 2 года назад +2

    This may or may not have been done before, but this video was fun to watch either way!
    Can't wait for part 2

    • @rlhugh
      @rlhugh 2 года назад

      I'm pretty sure it has not been done before. It's very well done, I feel.

  • @noobier9790
    @noobier9790 2 года назад

    3:43 omg the hitboxes are huge