AI Learns to play Geometry Dash || Part 1

  Рет қаралды 194,359

CodeNoodles

CodeNoodles

Жыл бұрын

What have I done! I made a clone of Geometry Dash so that AI can learn to play it.
In this video I recreate Geometry Dash from the ground up. In Part 2 I will make the AI to play the clone. Enjoy the video and if you have any silly ideas for videos let me know down in the comments below!
LINKS
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
Support the channel: ko-fi.com/codenoodles
Itch.io: codenoodles.itch.io/
GitHub: github.com/OfficialCodeNoodles
█▀ █ █ █▄▄ █▀ █▀▀ █▀█ █ █▄▄ █▀▀
▄█ █▄█ █▄█ ▄█ █▄▄ █▀▄ █ █▄█ ██▄

Пікірлер: 382
@CodeNoodles
@CodeNoodles Жыл бұрын
Part 2 is out now! kzfaq.info/get/bejne/bJ6Xd6tpy7qxn2g.html
@limex7694
@limex7694 Жыл бұрын
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
@GeoMations69
@GeoMations69 Жыл бұрын
@@limex7694 Ikr
@supertuesday600
@supertuesday600 Жыл бұрын
{}
@JollySpider
@JollySpider Жыл бұрын
Fun fact: All of geometry dash's original sprites are available and easily accessible in the files of the game.
@Chloedasher
@Chloedasher Жыл бұрын
Big brain
@ZIMOU2014
@ZIMOU2014 Жыл бұрын
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 Жыл бұрын
Ikr
@memeermon7326
@memeermon7326 Жыл бұрын
No way
@ferbot
@ferbot Жыл бұрын
texture packs lmaoooo
@Xnoob545
@Xnoob545 Жыл бұрын
There are definitely gd tools/mods that let you track stuff like x pos and even more
@ZetaXhgd
@ZetaXhgd Жыл бұрын
too late lol
@5742_
@5742_ Жыл бұрын
Megahack v7 allows you to see xpos, ypos, trajectory, hitbox, and some more stuff
@HEJOK254
@HEJOK254 Жыл бұрын
@@5742_ yeah, megahack probably could do that
@bruh.j4mes
@bruh.j4mes Жыл бұрын
mhv7 has an option called "meta" and it shows everything that you mentioned
@Niallpro10
@Niallpro10 Жыл бұрын
​@@ZetaXhgd stop
@IHateCopperGolems
@IHateCopperGolems Жыл бұрын
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 Жыл бұрын
pretty sure the tiles are actually in item id, x pos, y pos or something like that
@teamcatyt4503
@teamcatyt4503 Жыл бұрын
🤓🤓🤓🤓🤓🤓🤓🤓🤓
@aoni8254
@aoni8254 Жыл бұрын
@@teamcatyt4503 stfu, get off of the coding video if you don't like people talking about math
@Potato436_
@Potato436_ Жыл бұрын
@@teamcatyt4503 npc
@inconsistenttutorialuploader
@inconsistenttutorialuploader 9 ай бұрын
​@@teamcatyt4503roblox pfp, opinion denied
@gdfra4733
@gdfra4733 Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
@@monodragon that's what I was thinking
@drmmrptr
@drmmrptr Жыл бұрын
seeing xPos, yPos, xSpeed and ySpeed in point 2 makes me think of the coordinateStep songs/levels and its infuriating
@Lemoncak3
@Lemoncak3 Жыл бұрын
Not exactly what I was expecting when I clicked on the video but nice recreation!
@Pyrodiac
@Pyrodiac Жыл бұрын
Huh, didn't expect a verified KZfaq channel that I know to be the most recent comment... Let's get this more likes...
@Joshizam
@Joshizam Жыл бұрын
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 Жыл бұрын
Link of the megahack option: kzfaq.info/get/bejne/p92Wo7mcvtPTYXU.html
@TYsdrawkcaB
@TYsdrawkcaB Жыл бұрын
@@Joshizam just edit the comment and add the link
@UsmanMuhammadNooruddin
@UsmanMuhammadNooruddin Жыл бұрын
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 Жыл бұрын
Thank you so much!
@newlineschannel
@newlineschannel Жыл бұрын
@@CodeNoodles cool
@elvacioisepic8045
@elvacioisepic8045 Жыл бұрын
@@CodeNoodles also there are tools for x pos and y pos stuff also the hit boxes are weird so yeah
@moltengears7483
@moltengears7483 Жыл бұрын
@@CodeNoodles make bloodbath lol
@nymphia_osu
@nymphia_osu Жыл бұрын
@@CodeNoodles use megahack for tracking xy positions / hitboxes / player trajectories etc
@notphantom_4710
@notphantom_4710 Жыл бұрын
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.
@HelperGuy
@HelperGuy Жыл бұрын
ive been playing geometry dash for a while now, and this seems almost the same. well done! cant wait for part 2!
@SubbbSonic
@SubbbSonic Жыл бұрын
As a geometry dash player, this was really cool to watch! Good video! :D
@SuperDZ555
@SuperDZ555 Жыл бұрын
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
@mrio0
@mrio0 Жыл бұрын
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 Жыл бұрын
Thanks! What a coincidence 😆
@moltengears7483
@moltengears7483 Жыл бұрын
@@CodeNoodles this exists in the real geometry dash
@supertuesday600
@supertuesday600 Жыл бұрын
@@CodeNoodles can you make ai learns to play pac man part two
@BritishBoy
@BritishBoy Жыл бұрын
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.
@ArcticCN
@ArcticCN 5 ай бұрын
this is the only channel i can find that shows how the ai learns and not just what levels it's beaten. great stuff!
@Rootitoon
@Rootitoon Жыл бұрын
Dude your recreation is amazing it’s so cool and accurate
@amarmichael4638
@amarmichael4638 Жыл бұрын
Can’t wait for the AI! First video I watched of yours and I’m so hyped
@CodeNoodles
@CodeNoodles Жыл бұрын
Thank you so much!
@POGnator
@POGnator Жыл бұрын
He stares into your soul I love the project, keep it up man!
@yeahuhthisisachannel5341
@yeahuhthisisachannel5341 Жыл бұрын
The bro is back! I was waiting for this, man! This dude is awesome.
@professorcube5104
@professorcube5104 Жыл бұрын
I love the amount of dedication and effort you put into your videos
@PabloWitkowicz
@PabloWitkowicz Жыл бұрын
Hey dude! I absolutely love your channel! Great video as always 😊 Keep up the good work!
@CodeNoodles
@CodeNoodles Жыл бұрын
Thank you, I will!
@paul10724
@paul10724 Жыл бұрын
Cool video. I‘m gonna watch part 2 and 3 soon.
@toffeejc
@toffeejc Жыл бұрын
I can’t stop watching your videos now I love you and your coding videos it’s so intriguing
@CoderCatGG
@CoderCatGG Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
yeah spaceuk beat the entire top 75 on mobile
@ozhinz
@ozhinz Жыл бұрын
@@prodbykriz space uk is not a mobile player 💀💀
@Fymzie
@Fymzie Жыл бұрын
@@prodbykriz he verified slaughterhouse on mobile
@prodbykriz
@prodbykriz Жыл бұрын
@@Fymzie fr
@thermalerosion4556
@thermalerosion4556 Жыл бұрын
Amazing that a guy on KZfaq can code geometry dash faster than the creator of geometry dash
@PerfectNine
@PerfectNine Жыл бұрын
As a GD player this video was really interesting! Thanks :))
@Xikiea
@Xikiea Жыл бұрын
All coding KZfaqrs get more insane as the video goes on, and I love it.
@neribo
@neribo Жыл бұрын
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
@glasscannon1231
@glasscannon1231 Жыл бұрын
my fav geometry dash KZfaqr
@CodeNoodles
@CodeNoodles Жыл бұрын
Lol
@lululegende
@lululegende Жыл бұрын
This is incredible!!
@Just_Your_Average_Goose
@Just_Your_Average_Goose 11 ай бұрын
CodeNoodles: "The collision is working fine." Also CodeNoodles: *proceeds to walk through the blocks*
@ComiCherro
@ComiCherro Жыл бұрын
3:27 "but with it now properly adjusted the collision is now working flawlessly" *proceeds to walk through a tile*
@QMagix1
@QMagix1 Жыл бұрын
Bro give this man some subscribers!!!! This probably takes like 2 months to make!!!❤❤
@OwoAshes
@OwoAshes Жыл бұрын
Omg amazing work! I couldn’t do any programming- (well I could if I had motivation to try)
@blanana_m
@blanana_m Жыл бұрын
That's a really cool idea
@oldaccount6555
@oldaccount6555 Жыл бұрын
2:49 the background in gd moves by the y position aswell
@CodeNoodles
@CodeNoodles Жыл бұрын
Oh crap you're right 😆
@jedthei6099
@jedthei6099 Жыл бұрын
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.
@CodeNoodles
@CodeNoodles Жыл бұрын
Thanks so much! It means a lot.
@your_average_game_player
@your_average_game_player Жыл бұрын
I was here first :(
@fpcooper95
@fpcooper95 Жыл бұрын
I immediately recognized the first part of the stage but I don't think I ever got to the end 🤣🤣🤣🤣🤣
@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?
@spectralkat1597
@spectralkat1597 Жыл бұрын
Man i would me so happy if i could program better, i only know a bit of lua, anyways super awesome video!
@Cleeuwen05
@Cleeuwen05 Жыл бұрын
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.
@leandruss
@leandruss Жыл бұрын
Damn nice!
@renefrederiksen5048
@renefrederiksen5048 Жыл бұрын
Love youre video make me happy
@NCHAO.
@NCHAO. Жыл бұрын
watching a bowl of spaghetti explain to me the basics of AI coding and geometry dash functioning made me hungry
@deathstinger13
@deathstinger13 Жыл бұрын
dang it, your in-vid avatar and your channel name made me hungry XD
@Henrix1998
@Henrix1998 Жыл бұрын
I'm not even mad this is very CodeBullet style video because he uploads so rarely
@thesurvivor3737
@thesurvivor3737 Жыл бұрын
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 Жыл бұрын
I'm pretty sure it has not been done before. It's very well done, I feel.
@LilCalebW
@LilCalebW Жыл бұрын
Niiiice
@The_octogamer
@The_octogamer Жыл бұрын
I just love how the tiles stretch in view
@bobfish1290
@bobfish1290 Жыл бұрын
got your video in my recommended lmao
@transportnyfanat303
@transportnyfanat303 Жыл бұрын
This looks better than the original Stereo Madness.
@romanvolotov
@romanvolotov Жыл бұрын
ship part was cool
@tornadoreaper
@tornadoreaper Жыл бұрын
cool beat back on track now
@KaijuRhino
@KaijuRhino Жыл бұрын
Nice
@0m7_
@0m7_ Жыл бұрын
Nice! Now make and beat Misantrophe with this
@mmorrell1986
@mmorrell1986 Жыл бұрын
Alternate title: my dinner making an AI for geometry dash
@ARandomCanadian
@ARandomCanadian Жыл бұрын
“I don’t want to spend the rest of my life making this mobile game” Robtop: and I took that personally
@spacebirdfleetio151
@spacebirdfleetio151 Жыл бұрын
A.I? Thats cool
@dark____
@dark____ Жыл бұрын
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 Жыл бұрын
i love the tip
@noahthegod1267
@noahthegod1267 Жыл бұрын
@@gadoogez 🤨
@Pyrodiac
@Pyrodiac Жыл бұрын
And before anybody says something about them being "broken" hitboxes, they aren't.
@hiagogames
@hiagogames Жыл бұрын
The hitbox is just like A thin rectangle standing up
@KINGoftheHunters
@KINGoftheHunters Жыл бұрын
Cool.
@-CookieDev-
@-CookieDev- Жыл бұрын
"a very popular mobile game" i just about died.
@AnImmortalBean
@AnImmortalBean Жыл бұрын
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 Жыл бұрын
Thank you!
@txrnip
@txrnip Жыл бұрын
Isn’t some of the art vector tho lol
@AnImmortalBean
@AnImmortalBean Жыл бұрын
@@txrnip Drawn in vector, than converted to bitmap
@sohumchatterjee9
@sohumchatterjee9 Жыл бұрын
Would heavily suggest using the steam version of the game for increased efficiency, as you can easily access all the files using it
@irfanmuzaki6698
@irfanmuzaki6698 Жыл бұрын
Ah... This type content what i was looking for...
@rlhugh
@rlhugh Жыл бұрын
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.
@NotHungarian
@NotHungarian Жыл бұрын
if you own the game on steam you can browse the local files and find all textures in an assets/resources folder
@newbite6394
@newbite6394 Жыл бұрын
W, wow man.
@pokics
@pokics Жыл бұрын
Ur so underrated
@BriefGD
@BriefGD Жыл бұрын
Now do Slaughterhouse! 😂
@foodynooby
@foodynooby Жыл бұрын
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 Жыл бұрын
I believe that AI is using brute force. Brute force is a valid approach, but I feel CodeNoodle's approach is more elegant.
@Sacrefiied
@Sacrefiied Жыл бұрын
It's like a Geometry Dash Maker, sort of.
@danielwang5150
@danielwang5150 Жыл бұрын
Code bullet but the uploads are actually consistent
@rlhugh
@rlhugh Жыл бұрын
Consistency of uploads vs code bullet is a pretty low bar I feel lol :P
@kaanitoplays
@kaanitoplays Жыл бұрын
I struggle on geometry dash so this ai would be helpful
@gioyous
@gioyous 10 ай бұрын
AI can't even play 94416405 (A LEVEL WHERE YOU SHOULDN'T DO ANYTHING) and keeps dying That's an AI vs. AI with this
@BromeoWuggles
@BromeoWuggles Жыл бұрын
Very epic so far Will you be adding the ship in the future, or are you sticking to the cube?
@CodeNoodles
@CodeNoodles Жыл бұрын
Depends on how ambitious I am.
@roid9822
@roid9822 Жыл бұрын
Robtop when he sees this: whut is this
@SasamuelTheCool
@SasamuelTheCool Жыл бұрын
Me when underrated KZfaqr
@MemoryMachineYT
@MemoryMachineYT Жыл бұрын
You can get all the stuff on, the spriters resource
@Md5offical
@Md5offical Жыл бұрын
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
@CMAKdaSILLY
@CMAKdaSILLY 10 ай бұрын
The three spike jumps don’t have to be brutal because you could just become RobTop and make the spike hitbox a tiny rectangle😂
@breadeater1972
@breadeater1972 Жыл бұрын
I wish I could code like this, I'm trying to make use of VERY simple code to have a macro do my online homework by clicking in multiple different spots repeatedly. Heck, I wouldn't even call it code XD.
@moltengears7483
@moltengears7483 Жыл бұрын
The collision for the spike is actually a small rectangle within the spike by the way
@TonyIsCool45
@TonyIsCool45 Жыл бұрын
In game you can see that the sprites default are in fact noisy if you didn't know. (or dithered)
@ladyibis580
@ladyibis580 Жыл бұрын
CONFETTI CANNON \o/
@FRACTUREDFUNGI
@FRACTUREDFUNGI Жыл бұрын
the very noisy backround is the real one lol
@Iggonic
@Iggonic Жыл бұрын
I’m pretty sure that the cube is meant to be closer to the left but other than that this looks kinda decent ngl.
@telcaum
@telcaum Жыл бұрын
AI learns to play Geometry Dash but there's no AI
@tdxiswinningreal
@tdxiswinningreal Жыл бұрын
nice job, now make it beat slaughterhouse
@Shulkern
@Shulkern Жыл бұрын
This is truly a today
@noobier9790
@noobier9790 Жыл бұрын
3:43 omg the hitboxes are huge
@ccost
@ccost Жыл бұрын
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
@avatarmadman
@avatarmadman Жыл бұрын
I feel like gd is gaining more traction as of the past couple of weeks or so
@GGamerLiam
@GGamerLiam Жыл бұрын
With sneak peek 2
@Villagerslime
@Villagerslime Жыл бұрын
He invented platformer mode!
@trethetree
@trethetree Жыл бұрын
9:34 lol
@chumbleychannel96
@chumbleychannel96 Жыл бұрын
Bruh I was going to have this project as a science fair but I went with something else lol.
@explodingwolfgaming8024
@explodingwolfgaming8024 Жыл бұрын
Commenting 4 algorithm
@dylanmcadam8509
@dylanmcadam8509 Жыл бұрын
I really want spaghetti now
@Pixeleer
@Pixeleer Жыл бұрын
im imagining a youtube video named "AI beats Artificial Ascent"
@Enderia2
@Enderia2 Жыл бұрын
Good news: this video will blow up soon because i found it in reccomended and dont know you. Pre-1000 gang ig
@megadubstepxd9462
@megadubstepxd9462 Жыл бұрын
There is actually a discord server dedicated to geometry dash modding, and they already work on self playing gd, maybe you could contact people from there
AI Learns to play Geometry Dash || Part 2
10:27
CodeNoodles
Рет қаралды 183 М.
AI Learns to play Geometry Dash || FINAL
11:51
CodeNoodles
Рет қаралды 236 М.
100❤️
00:19
MY💝No War🤝
Рет қаралды 21 МЛН
Vivaan  Tanya once again pranked Papa 🤣😇🤣
00:10
seema lamba
Рет қаралды 35 МЛН
50 YouTubers Fight For $1,000,000
41:27
MrBeast
Рет қаралды 104 МЛН
Каха и суп
00:39
К-Media
Рет қаралды 5 МЛН
A.I Learns to Play TOWER DEFENSE
11:32
ZuzeloApps
Рет қаралды 87 М.
My Computer Taught Itself to Play Minecraft
14:47
Poppro
Рет қаралды 1 МЛН
Geometry Dash AI Is Fake.
2:30
DomisorusRex
Рет қаралды 7 М.
I Coded Snake but there's a Catch...
9:45
CodeNoodles
Рет қаралды 2,8 МЛН
Evolving Genetic Neural Network Optimizes Poly Bridge Problems
9:59
How I made HOW in Geometry Dash
12:00
Spu7Nix
Рет қаралды 3 МЛН
AI Learns to Speedrun Mario
8:07
Kush Gupta
Рет қаралды 703 М.
RobTop Levels, But You Can't Breathe...
18:27
Sdslayer
Рет қаралды 29 М.
How I Made The HARDEST Level in 27 Objects...
8:09
Cob
Рет қаралды 760 М.
I Finished 2D Minecraft
8:31
CodeNoodles
Рет қаралды 197 М.
Сколько реально стоит ПК Величайшего?
0:37
Klavye İle Trafik Işığını Yönetmek #shorts
0:18
Osman Kabadayı
Рет қаралды 3 МЛН
Опыт использования Мини ПК от TECNO
1:00
Андронет
Рет қаралды 787 М.