Discuss Scratch

oooot5rises_again
Scratcher
48 posts

How to make 4D projects

how do i make 4d projects
Pikachuf1
Scratcher
77 posts

How to make 4D projects

I have no idea. 3d is still a new thing.
Bluebatstar
Scratcher
1000+ posts

How to make 4D projects

Humans can't visualise 4D since we live in 3D so making literally anything in 4D is impossible.
cannedkoolaid
Scratcher
100+ posts

How to make 4D projects

The 4th dimension is time, so…
yavuz61035
Scratcher
500+ posts

How to make 4D projects

it should be exponentially harder for every dimension you add (lets assume 2D to be 1) (nD = ((n-1)D + 1) ^ 3)

chart:
0D: -1
1D: 0
2D: 1
3D: 8 (raycaster??)
4D: 729
5D: approximately 3.89 * 10^8
6D: approximately 5.887 * 10^25
7D: approximately 2.04 * 10^77

yeah
the hardness blows up. want to do something in 5D in scratch? that's basically impossible unless you have 500 iq and combine all little scratch hacks in a smart way

so basically making a 4D game is like basically impossible unless you spend like 1 year or something
and dont even ask for higher dimensions, 5D and it's higher than a lifetime (probably, unless you placed 1 block per planck time)

Last edited by yavuz61035 (June 26, 2022 21:57:08)

Za-Chary
Scratcher
1000+ posts

How to make 4D projects

yavuz61035 wrote:

it should be exponentially harder for every dimension you add (lets assume 2D to be 1) (nD = ((n-1)D + 1) ^ 2)

-snip-

yeah
you can see how much harder it is

so basically making a 4D game is as hard as making 25 2D games
and dont even ask for higher dimensions
What scale are you using here? I've made over 25 2D games, and I don't think I have any sort of capability to make a 3D project, let alone a 4D project. I don't think there's a correlation there.

cannedkoolaid wrote:

The 4th dimension is time, so…
Possibly if you're a physicist. Mathematicians work with 4+ spatial dimensions quite often (despite not being able to visualize it).
portalpower
Scratcher
1000+ posts

How to make 4D projects

Bluebatstar wrote:

(#3)
Humans can't visualise 4D since we live in 3D so making literally anything in 4D is impossible.
I think they mean like how we can make 3d projects on a 2d scratch stage. They aren't actually 3d but they look like they are. Also, there are 4d simulations out there that are just from the perspective of a 3d person, so that's probably what they mean.

As for the actual question, though it is possible, it's insanely difficult. It would probably take lots of math research and hundreds of trigonomic equations.
Za-Chary
Scratcher
1000+ posts

How to make 4D projects

portalpower wrote:

As for the actual question, though it is possible, it's insanely difficult. It would probably take lots of math research and hundreds of trigonomic equations.
Well, I think it depends on what a 4D project really counts as. It's easy to make a 2D tile-based game where you use the arrow keys to move across tiles. You'd probably have to make a way to track the locations of the player and the end of the level if you wanted, but that's not too hard.

Now imagine that, but for 4D. Rather than moving around 2D space, you move around 4D space. So, instead of keeping track of locations through (x,y) points, you'd have to keep track of a location through (w,x,y,z) points. That's not very difficult to do if you use a list.

It would probably be a very tedious, confusing, and boring game for someone to play, but it would technically be a 4D game (albeit in an abstract sense), and it would be pretty easy to make.
yavuz61035
Scratcher
500+ posts

How to make 4D projects

Za-Chary wrote:

yavuz61035 wrote:

it should be exponentially harder for every dimension you add (lets assume 2D to be 1) (nD = ((n-1)D + 1) ^ 2)

-snip-

yeah
you can see how much harder it is

so basically making a 4D game is as hard as making 25 2D games
and dont even ask for higher dimensions
What scale are you using here? I've made over 25 2D games, and I don't think I have any sort of capability to make a 3D project, let alone a 4D project. I don't think there's a correlation there.

cannedkoolaid wrote:

The 4th dimension is time, so…
Possibly if you're a physicist. Mathematicians work with 4+ spatial dimensions quite often (despite not being able to visualize it).
yeah maybe it's cubed instead of squared (or more)
also it's a bit arbitary because the equation and 2d is 1 is arbitary
ScratchCat_50
Scratcher
100+ posts

How to make 4D projects

cannedkoolaid wrote:

The 4th dimension is time, so…

That's a misconception even if you consider time a dementions it's not the 4th.

Bluebatstar wrote:

Humans can't visualise 4D since we live in 3D so making literally anything in 4D is impossible.

Not so the forth demention can be visulised

Look up 4d chess and/or 4d miner on YouTube
scratchsimpleproject
Scratcher
100+ posts

How to make 4D projects

A four-dimensional space (4D) is a mathematical extension of the concept of three-dimensional or 3D space

thx for wiki to tell me

also ou might be check some tutorial on yt, no need to ask in here

Last edited by scratchsimpleproject (June 27, 2022 02:25:13)

Tessal65
Scratcher
41 posts

How to make 4D projects

oooot5rises_again wrote:

how do i make 4d projects
using Raycasting we can make 3d projects (even though it really is just a 2D character seeing in 1D but their view is stretched out and illusions are given to give it a “3D feel”)
True 3D in scratch is to my knowledge impossible. But even if you do have it you can technically make 4D. Just that you wouldn't (as a 3D being) be able to see everything…
Using a 2D example here:
We can have a 2D character that cannot see in 3D or have a 2D view (Remember a 2D character only has a 1D view. Like how 3D beings have a 2D view)
Lets put a 2D character in a 3D world. By default he can only see on the x&y axis but lets give him the superpower to rotate himself along the 3D plane so he can turn his ‘x’ view into some other plane. Using this ability he can walk along the z axis. Though, he still wont be able to see in 3D. And when the superpower is used to him it would look like the world is completely transforming around him. But to us it would make perfect sense.

So in order to make a 4D game you'd have to make a world with another axis(somehow) and give the player the ability to rotate in that axis to get an actual 4D game.

There is already a game that does this: 4D Miner though obviously its not on scratch.

Therefore 4D games are in every way impossible in scratch. But outside of scratch, technically you could make one.

Last edited by Tessal65 (June 27, 2022 19:22:02)

CST1229
Scratcher
1000+ posts

How to make 4D projects

Tessal65 wrote:

True 3D in scratch is to my knowledge impossible
It definitely isn't, several full 3D projects have been made using really complex math.
I think it'd be possible to extend that to 4D with even more complex math.
skeletonsteveplays
Scratcher
100+ posts

How to make 4D projects

oooot5rises_again wrote:

how do i make 4d projects

Well first you need to imagine what a 4D project would look like to a 3D person. Too bad I don't really know how to do that.
hi875230163394
Scratcher
1000+ posts

How to make 4D projects

4d can only even get close to being visualized in 3d, similar to how every 3d video game isn't actually 3d, but rather an illusion of 3d on a 2d screen

You can give the illusion of 3d in 2d
The illusion of 4d in 3d
The illusion of 5d in 4d
And so on…
hacktronics
Scratcher
100+ posts

How to make 4D projects

You need to go to some other parallel universe.
Sliverus
Scratcher
1000+ posts

How to make 4D projects

hacktronics wrote:

You need to go to some other parallel universe.
Until our technology can do that then I guess we're stuck with 3D at best
Cake_hatter
Scratcher
2 posts

How to make 4D projects

4D projects are made with the pen tool
Sliverus
Scratcher
1000+ posts

How to make 4D projects

Cake_hatter wrote:

4D projects are made with the pen tool
Wait how do you know? I don't think you've made a 4d project before, can you do that for us mate?
meepeygamer567
Scratcher
500+ posts

How to make 4D projects

Sliverus wrote:

Cake_hatter wrote:

4D projects are made with the pen tool
Wait how do you know? I don't think you've made a 4d project before, can you do that for us mate?
They aren't wrong, but they aren't right either. You can theoretically simulate 4D in pen, but you can also simulate 4d with sprites also. How do we do this? I don't know. Like I stated in my siggy, I'm not that smart.

Powered by DjangoBB