Discuss Scratch

arxstriker
Scratcher
23 posts

How to create a 3D game in Scratch(with structures, like walls, and a floor)

How do you create a 3D world(like fortnite or minecraft) with stuctures, like pillars, walls, the floor, etc.? However, I don't want a single player view point game, like minecraft, I want a more Tekken 7 style game where you can move around up, down, left, right and the entire game is viewed from the side. (Not sure if this is the correct place to ask, or is it the Requests forum? I mean, there does need to be some(alot) of coding, so…)
helloworldbyeworld
Scratcher
1000+ posts

How to create a 3D game in Scratch(with structures, like walls, and a floor)

1. This is the correct place to ask.

2. You want to make some 3D maze like thing to start with, then you can add more complications and adjust to what you want. You can also do it the hard way, by making a 3D projection on the screen.

3. Since it’s so complicated, I can’t provide the scripts.
Vaibhs11
Scratcher
1000+ posts

How to create a 3D game in Scratch(with structures, like walls, and a floor)

[deleted]

Last edited by Vaibhs11 (June 23, 2021 06:52:28)

channgohinorin
Scratcher
41 posts

How to create a 3D game in Scratch(with structures, like walls, and a floor)

arxstriker
Scratcher
23 posts

How to create a 3D game in Scratch(with structures, like walls, and a floor)

Very helpful projects, but is there is one thing I am trying to achieve, mentioned above, that I want a 3D fighting game kind of thing(I used Tekken 7 as it is very similar to what I meant, Im not sure if that is even possible in scratch, you don't need to do all the coding if you don't want to (@channgohinorin, I can't believe you coded those entire projects ), maybe share a video or project related to this? Thanks for all the help, I really appreciate it.
helloworldbyeworld
Scratcher
1000+ posts

How to create a 3D game in Scratch(with structures, like walls, and a floor)

arxstriker wrote:

Very helpful projects, but is there is one thing I am trying to achieve, mentioned above, that I want a 3D fighting game kind of thing(I used Tekken 7 as it is very similar to what I meant, Im not sure if that is even possible in scratch, you don't need to do all the coding if you don't want to (@channgohinorin, I can't believe you coded those entire projects ), maybe share a video or project related to this? Thanks for all the help, I really appreciate it.

Can you describe what Tekken 7 is? I might be able to help you if you tell me.
Trademark_Lover_64
Scratcher
500+ posts

How to create a 3D game in Scratch(with structures, like walls, and a floor)

helloworldbyeworld wrote:

arxstriker wrote:

Very helpful projects, but is there is one thing I am trying to achieve, mentioned above, that I want a 3D fighting game kind of thing(I used Tekken 7 as it is very similar to what I meant, Im not sure if that is even possible in scratch, you don't need to do all the coding if you don't want to (@channgohinorin, I can't believe you coded those entire projects ), maybe share a video or project related to this? Thanks for all the help, I really appreciate it.

Can you describe what Tekken 7 is? I might be able to help you if you tell me.
Tekken 7 is a game that is very similar to Super Smash Bros. But it's rated T and is a little more violent and inappropriate than SSB is. My family actually owns both Tekken and SSB.
scratchering_coder
Scratcher
500+ posts

How to create a 3D game in Scratch(with structures, like walls, and a floor)

arxstriker wrote:

How do you create a 3D world(like fortnite or minecraft) with stuctures, like pillars, walls, the floor, etc.? However, I don't want a single player view point game, like minecraft, I want a more Tekken 7 style game where you can move around up, down, left, right and the entire game is viewed from the side. (Not sure if this is the correct place to ask, or is it the Requests forum? I mean, there does need to be some(alot) of coding, so…)
Hmmm… its complicated you should check a 3D tutorial on youtube
arxstriker
Scratcher
23 posts

How to create a 3D game in Scratch(with structures, like walls, and a floor)

@helloworldbyeworld, here is quite a long video explaining tekken 7: https://www.youtube.com/watch?v=K-WhR09Q6TU , all I really want is a movement system, an attack system, a natural defence system, and a wall system. Perhaps, if this is not possible in Scratch, I could try the idea in 2D?(That's the plan as of right now) And I don't really need that much good graphics, just the general environment, I can fix how the attacks and movements look like on myself. Thanks .

Last edited by arxstriker (June 25, 2021 13:00:43)

Trademark_Lover_64
Scratcher
500+ posts

How to create a 3D game in Scratch(with structures, like walls, and a floor)

arxstriker wrote:

@helloworldbyeworld, here is quite a long video explaining tekken 7: https://www.youtube.com/watch?v=K-WhR09Q6TU , all I really want is a movement system, an attack system, a natural defence system, and a wall system. Perhaps, if this is not possible in Scratch, I could try the idea in 2D?(That's the plan as of right now) And I don't really need that much good graphics, just the general environment, I can fix how the attacks and movements look like on myself. Thanks .
I think the best way to do it is in 2D. I don't think 3D is possible. Try doing it in 2D and see if that works.
orangetheory
Scratcher
500+ posts

How to create a 3D game in Scratch(with structures, like walls, and a floor)

Here is a 3D script, I'm not sure if it will better format your game but it is basic and adds a little 2.5D graphics in it.

Start with making a new sprite and making a simple square - make sure to center it - and keep duplicating the costumes till you have as much costumes as you want. If you want your sprite to be big, do a large amount of costumes, vice versa. You can change the shapes later on if you want, this is just helping you understand making a 3D shape, for this one we are making a cube. (the code is the same, just the art is different per your shape.)

In your main sprite, make a new custom block called “3D” and put this:

whenclickedhideswitchcostumetocostume 13D Then, in the same sprite, add another script under the automatic define block block:define3Drepeatthe amount of costumes you have in your spritecreatecloneofmyselfnextcostumechangeyby1.2 change this depending on the gaps between the layers you want

then make another script in the same sprite, this is just to help you preview it
whenIstartasacloneforeverifkeyleft or rightpressed?thenturnspeed of the degrees you wantdegrees

I hope this helped make sure to pop in a follow if it did!

Last edited by orangetheory (June 26, 2021 20:16:41)

-Kryptonite-
Scratcher
1000+ posts

How to create a 3D game in Scratch(with structures, like walls, and a floor)

I'd suggest using a pen, you could use raycasting to create some sort of maze/walls. And the players would have to do perhaps turn-based fighting, so each turn would be switching the players, and the players would be in the first-person mode. Kinda like a first-person shooter.

And if Tekken 7 is rated T you'll be banned or project taken down.

Last edited by -Kryptonite- (June 26, 2021 21:01:56)

Powered by DjangoBB