Making a 4D Game - 4D Explorer
Ғылым және технология
I made a game where you can travel through 4 spacial dimensions!
slide along and solve puzzles with different 4D booleans.
If you liked this video, be sure to subscribe so you won't miss the next video!
Play the game here: jellever.itch.io/4dexplorer
Source files: github.com/Jellevermandere/4D...
My previous video about raymarching fractals: • Making a 3D Fractal Ga...
Sources where I learned from:
Lazy engineer: • A Journey into the 4th...
Raymarching: www.iquilezles.org/www/articl...
A short hike: ashorthike.com
Miegakure: miegakure.com
Flatland: en.wikipedia.org/wiki/Flatland
This game is made with raymarching, by adding a 4th value to each vector, the shapes can be defined by 4 dimensions. The camera then takes a section at a certain w position. The resulting shapes can be rendered in 3d
-----------------------------
Music by: incomptech.filmmusic.io
------------------------------
Follow me everywhere!
Personal website: www.jellever.be
Instagram: / jellevermandere
Itch.io: www.jellever.itch.io/
And loads more! Just google me ;)
-----------------------------
playlists:
Game Devlogs: bit.ly/JelleVerYTGames
Drawings: bit.ly/JelleVerYTDrawings
Animations: bit.ly/JelleVerYTAnimations
------------------------------------------------
Programs used:
Blender, Unity, Visual studio, Procreate
Пікірлер: 1 900
A game that looks 2d, Is actually 3d, And simulates 4d. Nice.
@roeital5504
3 жыл бұрын
And my brain is 1d
@thebreakout1898
3 жыл бұрын
@@roeital5504 🤣🤣🤣🤣👍
@xymaryai8283
3 жыл бұрын
@@roeital5504 that's actually an interesting concept, our thoughts being one dimensional lines, because we cant really move our thoughts any way but forward, even if there are branching paths they can be thought of as a single line when you choose. maybe our thoughts are just a long psychedelic rainbow string
@lukehorta5115
3 жыл бұрын
@@user-wr1ne2xf6f Into quantum science!
@nikounofficial
3 жыл бұрын
@@roeital5504 and your logic is 0d
my brain is too small for this
@montevious1474
3 жыл бұрын
hi @The Horizon nice vids!
@EpicaLanced
3 жыл бұрын
LOL
@n9it
3 жыл бұрын
you have smooth brain, like me
@Dylank001
3 жыл бұрын
Same
@giovannifranco-gonzalez9037
3 жыл бұрын
. . I want to crush your small tiny microscopic-sized Brain by saying this; if there are 2D beings where will their insides be; well.. if u watch the Film; "Flat-Land" then the answer might come plain to you. .
This concept is so genius. I've been intrigued by 4th dimensional stuff but this brings it to a new level!
@pattyryopotybuttongamer3063
2 жыл бұрын
and after that you have to plug the red wire into the socket to make sure the engine boots at launch. Wrap the green wire around it's coil that sits directly beside the A button. After you put the back shell on, place the battery in the slot. Screw the Vr26 Jeeper back up and press the reset button. If everything worked according to plan you're device should show a thumbs up sprite. Plug the HDMI port into a monitor and wait three seconds. If it boots up on TV your in the good side. If it doesn't boot in less then 5 seconds quickly unplug. This can severely damage your TV and possibly start a fire
@30pranaypawar17
Жыл бұрын
@@pattyryopotybuttongamer3063 u kidding right?
This is pretty cool if you ask me!
@batal0538
3 жыл бұрын
i don’t ask you
@bloxman3608
2 жыл бұрын
@@batal0538 you hot bro
Unity: Choose between 2D or 3D. Him: *Y E S*
@tamaghnadey3050
3 жыл бұрын
N O*
@NE0N0W0
3 жыл бұрын
**Y E S ' N T*
@maple22moose44
3 жыл бұрын
Yesn’t
@kyiokightofficial7814
3 жыл бұрын
2.5D
@nikostormkilla
3 жыл бұрын
Unity's 2d is just 3d but with a locked camera angle lol
Looks really good! Do you plan to take the concept further? You'd still finish before Miegakure ;)
@JelleVermandere
4 жыл бұрын
Yeah, I really like this, so I will do some more with it in the future for sure! Thanks!
@efg896
4 жыл бұрын
@@JelleVermandere AWSOME game, i played throu and was an amazing expience!!! I think lvl 1 colision detecton is a bit off... could not go up into de spaceship. other then than i felt if were 2d maps would be pretty guidefull, like xy, xz, xw, yw, zw .... what do yu think about it ?
@JelleVermandere
4 жыл бұрын
E FG sorry for the late reply, thanks for the feedback, will keep it in mind!
@DaniMadridDaniMineCraft
4 жыл бұрын
Remember that every object has a width, and a height, why not in 4D too?
@somewhatBoring
3 жыл бұрын
@@DaniMadridDaniMineCraft hmmm, x = width, y = height, z = length, w = ?
that feeling when your brain can't imagine what a 4d object actually looks like
@Mark-Wilson
2 жыл бұрын
to make you feel better. its actually impossible we can only try to understand but w cant actually comprehend it cus we are all 3d creatures in a 3d universe
@sansdw7723
2 жыл бұрын
@@Mark-Wilson thank you, now i have a even more smol brain
@dumbassfish
2 жыл бұрын
Is it bad that I can somehow comprehend them
@Mark-Wilson
2 жыл бұрын
@@dumbassfish dude why is it bad no one can, its impossible a three dimensional creature cannot comprehend anything with a higher dimension than its own brain
@redactedoktor
2 жыл бұрын
@@Mark-Wilson Thank you murderbot! You made this spike saw-blade flame acid-pit gun-robot laser test a little more bearable knowing that I am on the same level and plane of existence as alll my deceased peers!
This would really stand out in VR.
@icriinside9305
Жыл бұрын
This would give me nausea in VR
@person___9
11 ай бұрын
@@icriinside9305common weak stomach L
Unity: so is that a 2 or 3D game Him: So..
@bearwastaken6579
3 жыл бұрын
it is a 3D game that simulates 4D
@davek7289
3 жыл бұрын
it's a 1D game
@bearwastaken6579
3 жыл бұрын
@@davek7289 how is it 1D...
@aw1lt
3 жыл бұрын
@@bearwastaken6579 learn what a joke is then we'll talk
@bearwastaken6579
3 жыл бұрын
@@aw1lt thats a very bad joke
I'm pretty sure A Short Hike was rendered at full resolution, then it used post processing for the pixelated look, is this correct?
@JelleVermandere
3 жыл бұрын
He gave a talk at gdc where he explained how he did it. It's on youtube
@ZeoWorks
3 жыл бұрын
@@JelleVermandere Oh I see, thanks for confirming. :) I was curious as in-game it has an option to change "pixel chunkiness" lol.
@vaifram8843
3 жыл бұрын
Zeoworks I play slendytubbies a lot and I love your games.
@wesleymays1931
2 жыл бұрын
@@ZeoWorks It stands to reason that would be a performance setting If you want less chunky pixels, you can do it, but it's more demanding of resources
@eldogyt
Жыл бұрын
unnecessary, you can limit color depth and amount of pixels that will be rendered
This idea popped in my head a while back, but I am too limited to comprehend it like you did. I'm glad to see someone realized this cool puzzle aspect
This is incredible! I hope this type of innovative game design gains some traction. Nice job, dude.
"We can move back, forth, left, right, up, down" This named *d a n c e*
@thegoldengood4725
3 жыл бұрын
up up down down left right left right b a
@arcanearc
3 жыл бұрын
@@commensalism1997 it's the konami code!
@commensalism1997
3 жыл бұрын
@@arcanearc I know but Konami code is sequences in general isn't it
@arcanearc
3 жыл бұрын
@@commensalism1997 i thought it was that specific sequence of keys? en.wikipedia.org/wiki/Konami_Code
@commensalism1997
3 жыл бұрын
@@arcanearc okok I am not all-knowing
0:45 that moment when w comes after xyz
@akemalmer7422
3 жыл бұрын
OMG NO EAY
@igorjosue8957
3 жыл бұрын
wait, so 5 dimension would be the V axis, so the 26 dimension the A axis, and the 27 dimension... idk, there are only 26 letters in alphabet so, the things are starting getting more ancient αδηκβεθλγζιμνπτ
@CodeRipple
2 жыл бұрын
@Emma’s Birdtopian Account it’s not there. Neither is beta or gamma. He only included a few letters
5:22 **man t-poses into existence**
Can't wait to play this! I had this exact same idea about a year so ago, which got me into learning Game Dev. I came up with some fun level design for 4D puzzles, but am still learning Unity so haven't tried to implement. Thanks for showing that this is totally doable in Unity!
You ALWAYS manage to create awesome ideas! :)
Wow! You really are a content creator.. nice job, keep going!
Nice video! I've been waiting Miegakure for a lot of years. Meantime, I'm gonna try your game because looks very great 👌
You could definitely do a time-based game, maybe a puzzle game where you have to travel through time to get required components?
Next up: I made a 34D game
@flameendcyborgguy883
3 жыл бұрын
TEchnicly, in the matematical terms, there is no upper limit of dimensions... But 4d is already hard to manage smothly by our brains...
@vii-ka
3 жыл бұрын
5d would be even more interesting i think 6d might be the limit for most people's brains
@raconvid6521
3 жыл бұрын
After 4 it doesn’t get any harder to understand
@lyly_lei_lei
3 жыл бұрын
@@flameendcyborgguy883 I think the upper limit is 10 or 11.
@flameendcyborgguy883
3 жыл бұрын
@@lyly_lei_lei in mathematic dimensions are described by matrixes, and wouldn't you know it, there is no upper limitation of size in the matrix regard. As well, no upper limit in calculations on said matrixes. What you are refering to is possible physics limit of uniwerse dimansions... Becose simply we cannot decide what higher dimensions would represent :P
I'm actually glad i found this channel
@JelleVermandere
4 жыл бұрын
This is only the beginning!
Thanks for explaining the background math and open-sourcing the code! It's very exciting to think I could play around with making my own stuff like this! I've been following Miegakure for years!
This was too cool, bro! This shows how complex and beautiful the Unity program really is.
A very impressive game mechanics of the game! I can't wrap my head around the fact that we are looking at a 2d projection (our monitor screen) of a 3d which is a projection on a 4d, it's just like the projection of a 3d object on a line :))
Woahh! This guy literally remodeled everything in his game just to explain to us! Cool dude! *am def subbing*
Hey, I just played it, and that was actually alot of fun. A unique challenge. Thanks for sharing!
This is amazing! I didn't even know you could ilustrate 4 dimensions in such ways.
Damn. Growing up his channel.
Wow, this is impressive! I’m almost making and finishing my first game I’ve ever made from scratch yay! It’s an open world 3D exploration game called the meadows. It’s really cool and I made it in unity! The best game engine ever. Back to you. I’m amazing at what you’ve done. 🤩 This shows true mastery with what you have already learned
Amazing stuff, even I wanted to create a higher dimension game a few years ago but I had zero idea how to go about it...since most engines were 3d, I thought an engine would have to be written with more dimensions, your way of utilizing unity and add a fourth dimension with code is a very neat trick. Great work 👍👍👍
That's awesome bro. I think you did great job explaining the 4th dimension to me. I think it's an interesting game and fun 2.
man you speedran explaining 4d, i want this power.
underrated man this is so underrated
This got me thinking so much, it’s just a fascinating topic. Great vid
I have to say you nailed the 4th dimension thingie. ❤️ Loved it
This is some quality content
In this moment you're like elon musk for me, you're an inspiration and I hope one day to create masterpieces like you. PS: 3-4 days ago you had 400-500 sub, keep going.
@JelleVermandere
4 жыл бұрын
Thanks! I try my best to blow your mind!
@somewhatBoring
3 жыл бұрын
@@JelleVermandere :) just subbed. :)
@ember9361
3 жыл бұрын
@@RandomNameLastName811 not true! he also falsely accuses rescue divers of being pedophiles for saying his ignorant rescue plan was ridiculous!
@apacheattackhelicopter8778
2 жыл бұрын
@@ember9361 boo hoo
@paulfoss5385
2 жыл бұрын
If you think comparisons to Musk are a compliment, then his public relations are astonishingly effective.
Wow, this is fantastic. Love your work!!
This is amazing! I've loved diving into 4d research and honestly the games have been the best explanations of what it is for my primitive 3D brain! Gonna go play this rn. Perhaps get your unity package too... FourthDimensional, brother!
1:06 Hey, I've heard of that game! It's pretty cool, by the way. 👍👍
@akemalmer7422
3 жыл бұрын
HHAHA SO COOL BRO🤩🤩😂😂😱😱😜😜😎😎🇧🇩🇧🇩🇧🇩🇧🇩🇧🇩🇧🇩🇧🇩🇧🇩
This is so weird, just knowing there's a entire plain of existence we can't comprehend
@michac.8283
3 жыл бұрын
There's no actual 4th dimension. It's just a concept
@aonodensetsu
3 жыл бұрын
in the game it is real
@galactorsus_i.n.c
3 жыл бұрын
@@aonodensetsu true
@galactorsus_i.n.c
3 жыл бұрын
@@michac.8283 We'll it's being debated whether there's more dimensions beyond the third or not, but so far yes nobody has found proof of it. But it's still a possibility.
@alaididnalid7660
3 жыл бұрын
I think that in the theory of relativity time is a dimension. Acceleration and deaccélération in the time domain is basically actively rotating along the t axis in a sort of abstract way. However, it can't rotate more than 90 degrees since time would then flow backwards but it does behave similar to spatial dimensions when it comes to rotation. 0 degrees of rotation corresponds with an object at rest and at near 90 degrees of rotation time slows down/stops for the observer at a particular point as is the case near black holes.
That’s really good. Take it all the way man!
this looks really cool nice job man
This is truly AMAZING Jelle … wow! How long did all this take from research to execution?
super underrated
This looks so damn cool and the pixel style makes it even better
Amazing! Simply astounded
Hey there Jelle, I also am interested in making a 4d game and I just bumped into your video. I liked your effort but I guess you shoulf have used boolean operations on meshes combined with ray marching and ray marching collisions so as to get good graphics, optimisation and 4d too. Basically with this you will be able to import external 3d models which would be textured. I huess meigakure does this. Oris there a way to do raymarching with custom shapes made in a 3d editor like blender?
@19UV
3 жыл бұрын
As far as I know, raymarching can't be used with triangle based models (or it can't be used optimally). Raymarching requires objects to be defined mathematically. So, for example a sphere at origin is defined as length(p)-r (there are a large number of articles on raymarching for further questions). So because of objects being mathematically defined Boolean operations are easier (I assume). Miegakure uses a method where it constructs all objects out of tetrahedra, takes the cross section and renders it with OpenGL. A 4D renderer that is based off of raymarching is generally easier to write, but slower (GPUs are optimized for rasterization). Sorry for writing an essay.
@thecodeprism
3 жыл бұрын
@@19UV to work with the unity's limitations. The smaller insignificant objects can be made with clipping plane shaders. This helps to increase the fps by a boost and also give a lot more detail
@thecodeprism
3 жыл бұрын
@@19UV Actually I want refering to Raymarching boolean operations but mesh boolean operations
@aaronking2020
3 жыл бұрын
This comment is too big brain for me so I'll just like it so people smart enough to understand what you just said can see it
@jasonyesmarc309
2 жыл бұрын
This could be possible but would take a lot of development time. Quite a few people have tried to make a game like this, but as you can see they take an incredible amount of time and sometimes they never get released. I suspect the goal of this video was to get a simple working demonstration for people to play, and also get the code libraries for people to innovate. Just because this developer did not go the route you've described doesn't mean it isn't possible or that a mistake was made. The developer just did not have time to implement that, because getting this to the public was much more important. His code is now posted for further innovation by other people. This is a major step forward for 4D games as a category. What you propose is a good idea, and would speed up the workflow for creating new models for 4D games. You would probably need to make a smaller program that takes a mesh and converts it into objects for ray marching, as I don't think this is possible to do in real-time. I'd be interested to see what the memory impact is, though. I could also be misunderstanding what you describe. Also, I don't think Miegakure used imported 3D triangle models. I'm pretty sure all the objects were defined in the game's code and generated at run-time. It doesn't use ray marching, but instead defines a new kind of triangle-based model that takes 4D coordinates instead of 3D. This allowed him to use traditional rendering techniques (fast and high-resolution), but unfortunately there's no software for making 4D models so he had to create them by directly typing in the model vertex-triangle data by hand. I could be wrong; I have not looked at that project in a long time, but I'm pretty sure I remember this correctly.
One question, would it be possible to "visualise" 4d moving the 4d dimension really fast? There is a trick where people get various cameras and take a picture of the same thing at the same moment, but at various angles. Then if you keep changing between the photos really fast, the thing will look 3d. Could the same effect be used with 4d, to try to make us "see" 4d dimension?
@Novodantis
10 ай бұрын
Motion is about the best way we have of visualising the w axis, but it's worth noting that the "2D image -> 3D shape" trick leverages some inbuilt "software" in our brains that can construct a 3D understanding from flat snapshots from our eyes; this was essential for our animal ancestors to interact with a complex 3D world using collected light from one viewpoint at any one time. There isn't a comparative "static 3D -> 4D shape" in our biological software, which is why we struggle to grasp it as anything more than a 3D thing, changing over time.
Finally, a competitor for 4d craft! This battle will be legendary!
i realy love the whole theory behind 4 dimensions and this was a realy cool way to represent it
*physics teachers when you ask them what the 4th dimension would look like:* "well yes, but actually no..." *this dude:* "haha unity go brrr"
still faster than the time it takes for my crush to respond *pain*
I just stumbled upon your channel - really great and well-made content. Subscribed. 👍
You are a genius and passionnante ! Subscribed and liked !
The fourth dimension still makes no sense to me... 😅
Sculptor: My Sculpture is great, but looking at it would take too long. Painter: Exists. Sculptor: What if I hire them to paint my sculpture so all the visitor has to do is look at an easy to digest painting?
Wonderful mechanics! A slider is cool, but I think it's an interesting idea to change w coordinate using the same way you change x, y, and z, as if it was another normal spatial dimension. Like you would normally walk/jump in games using WASD and space, you could walk along the w axis with, say, Q and E.
This is makeing my head hurt and I LOVE IT KEEP IT UP Nice work
Fun fact : we can't see things that are 2D
@yousriaezzy47
3 ай бұрын
😮
@Dude_for_christ
2 ай бұрын
Yeah we can?
@gabegamez1018
2 ай бұрын
@@Dude_for_christI think what he means is that a 2D object in a 3D world is impossible as it would be infinitely thin
@Dude_for_christ
2 ай бұрын
@@gabegamez1018 yes but their is an infinitely thin layer of every 3d object
@gabegamez1018
2 ай бұрын
@@Dude_for_christ oh yeah, never thought of that
Watching this video when I realized... I've played this game! Great work!
Simply Amazing work. Well..actually..complex amazing work. Subbed.
Looks really good!
Thats some crazy stuff right there dude. Wow
Awesome video! Thanks for sharing!
This looks such an awesome game!
i love your content and tutorials!
I've actually read Flatland. Really interesting book. Had me thinking a too much at times about what you showed. Really cool explanation and video!
jelle vermandere is doing his best work to make fun stuff
This is really amazing. Thanks for sharing!
Sooo cooool, I’m gonna check out the game right now
Ahh, A Short Hike, such a beautiful short game. :D
Whoa, that was actually really interesting!
such a unique concept
Love the concept
This guy 3D printed painted a glued a little astronaut just for a explanation. Respect man, respect
Wow, I am definitely playing this game!
OMG dude that was beautiful. Good Job
thanks, i can't imagin the 4d but i understand it more now
This is the kind of game I’ve always loved
Easy game to make concept wise. Good job.
a short hike is a really good game
That's very interesting, the movements in the 4th dimension are still quite simple but I was able to move intuitively through it, which is strong! Didn't understand it much better but that's very playable ^^ It looks quite a lot like we are playing with time too
I've been contemplating adding one extra dimension in the form of making 4D models with Tetrahedron instead of 3D with triangles. Use a compute shader to fill the tetrahedrons on a 3D texture. And then scale it up and project a whole 4D world onto a 3D texture and simulate what a 4D being 's computer display would be like.
This looks insanely awesome, would love to see some 4d monster enemies to watch out for.
@floseatyard8063
2 жыл бұрын
It would be way too easy to die, they could phase in right next to you whenever they want and your dead
This is a very nice video. I now know what the 4th dimension is in a video game.
This is incredible, so good to see the algorithm picked this up 😍
@JelleVermandere
3 жыл бұрын
#blessed
Oh, so moms can see into the fourth dimension. That explains why we can't find things and they can. LOL
Cool stuff man! :)
Im gonna use the W value in my game, thanks for explaining the game that you are making
this looks really cool!!!
Brilliant, i have the concept of a 4d puzzle Game in which you have to join pieces, but the pieces are in a 4d space, and you have to accomodate each piece to ita corresponding dimension in order to join them, and this the final piece of info I was looking for, thanks for your explanation I Hope you have a great day mu friend
props to this guy he made a 3d printed explanation on the plot of the game. Which probably took awhile
Thank you so much dude!😊 You're helped a lot.
The concept of this game is amazing, if you could fit a simplistic yet beautiful 3D artwork, a compelling story and an open world i can tell you that it will be a boom! . Meigakure does it really well but i can tell the potential of this mechanic is just overwhelming. Maybe a Mario Galaxy themed game of a planet corrupted by time and space. I mean just wow i can't imagine all the possibilities!
Loved it!
Some guy: tell me you’re smart without telling me you’re smart Jelle: 🤨
This reminds me of 4D Miner. I'm watiting for it to blow up. I hope it will. It's real fun to play around.
Cool 3D with effects