How is this POSSIBLE? - 4D Golf Devlog #8

Start your free 30-day trial at brilliant.org/CodeParade/ and get 20% off the annual premium subscription.
Get 4D Golf on Steam: store.steampowered.com/app/21...
4D Golf Devlog #3: • How Do You Build 4D Wo...
4D Golf Playlist: • 4D Golf
Join the discord
/ discord
Official 4D Golf + CodeParade Merch
crowdmade.com/collections/cod...
Music by philmakesnoise
#4dgolf

Пікірлер: 536

  • @ThePondermatic
    @ThePondermatic26 күн бұрын

    I am 100% serious about this: You can absolutely get at least one academic paper published out of your 5D engine if you want to. And I predict that if you're so inclined, you can make an entire career out of offering consulting services for your engine once you release it (for which, by the way, you would be entirely justified in charging money for licenses).

  • @theminecraft4202

    @theminecraft4202

    25 күн бұрын

    as nice as this sound i very much doubt enough people would have a use for a 5D engine for this to be more than a neat novelty, and most if not all of the novelty comes with making it run in Unity. You can already visualize 5d with more math oriented graphing tools, and none of the math done here is innovative. The main innovation comes from having to bridge the gap to 5d in code since Unity/C# doesnt support any sort of 5d math (for obvious reasons)

  • @tetraspacewest

    @tetraspacewest

    24 күн бұрын

    Yep, e.g. hyperrogue have scientific publications from their hyperbolic geometry engine

  • @Bleenderhead

    @Bleenderhead

    23 күн бұрын

    I've seen a lot of really cool and novel tech developed as a passion project never really get adopted anywhere. Or see some adoption but never really catches on, like Digital Molecular Matter destruction physics and the many attempts to develop fully procedural world generation techniques (kzread.info/dash/bejne/i2mV1MihYM6whNI.html)

  • @henrycgs

    @henrycgs

    22 күн бұрын

    I mean. Like. "a career out of offering consulting services for [a 4D and 5D] game engine"? you seriously can't be this out of touch. I'd be impressed if I saw a single new 5D game. simply put, 4D and beyond are simply... not... fun. they're cool as a tech demo/edutainment game but you can't use them to make a serious game, or a game about anything else other than it being 4D.

  • @Sammysapphira

    @Sammysapphira

    22 күн бұрын

    @@henrycgs You're just not thinking outside of the box. There are plenty of puzzle games you can make, exploration games, or even horror games.

  • @MaxOnTech
    @MaxOnTech26 күн бұрын

    To save CodeParade's sanity we should refrain from writing 6D in the comments.

  • @Uni_974

    @Uni_974

    26 күн бұрын

    To late‚ I want to see a 7D game

  • @ArcturusEmrys

    @ArcturusEmrys

    26 күн бұрын

    He did say that he tried 6D but that the movement mechanics would be too incomprehensible. I guess we don’t get to experience triple rotation 😢

  • @galoomba5559

    @galoomba5559

    26 күн бұрын

    @@Uni_974 try the 7D rubik's cube

  • @StuffandThings_

    @StuffandThings_

    26 күн бұрын

    XD

  • @genybr

    @genybr

    26 күн бұрын

    @@Uni_974 Tzeench in 9D castle main hall: - Well-well-well. Wake up the Emperor!

  • @bakto2122
    @bakto212226 күн бұрын

    5 seconds into the video: "what could you even spoil about a golf game, i dont care about the story anyway, im here for the dimensions" 10 seconds later: "f*ck..."

  • @cyberneticsquid

    @cyberneticsquid

    22 күн бұрын

    Yeah... I was expecting it to be something like revealing a depiction of a 4D being...

  • @Zaddis

    @Zaddis

    20 күн бұрын

    I debated it with myself but I was so curious as to wtf could be a "Huge spoiler" for a *golf game*

  • @Syrahl696

    @Syrahl696

    17 күн бұрын

    Same here. I've been clicking these videos, but never actually intended to get the game. It's a really cool concept, but since I'm already a little bit familiar with 4-d stuff, I felt I didn't have any really novel experience to look forward to. Now I know otherwise and I will be picking the game up when I've got some more free time.

  • @bhavbot6819

    @bhavbot6819

    11 күн бұрын

    IKR

  • @ziggyzoggin

    @ziggyzoggin

    11 күн бұрын

    @@Syrahl696 "It's a really cool concept, but since I'm already a little bit familiar with 4-d stuff, I felt I didn't have any really novel experience to look forward to." That's extremely silly. You're doing yourself an extreme disservice here, any time you interact with a new 4D thing you gain soo much intuition that you didn't even know you were missing. If you don't care about 4D that's fine but if you do, never assume you know everything. Honestly, never assume you know everything in *any* subject.

  • @thecalicodragon4103
    @thecalicodragon410326 күн бұрын

    I was very confused when I got to the first beyond level and my fans kicked in to overdrive when there was like two track pieces lol

  • @sunbleachedangel

    @sunbleachedangel

    26 күн бұрын

    lmao

  • @cheeseburgermonkey7104

    @cheeseburgermonkey7104

    26 күн бұрын

    My potato laptop cannot go even one second on the default resolution without throwing a tantrum and turning the sound into static...

  • @yeetrepublic9142

    @yeetrepublic9142

    24 күн бұрын

    Same, I had no idea how my barely-gaming laptop was able to handle it

  • @cookieceleste7270
    @cookieceleste727026 күн бұрын

    At this point you are at the top of the list regarding people with most knowledge on higher dimensions

  • @PunmasterSTP

    @PunmasterSTP

    26 күн бұрын

    I'm pretty much convinced that CodeParade is himself a higher-dimensional being...

  • @harriehausenman8623

    @harriehausenman8623

    26 күн бұрын

    Serioulsy, I think *everybody* having *anything* to do with higher-dimensions knows you 🤗

  • @SeanStClair-cr9jl

    @SeanStClair-cr9jl

    26 күн бұрын

    Haha I love this take. Damn. It is absolutely correct.

  • @DarkPortall

    @DarkPortall

    26 күн бұрын

    i mean, we're all on the list, just not that high up🫠

  • @anarchosnowflakist786

    @anarchosnowflakist786

    26 күн бұрын

    @@PunmasterSTP he's trying to build a bridge back to his home dimension 😂

  • @lokikol6537
    @lokikol653726 күн бұрын

    3:17 “I don’t really understand it, but that’s just how it works out” -most game devs and physicists

  • @thezipcreator

    @thezipcreator

    26 күн бұрын

    mathematicians too

  • @Happy_Abe

    @Happy_Abe

    26 күн бұрын

    @@thezipcreatorI mean mathematicians actually prove things and learn the proof to theorems they use so I think the understanding the thing is in the proofs. Sure they might not be able to visualize the 5th dimension, but they can work with the general principles and understand what they need to to say what they need to. The other fields often just use the results from mathematics without really understanding it so I’d agree there.

  • @thezipcreator

    @thezipcreator

    26 күн бұрын

    @@Happy_Abe I was more referencing that like mathematicians don't necessarily understand like _why_ shit is the way it is; for example, nobody knows why the pariah groups exist, they just do (under a logically bound system)

  • @Happy_Abe

    @Happy_Abe

    25 күн бұрын

    @@thezipcreator yeah that’s a good example. But why is a very philosophical question and many mathematicians won’t even deal too much in it. And I think the monster group is a unique case of this. The classification of the finite simple groups was proven in parts by so many different mathematicians that no one person probably has a full understanding of it, they just built off each other is my guess. But most things a mathematician will prove will be something they have a really good understanding of. I’m in a math PhD program now and I’m consistently blown away by how rich of an understanding my professors have of their field.

  • @spinnenente
    @spinnenente26 күн бұрын

    the 5d reveal was amazing. It might be one of the best twists i've ever seen a puzzle game do.

  • @lexinwonderland5741

    @lexinwonderland5741

    26 күн бұрын

    it's gotta be tied with Hyperbolica, his ending there THREW ME WAY HARDER THAN EXPECTED

  • @indefesa

    @indefesa

    26 күн бұрын

    I wish I discovered it while playing (I only watched the devlogs)

  • @LD_Logaia
    @LD_Logaia26 күн бұрын

    as a 4th dimensional being myself, i can truly see the world you made in , however my 4th dimensional brain cannot process 5th dimensional courses are unimaginable and therefore a lot of trouble playing , but i made all of it by the end, this game is truly the best game

  • @liam8370

    @liam8370

    26 күн бұрын

    I think u mean trying to understand 5d golf in my 4d world through this 3d monitor which is perceived by my 2d eyes and finally my 1d brain

  • @y4junzhan56

    @y4junzhan56

    26 күн бұрын

    ​@@liam8370 👍

  • @Wonders_of_Reality

    @Wonders_of_Reality

    26 күн бұрын

    As a cybernetic fairy, I recommend you say goodbye to your organic brain. It’s so much easier to upgrade an artificial brain with photonic connections and quantum processors.

  • @Alex_192.

    @Alex_192.

    26 күн бұрын

    @@Wonders_of_Reality As a bionic creature, it's much more space efficient even than entanglement storage to just encode everything into DNA, and it's much faster too because I don't need everything to destructively interfere with itself to get what I want from memory. Robotics is the way, just organic robotics instead of artificial robotics. If you're a higher dimensional being, it would be even more space efficient, as well.

  • @OLDACCOUNT_notfireman
    @OLDACCOUNT_notfireman26 күн бұрын

    who, what, where, when and why? How do you even have the sanity for this

  • @Shuck34

    @Shuck34

    26 күн бұрын

    He doesn’t, he just powers through it and hopes the code doesn’t explode

  • @Uni_974

    @Uni_974

    26 күн бұрын

    I got one better which direction did his sanity go

  • @joelhaggis5054

    @joelhaggis5054

    26 күн бұрын

    ​@@Shuck34 Cheers, I'll drink to that.

  • @StuffandThings_

    @StuffandThings_

    26 күн бұрын

    @@Uni_974 It disappeared into the secret 6th dimension

  • @akeem2983

    @akeem2983

    8 күн бұрын

    @@Uni_974 It doesn't go, it just experiences triple rotation

  • @WackoMcGoose
    @WackoMcGoose26 күн бұрын

    This is literally "fine, I'll do it myself"-ing Miegakure.

  • @kovidkhokar298
    @kovidkhokar29825 күн бұрын

    just imagining a 5D game built on a 4D world being rendered in a 3D world on a 2D screen sounds so tough a challenge

  • @HikidyMapping

    @HikidyMapping

    4 күн бұрын

    for your 1d brain to understand

  • @ethan44866

    @ethan44866

    Күн бұрын

    Transmitted one dimensionally through a wire

  • @jblen
    @jblen26 күн бұрын

    Thats hilarious. The spoiler for your 4d golf game is that it's actually 5d.

  • @ArcturusEmrys
    @ArcturusEmrys26 күн бұрын

    This was the best part of 4D Golf. I came in looking for a game to grow my third eye with, and came out with a FOURTH eye (you can’t see it, it’s a few centimeters kata and deorsum)

  • @dorianjack2240
    @dorianjack224026 күн бұрын

    Can we just take a moment to appreciate all the work codeparade has put into everything? Not only did he make 5 dimensional golf, but he also actively engages with his community. He reads nearly every message posted in his discord server. He listens to suggestions and bugs and actually *listens.* When the game first came out I reported a bug in the discord server, and in the same day, cp had fixed it and pushed a new version to steam. And on top of it all, he has been making this masterpiece of a video to explain it all. We love you codeparade!!! 💚

  • @prophetzarquon1922

    @prophetzarquon1922

    24 күн бұрын

    He didn't help me move. *-1 star.* 6 stars for the game & engagement, though; so, 5 out of 5 in total

  • @BlazeMakesGames
    @BlazeMakesGames26 күн бұрын

    God yeah this level set wrinkled my brain when I streamed it. It was so crazy trying to wrap my head around it I was basically forced to play it by ear and just keep pointing myself at the hole and hope for the best lol

  • @PunmasterSTP

    @PunmasterSTP

    26 күн бұрын

    Yeah, that was basically my strategy. Trial and error...

  • @Minihood31770

    @Minihood31770

    26 күн бұрын

    That's how I've had to handle the 4D levels! I'd have no chance!

  • @youtubeuniversity3638
    @youtubeuniversity363826 күн бұрын

    8:05 More triangles AND it even looks lower poly too, oucha...

  • @harriehausenman8623

    @harriehausenman8623

    26 күн бұрын

    Almost *no* bang for *all* the bucks 😆

  • @MilkGlue-xg5vj

    @MilkGlue-xg5vj

    26 күн бұрын

    He could've just got a 3d ball and superimposed it on top of the screen so it's looks like as it's part of the 4d/5d world.

  • @SamRMoyer

    @SamRMoyer

    26 күн бұрын

    @@MilkGlue-xg5vjI’m assuming it’s due to the engine he made. I’m imagining if the ball were 3D then it would not interact with 4D or 5D objects at all

  • @MilkGlue-xg5vj

    @MilkGlue-xg5vj

    26 күн бұрын

    @@SamRMoyer then it could maybe be an invisible 5d point instead of the 5d object, although it could not be able to roll probably.

  • @nothappyz

    @nothappyz

    25 күн бұрын

    ​@@MilkGlue-xg5vj Why would he cheat something like that? It would make no sense. 5d has low poly balls so you get a low poly ball 😅

  • @RandomProduct
    @RandomProduct26 күн бұрын

    Me at 0:06 "This is fine, I know it'll take me forever to get through my backlog anyway" Me at 0:12 "Oh, I guess 4D Golf is at the top of my backlog now"

  • @icaro8264
    @icaro826426 күн бұрын

    comments: make 5d golf codeparade that already made 5d golf: haha very funny

  • @lumipakkanen3510
    @lumipakkanen351026 күн бұрын

    As a mathematician and a programmer, this is fantastic and fascinating! However as a player I felt like the 5D courses were a chore where you spend way too much time just figuring out where to look. Certainly a novel experience to feel that lost in all of those extra dimensions, though.

  • @prophetzarquon1922

    @prophetzarquon1922

    24 күн бұрын

    Would it be better, or worse, with a ball-stealing jump-scare creature lurking in the out-of-alignment dimensions?

  • @lumipakkanen3510

    @lumipakkanen3510

    24 күн бұрын

    @@prophetzarquon1922 That might be a fun addition to the marble mode. The pacing doesn't fit golf mode IMO.

  • @CodingDragon04
    @CodingDragon0426 күн бұрын

    I loved the reveal! The main I liked about it is that it was the first course where I really had to think in 4 dimensions. During the previous courses, I had gotten pretty good at reducing courses to 3 dimensions: making good use of the volume view and choosing my slice exactly so that the ball did not leave it and the course basically became 3 dimensional. Only during the 5d levels, there was no true volume view any more (this view was itself a slice). To get subpar on these levels I had to really wrap my mind around what was going on. I found myself doodling diagrams and 4d vectors on paper and actually paying very close attention to the compass.

  • @Kh-ik3de

    @Kh-ik3de

    4 күн бұрын

    There is no way you actually used diagrams for the beyond. It’s just 5d.

  • @logicalfundy
    @logicalfundy26 күн бұрын

    The 5D reveal in the game was crazy, quite the twist. I did power through them - but I don't think I'll revisit the bonus material for them. 4D twisted my mind enough as-is. I can only imagine trying to code such a monstrosity; it looks like you pushed engines and compilers and shaders to their limits.

  • @donavonlist3121
    @donavonlist312126 күн бұрын

    if i had to guess why 5D has such little symmetry, i would say it has to do with the insolvability of the quintic, which has to do with the simple group A5, and why it’s simple.

  • @christopherwiseman1267

    @christopherwiseman1267

    26 күн бұрын

    But the same is true for degree 6+ polynomials, and those dimensions can have more symmetry

  • @quantranhong1092

    @quantranhong1092

    26 күн бұрын

    I think that it relates to Mathieu 11 group instead of A5. Maybe tracking the sporadic group can help us know more about special dimensions like 5 dim

  • @prophetzarquon1922

    @prophetzarquon1922

    24 күн бұрын

    We should ask Mxyzptlk

  • @boolightningstudios
    @boolightningstudios26 күн бұрын

    5d golf? I thought my brain was already broken but now I have a splitting headache too

  • @r3dp9

    @r3dp9

    24 күн бұрын

    I've barely reached the point where the 4d courses don't give me a headache as long as I don't play for more than 15 minutes. I quit after the second level of the first 5d course. I'm not ready for it just yet. I'm sure i could brute force a solution, but I'd have no understanding of what I'd be doing.

  • @minetomek
    @minetomek26 күн бұрын

    I can't even understand 4D and this guy is programming in 5D.

  • @Uni_974

    @Uni_974

    26 күн бұрын

    I think your over reacting‚ all he did was buy himself a 5D PC

  • @akeem2983

    @akeem2983

    8 күн бұрын

    ​@@Uni_974 A big flat multi-layered 4D chip that uses 5th dimension for cooling actually sounds like a computer with superpowers

  • @Kh-ik3de

    @Kh-ik3de

    4 күн бұрын

    @@akeem29834D pcs would be soooooo space efficient. I mean, it’s quadratically better

  • @ianjackson9852
    @ianjackson985226 күн бұрын

    I loved this whole game, but especially Beyond. The vibe you get when you open the course, and it looks super easy but clearly is not, fills you with foreboding. And then that's confirmed when you don't make it to the hole, and a cutscene plays -- you're in 5D!! Crazy fun.

  • @c33minus
    @c33minus26 күн бұрын

    When i got to the reveal i think that was the quickest ive ever drawn myself choking out a game character, regardless of the “being of light”ness or not

  • @FluffyAngelUwU
    @FluffyAngelUwU20 күн бұрын

    Can't wait for 6 dimensional golf where the ball Coles out of the screen and kills me on the beyond² levels

  • @x8c8r
    @x8c8r26 күн бұрын

    This is absolutely insane how you managed to get not just 4D but 5D to work AT ALL, not even talking about it being as smooth as it is. I can't read any of the code you showcase in this video, which I find ever so fascinating! I really liked the finale, even though I barely understand 5D compared to me more or less understanding 4D. I wish there were more options and objects for levels, so you could possibly make some non-golf levels in 4D/5D, that would be really sick.

  • @akeem2983

    @akeem2983

    8 күн бұрын

    I don't think that he has time to develop something like this, but CodeParade promised that he will open source the engine of 4D Golf just like he open sourced the engine for Hyperbolica

  • @baronvonbeandip
    @baronvonbeandip26 күн бұрын

    Man, the second you mentioned needing to make a Vector5 since Unity only has Vector4, I felt a pain in my soul as a Unreal dev. I have to make a matrix math library this weekend and I'm not excited.

  • @prophetzarquon1922

    @prophetzarquon1922

    24 күн бұрын

    On the upside, at least you're not dealing with Unity...

  • @Console.Log01
    @Console.Log0126 күн бұрын

    in 3D, a line can intersect a 2D plane at only one point, but in 2D, that same line cannot intersect the 2D plane at one point except for in specific edge cases. So there is a lower dimension analogue for a 3D mesh intersecting a 2D plane at only one point.

  • @timothymclean
    @timothymclean16 күн бұрын

    I can't imagine how hard it would be to debug the renderer. "Oh, the whole screen is just visual nonsense again? I wonder what went wrong this time. Better review all my code..."

  • @joelhaggis5054
    @joelhaggis505426 күн бұрын

    Top 10 video game plot twists.

  • @TheCobyMagic0
    @TheCobyMagic026 күн бұрын

    My man has been playing 5d chess with us the whole time 💀

  • @Gameatronic9000
    @Gameatronic900023 күн бұрын

    before watching and after playing the game. when i got there i felt it was a bit flat, and given the title beyond i felt some pull was gonna happen, especially since i saw this thumbnail when it was published. got the game yesterday and blasted through the courses last night and today. when he said we're not 4D my brain sank and exploded with excitement "you're 5D?" i guessed. he said we've actually 5D and i nearly ell out of my seat. it struck me as odd the entire game how in 4D and even in volume mode the ball would nearly ceaselessly warble its shape and surface. because it was a 5D ball the entire time, and i just stayed perfectly still in that 5th axis the rest of the game. so congratulations. i felt the entire process of watching this devlog and seeing the complete pipeline of creating a 4D game from scratch was massively impressive enough. 5D, you got me man, now to watch this video explaining the math and code... watching video YOU ADDED INTEGER TEMPLATES TO C#‽‽‽‽‽‽‽ of course you did, you've reimplemented so much and generalized for higher dimensions. that ladder for 3D to 5D meshes was terrifying, and i know each step of that path. also dear CHRIST, i remember the VR and multiplayer for this, but i ENTEIRLY FORGOT you were gonna publish this engine OPENLY for more higher dimensional games to be created with it. the future of this is going to be incredibly insane. but in the end, i'm interested to see what you're gonna get up to after being stuck with golf for so long? can't wait to see. and i didn't even THINK of seeing for videos of people playing the game. but what i'm most needing to get used to is Anna and Katta, as when i learned about 4D stuff when iw as a kid i always found people saying "in" and "out" as the directions, and only about a year ago did i first here whispers of anna and kata. feels like the AD and BC to CE and BCE switch all over again. anyways, enough rambling. thank you from the bottom of my overly mathematical nerdy heart for this, and developing a soon to be open 5D/4D engine that works and works WELL.

  • @akeem2983

    @akeem2983

    8 күн бұрын

    Actually, no, the 4D parts of the game aren't 5D, at least on the level of the game engine. Ball seemingly morphs and changes shape even in volume mode because volume mode is also just a slice of the full 4D world, but in the different direction. In volume mode, the ball is actually more likely to have weird-looking rotation because it's unlikely for the ball to have one of its rotation planes parallel to the ground

  • @Meni_Rosenfeld
    @Meni_Rosenfeld16 күн бұрын

    The way the reveal played out gave me the same vibe as the reveal in My First Quantum Translocator. At least this time, nobody was trying to kill me.

  • @sunbleachedangel
    @sunbleachedangel26 күн бұрын

    I never thought about how higher dimensions require so much more compute but it makes sense of course

  • @rtg_onefourtwoeightfiveseven
    @rtg_onefourtwoeightfiveseven26 күн бұрын

    I've been waiting for this devlog ever since I reached Beyond. What a twist it was.

  • @Kh-ik3de

    @Kh-ik3de

    22 күн бұрын

    Ditto

  • @firestorm_2048
    @firestorm_204826 күн бұрын

    I am now convinced that you are a multi-dimentional creature tring to make us humans understand higher dimensions

  • @prophetzarquon1922

    @prophetzarquon1922

    24 күн бұрын

    Section 31: Agents en route

  • @potaatobaked7013
    @potaatobaked701326 күн бұрын

    I was wondering why there wasn't a 5d option in the level editor. Now it makes sense.

  • @Quifania

    @Quifania

    25 күн бұрын

    Interestingly you can already create 5D levels in a text editor if you know the syntax, or can guess-check the syntax, and import them. The syntax is similar to 4D level creator exports except the integers select from an increased list of 5D direction options. Examples of 5D elements in this syntax are: "Straight4" and "Turn4,1" More details on the steam forum for this game, and CodeParade said there that he hopes to add a guide for that soon. Someone also posted the complete textfile for Beyond level 2 and it works!

  • @user-mx6hu9yv6l
    @user-mx6hu9yv6l26 күн бұрын

    When I'd gotten to The Big Reveal I've gotten absolutely flabbergasted beyond belief. Knowing how hard it'd been so far, I've gotten absolutely PETRIFIED after it'd started to sink in just HOW MUCH the possible complexity might grow. And then I just said no. No. Nope. Nu-huh. Nope. I'm not going there. This forbidden knowledge should stay forbidden. I'm sorry, the multidimensional entity, I failed you. And I didn't launch the game since. I guess, It couldn't be that bad after all knowing now that you didn't go all the way with the 5th dimension. Maybe I should try again?.. But yeah, that Big Reveal hit me hard.

  • @dominiccasts

    @dominiccasts

    26 күн бұрын

    The Beyond levels incorporate mechanics from all the previous zones, but I didn't find them much harder to birdie than Dunes or Mezzanine, at least once I figured out what way things went.

  • @SSM24_

    @SSM24_

    26 күн бұрын

    The main Beyond course is honestly easier than the stuff before it because the actual golfing is a lot easier to compensate for the extra complexity. Beyond Challenge, though... oof.

  • @Scoopta

    @Scoopta

    26 күн бұрын

    @@SSM24_ tbh I found beyond challenge easier than dunes challenge. Dunes challenge was by far the hardest map for me, all the hills destroyed me...mainly because hills destroy me in regular minigolf and then you add 4D slopes to your hills and forget it

  • @dominiccasts

    @dominiccasts

    26 күн бұрын

    @@SSM24_ Birdie-ing Spirit Bridge was kinda hell, though. Only time I had to use a near 180° bank shot to birdie a hole

  • @shayneweyker
    @shayneweyker26 күн бұрын

    The mathematics and scientific visualization communities may well have other applications for some of the code in the game.

  • @prophetzarquon1922

    @prophetzarquon1922

    24 күн бұрын

    Yes, this is really worth publishing a paper

  • @Nurpus
    @Nurpus24 күн бұрын

    Your perseverance is crazy. I would love to see a game you'd make if you teamed up with talented environmental artists/animators!

  • @unvergebeneid
    @unvergebeneid26 күн бұрын

    There are spoilers for golf?! Huh, I guess I do have to play the game now.

  • @cupofdirtfordinner
    @cupofdirtfordinner26 күн бұрын

    i finally understand what my friends hear when I talk about programming struggles. I can only really tell what you're talking about by tone lmao

  • @Typocat
    @Typocat26 күн бұрын

    I remember completing 4D golf, i swear that caught me off guard, also i enjoy how the first level that uses 4D and 5D are the "same" (same layout, expect one has the wall and hole in 5D)

  • @lightspeedbubble7359
    @lightspeedbubble735925 күн бұрын

    You should've said "you should finish the game before watching"! I played the game but didn't finish it yet. I thought you were going to talk about the volume view or something so I got spoiled. Ookayy... Yoou did say "How did I do that finale?" Maybe I couldn't wait then... Oh well, at least now I really wanna finish it.

  • @panampace
    @panampace3 күн бұрын

    Most devs: “our final boss will have an extra health bar” This guy: “my final boss will require me to write a 5-dimensional engine in C#”

  • @cheeseburgermonkey7104
    @cheeseburgermonkey710426 күн бұрын

    The fact you went out of the way not only to make a 4D game engine, already complicated as hell on its own, but also making a 5D game engine... I have to use a low quality 4:3 screen just to get rid of 80% of the lag in Beyond...

  • @dkkoala1
    @dkkoala126 күн бұрын

    GPUs are most definitely good at 5x5 matrix multiplications and vector5 dot products, it is just HLSL that is not set up for it. These kinds of operations are common place in ML workloads, with matrices often being above 1000x1000 in size. So if it is possible to make some custom CUDA, Metal or Vulkan kernels, which are called from HLSL, then a lot of the problems you had would be solved.

  • @CodeParade

    @CodeParade

    26 күн бұрын

    Of course, but for rendering output and working within a game engine, there's not the level of flexibility I would need for that, at least not that I could figure out.

  • @dkkoala1

    @dkkoala1

    26 күн бұрын

    @@CodeParade That makes sense, even if you could import CUDA code into the shader, you would still have had to write the same kernel Metal, Vulkan and all other shader languages you wanted to support. It is a shame though that you can't just use compute shader functions from within a vertex shader, since the compute shader language is a abstraction of native CUDA, Metal and Vulkan, code. In that way you could have had both the performance benefits of custom kernels, and the native support for all platforms.

  • @empireempire3545

    @empireempire3545

    23 күн бұрын

    @@CodeParade It can be done - for example one of the first CUDA books, 'CUDA in examples' has an entire chapter on CUDA/OpenGL interoperability.

  • @astrifarhansatriorahadian536
    @astrifarhansatriorahadian53610 күн бұрын

    Imagine the sheer size of the jaws of the people who jokingly asked for a 5D game. This is nuts.

  • @gaimnbro9337
    @gaimnbro933726 күн бұрын

    4D: Nah this is easy 5D:

  • @flabort
    @flabort26 күн бұрын

    With 24 possible rotations, no wonder you haven't yet released an editor for Beyond style levels. At least gravity is only aligned to one dimension at a time 😂

  • @Uni_974

    @Uni_974

    26 күн бұрын

    Nebula Beyond Challenges 👁️

  • @Z_Inspector
    @Z_Inspector26 күн бұрын

    Somebody get matt parker and his book in here

  • @Amonimus
    @Amonimus26 күн бұрын

    I'd think this video would give the game even more marketing, even if it's spoilers

  • @emtomb
    @emtomb26 күн бұрын

    I have a degree in mathematics so I wasn't expecting to get mindblown, but those levels absolutely broke me! Thank you so much for that experience! I finally figured out how to use the whirl and it's just insane!

  • @LuxintN7
    @LuxintN726 күн бұрын

    5 dimensions in a 4D game where dimensions are projected on a 3D space rendered on a 2D screen. It makes my head hurt (in a good way) just to think about it. Amazing game!

  • @SpySappingMyKeyboard
    @SpySappingMyKeyboard19 күн бұрын

    This was a lot of effort you went through. I totally didn't give up trying to understand the 5d stuff and just trial and errored it.

  • @vidal9747
    @vidal974726 күн бұрын

    8:00 there is a maximum of volume of hyperspheres at exactly 5 dimensions. Every number of dimensions above or bellow have lower volume for the same radius.

  • @rtg_onefourtwoeightfiveseven

    @rtg_onefourtwoeightfiveseven

    22 күн бұрын

    This isn't quite true, because an N-dimensional volume can't be properly compared to an N+1-dimensional volume - they have different units. It's like saying "which is bigger, 100 metres or a metre squared". There's no canonical, consistent way to compare the two values. The calculation you're referring to ignores the dimensionality by declaring that the radius is 1, which is arguably an arbitrary choice. This does return the result that a 5D hypersphere has "the largest volume". But other choices return different results; for example, setting the diameter equal to 1 (meaning the hypersphere is the largest hypersphere which fits in a hypercube of side length 1) results in the volume of the hypersphere monotonically decreasing as dimension increases, and the 1D hypersphere is the one with maximal volume. Setting the radius to a number greater than 1 makes the peak occur at higher than 5 dimensions. The point is that while what you're saying is true in a particular scenario, it's not a particularly enlightening one because it relies on a somewhat-arbitrary choice to be a well-posed question at all. The actual reason why 5D has so few symmetries (which is related to why the 5D ball needs so many triangles) is some pretty deep group theory which I admit I'm not fully familiar with.

  • @mcboonekamp5400
    @mcboonekamp540026 күн бұрын

    I couldn't understand most of the video but it was still very interesting. Now I'll put my tiny brain back so sleep. It's been a hard day.

  • @XDarkGreyX
    @XDarkGreyX26 күн бұрын

    8:28 people joke about absolute beginners building sh!t like that but here we are

  • @emtomb
    @emtomb20 күн бұрын

    When I realized the layout of 5D chess wasn't even in 5D, I couldn't stop laughing! That's probably something only a handful of people would even notice, but is the perfect joke knowing this game's audience! Edit: The knights aren't even moving in 5D either, this is too perfect!

  • @RTRC_2012
    @RTRC_201222 күн бұрын

    If my brain was melted and reconstituted by this game just by playing it, I can only imagine how you managed to wrap your head around it enough to make it! You are a madman and I love everything you do.

  • @madlad255
    @madlad25523 күн бұрын

    When I finished this game on stream, I said this was the best game ever made from a technical standpoint. And after watching this video, I am even more convinced of that. No one would have minded if the game was "just" 4D, but you went the extra mile ... or extra dimension in this case. CodeParade, you are a mad lad.

  • @nickcunningham6344
    @nickcunningham634426 күн бұрын

    I would seriously love to look at your code. As a comp sci major who has taken a visual graphics course, I find this all extremely fascinating. I can of course understand why you wouldn't want to make that public, though.

  • @CodeParade

    @CodeParade

    26 күн бұрын

    The engine will be open-sourced soon.

  • @PunmasterSTP
    @PunmasterSTP26 күн бұрын

    That final world was crazy, and I have nothing but awe for what you've been able to code! Out of curiosity, would you ever consider doing some kind of crossover between 4D Golf and Hyperbolica, like making a level where you golf in a world with spherical geometry, or where just one of four dimensions was hyperbolic?

  • @YandiBanyu

    @YandiBanyu

    26 күн бұрын

    I can't even imagine a computer powerful enough to render it in "realtime" 😂

  • @PunmasterSTP

    @PunmasterSTP

    26 күн бұрын

    @@YandiBanyu Yeah I think it'd be tough. But maybe since he already has levels with either spherical or hyperbolic geometry, he could port a minigolf game into that...

  • @galoomba5559

    @galoomba5559

    26 күн бұрын

    You can't have "just one hyperbolic dimension". You need at least 2 dimensions to have curvature.

  • @drdca8263

    @drdca8263

    26 күн бұрын

    I'm not sure that "where just one of four dimensions was hyperbolic" exactly makes sense. Like, for a 1D space, there's not much of a notion of intrinsic curvature, I think. One could definitely take a product of e.g. the 2D euclidean plane and a 2D hyperbolic plane, and it would seem to make sense to me to describe that as being "hyperbolic in only 2 dimensions"? Perhaps closer to what you want might be, if there is a foliation of the 4D space by some 3D slices, where each 3D slice is euclidean, but the way they relate to each-other is so that the overall 4D space has some hyperbolic stuff to it? For that, I think the 4D analogy to the Poincaré half-plane model, would probably do the trick? so, for ds^2 = (dx^2 + dy^2 + dz^2 + dw^2)/w^2 so, if w was held constant, this would just be the metric for normal 3D space (but, like, scaled by a factor) I think maybe this would give what you are wanting? I don't know whether or not different simply connected hyperbolic spaces with constant curvature in 3D or 4D are all equivalent... So, idk if this would pick out one particular hyperbolic 4D space, or whether this just picks out one way of representing the(?) 4D hyperbolic space of a particular curvature . Idk, it feels like it should be different from others? but idk. EDIT: turns out that there is a unique simply connected n-dimensional manifold with constant "sectional curvature" -1 (for all n > 1) So, I guess the half-space model is in a sense, no more "only hyperbolic in one dimension" then is any other (because they are all isometric) hm. Still, it seems like the half-space model would at least make it clear one way to make the slices so that some things look euclidean. But I guess, that means that in any model, there would be a way to take a slice that looks Euclidean? That seems weird. How do you define how to take a slice? I guess if you take a point, and like, take 3 orthogonal directions, and consider the subgroup of translations generated by those 3 directions, and consider all the points that that point would get translated to under that subgroup? seems very weird. Would *every* slice look euclidean? Surely not, right? Like, if you made it from the product of hyperbolic plane with Euclidean plane... though, maybe that wouldn't be hyperbolic in the same way? well, at least in that case, if you took 2 directions from the hyperbolic plane, and one from the euclidean plane, would look non-euclidean...

  • @PunmasterSTP

    @PunmasterSTP

    26 күн бұрын

    @@galoomba5559 That's a really good point; thanks for correcting me! So maybe there could three or four total dimensions with curvature between two of the specific dimensions.

  • @easyBob100
    @easyBob10026 күн бұрын

    The curse of dimensionality. Always fun. :) You can fit a lot of sh*t in high dimension space.

  • @ferb1131
    @ferb113126 күн бұрын

    Looking forward to more 4D games!

  • @mobilemollusc615
    @mobilemollusc61526 күн бұрын

    The 5 d surprise was great. I found it surprisingly not to difficult compared to 4d

  • @cheesegriller159
    @cheesegriller15925 күн бұрын

    as a 2d being, i played this game on a 1d screen and i had to think in 3 dimensions higher, that took so much brain power that i randomly fell asleep mid game

  • @CakeDrakeNG
    @CakeDrakeNG25 күн бұрын

    Thank you for making something so forward thinking, and sacrificing your sanity...

  • @indefesa
    @indefesa26 күн бұрын

    This was the best devlog I've ever watched, Thank you for your hard work

  • @Kyss007
    @Kyss00726 күн бұрын

    crazy stuff. and im struggling with rotating a sword in my game

  • @warriorsabe1792
    @warriorsabe179226 күн бұрын

    Obviously the next step is to make golf embedded in a Calabi-Yau manifold with 11 extra compactified dimensions. M-theory golf, Molf!

  • @prophetzarquon1922

    @prophetzarquon1922

    24 күн бұрын

    Coming Soon: _Dimensionless Group Golf_

  • @KnakuanaRka
    @KnakuanaRka26 күн бұрын

    Thank you oh so much for all your hard work on this. I figured it would involve taking a 4D slice of a 5D space and then a 3D slice of that, and both steps would be pretty similar to what you already did. What I was curious about is how you *textured* this mess; 4D textures were already a pain as you mentioned, but how did you figure out 5D that looked like anything reasonable? The floors seem like a logical extension of a 4D cube tiling, but how did you sort out the backdrop and things like the eyes to look like what you wanted? Not to mention how you modeled the 5D chess pieces in the one course to look reasonable?

  • @SnoopSqueak
    @SnoopSqueak25 күн бұрын

    This is incredible, thank you for sharing!

  • @user-sl6gn1ss8p
    @user-sl6gn1ss8p26 күн бұрын

    Polymorphism at its best indeed

  • @edmund-osborne
    @edmund-osborne22 күн бұрын

    This is the video that convinced me to get 4D golf! It's great!

  • @erikhaag4250
    @erikhaag425026 күн бұрын

    Is the object in "Blocked Chakra" a duoprism prism? because that's wild!

  • @CodeParade

    @CodeParade

    26 күн бұрын

    Yup! Or you can think about it as a product of a disk and a cylinder.

  • @Skeffles
    @Skeffles21 күн бұрын

    Wow. Amazing to see what it takes to go beyond 4D!

  • @Brightgalrs
    @Brightgalrs25 күн бұрын

    I am so glad I paused the video and went and finished the game. What a great surprise, and what a tragedy if you let yourself get spoiled.

  • @mennoltvanalten7260
    @mennoltvanalten726026 күн бұрын

    "at a reasonable framerate" I know my computer is old, and it shows because I gave up on the beyond challenges since my framerate was like 4 or 5 and it was just such a pain to try to control anything at that speed

  • @CodeParade

    @CodeParade

    26 күн бұрын

    In the settings there's a toggle graphics toggle to disable ghost shadows and only allow wireframes. It should at least quadruple the framerate or better.

  • @yokothespacewhale
    @yokothespacewhale26 күн бұрын

    Somewhere currently in the future a person watched this and is dreaming of how to optimize a 5D graphics card.

  • @prophetzarquon1922

    @prophetzarquon1922

    24 күн бұрын

    With 5D lithographic chipsets, I hope.

  • @MydnyteRaven
    @MydnyteRaven22 күн бұрын

    your 4d game devlogs broke my brain... to find out that theres a 5th dimension involved.... I can't even fathom

  • @johnnydarling8021
    @johnnydarling802126 күн бұрын

    Omg, you are incredible. A true mad lad. Cheers mate.🎉

  • @c0der23
    @c0der2326 күн бұрын

    I was REALLY amazed, impressed and confused when reaching beyond, thinking I'd missed a gian announcement, this is so cool!

  • @TheDuckCow
    @TheDuckCow26 күн бұрын

    I remember getting to that area... I knew the calculations must be legit, cuz my machine started WIZZING on these 5d levels hah! I do have too admit that the reduced frame rate and my brain not quite catching up meant I brute forced trialed and errored my way through the 5D sections, I'm sure I did not get the full appreciation you hoped out of players trying to experience 5D but I love that you pulled it off all the same

  • @eboatwright_
    @eboatwright_26 күн бұрын

    3:08 ain't no wayyyy, bro using pentagrams to render the graphics 💀

  • @localwalloutlet
    @localwalloutlet26 күн бұрын

    I love the tripy, low-poly visuals

  • @WhirligigGirl
    @WhirligigGirl25 күн бұрын

    i spent the whole last section absolutely losing my MIIIIIND. I was screaming when the big reveal happened.

  • @eduardomunhoz1581
    @eduardomunhoz158114 күн бұрын

    needing spoiler alert for a GOLF game is something insane I think most devs wish they could say they did you've made it

  • @TommyLikeTom
    @TommyLikeTom26 күн бұрын

    I loved the 5D section and I'm looking forward to more levels in 5D, and maybe the ability to edit and create 5D holes

  • @Wulfstrex

    @Wulfstrex

    25 күн бұрын

    That is already kind of possible to do through text files

  • @majorjohnson8001
    @majorjohnson800123 күн бұрын

    Oh man, mad props dude.

  • @r3dp9
    @r3dp924 күн бұрын

    I can't pretend to having gotten any closer to understanding 4d, but my brain has gotten shockingly comfortable creating a '4d intuition' that helps me navigate. I imagine it's a lot like being an ant - you don't have to understand 3d, 2d is enough if you combine it with the right methods and shortcuts. Maybe someday 4d will start to click, but I imagine it will take a lot of practice, and is likely completely impossible depending on a persons exact brain structure and life experience.

  • @brash_hown
    @brash_hown17 күн бұрын

    "Yes, a 3D space intersects a 2D plane in a single point in 5D" hmm yes indeed I understand how that follows from the previous statement

  • @jogihoogi1
    @jogihoogi119 күн бұрын

    that asset generation code is beautiful

  • @F_A_F123
    @F_A_F12317 күн бұрын

    (In advance: sorry for my English, it's not my native language) CodeParade, I have an idea that I think would make the volume view better. Instead of showing the slice of the world at the current height, I think it would be better to show the projection of the world on the xyz hyperplane (if the w coordinate represents the height), and instead of representing slopes with just walls, you would represent them with arrows. And with that, you should add a height scale that shows your ball's height and the track's height at your xyz position (relative to a fixed point). 3d example with area view: A level has a starting platform, a slope up, and a finishing platform, so the projection would be this: 0⬱1 (numbers represent the height of the flat parts of the track) The area view is a 3x1 rectangle, at the second square there are arrows pointing to the starting square. At the start, the height meter would show 0 for both ball's and track's heights. After putting, the heights would gradually increase, and then they'll stay at 1. Another 3d example: a level has a starting platform, a ramp, a gap and a finishing platform: 0⬱ 1 Area view: a 4x1 rectangle with a missing part before the finishing platform; at the second square there are arrows pointing to the starting square. After putting: 1. both heights increase, then 2. track's height disappears 3. ball height changes quadratically (because it's a second integral of a constant (g)) 4. as you become in the same vertical "column" as the ending platform, the track's height appears on the scale, then, one of three things happen: a) you fly over; on height scales, your ball's height stays higher than the track's height, then track's height disappears; in area view, you fly through the hole and through the back end of the ending platform b) your ball's height goes down to the track's height, you land on the platform; in area view, you get in the hole or bump into the back end of the finishing platform; c) your ball's height is lower than the track's height and stays lower; then track's height disappears; in area view, you fly through the hole and through the back end of the ending platform. You could also make every object in area (volume) view go shadowy if you are not on the track, since when it happens, you can't interact with anything. In 3d, in area view, cone on the track would become 2d circle made of arrows pointing away from the center; in 4d, in volume view, 4d cone (or how it is called) on the track would become a ball made of arrows pointing away from the center. I think making it like that would make it more intuitive

  • @JonBrase
    @JonBrase25 күн бұрын

    An interesting addition to the game would be to add a "retina" mode. Instead of slicing the 4D scene and rendering the contents of the slice to the screen, project the 4D scene onto a 3D screen (a "retina" or "camera sensor") that shows up as a transparent cube in front of the player. It would have to only be available as a ghost/wireframe view and even then may only be useful for simple scenes (too much clutter otherwise), but it's a strategy I've seen used in at least one other 4D engine. Less immersive, but an intriguing potential visualization scheme that I've never seen used is an "intersecting planes" scheme. Slice or project the scene onto the forward-back-left-right plane and separately to the up-down-ana-kata plane (our some variation on that), and then just plop the two planes down onto the left and right halves of the screen. This is more of a " top down third person" view than a first person view, so might not be entirely appropriate for 4D golf, but might at least be interesting to have access to in the mezzanine tour.

  • @xx.whocares
    @xx.whocares25 күн бұрын

    I never felt so smart, like.... i used to study applied math in university, and i thought that this info will never be useful for me BUT now i know.... all this stuff was needed to understand this video

  • @miguelautistic7409
    @miguelautistic740926 күн бұрын

    You really push this game to its new level because of your genius intelligent brain.

  • @cast_e899
    @cast_e89924 күн бұрын

    1 dimensional binary runs 2 dimensional graphics that represent 3 dimensional versions of 4 dimensional versions of 5 dimensional things. very cool

  • @prophetzarquon1922

    @prophetzarquon1922

    24 күн бұрын

    A lot of people tried to string the 1, 2, 3, 4, 5 together, but you nailed it. Well done