This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2009-06-19 20:27:07

Jumpy_Dude555
Scratcher
Registered: 2009-04-30
Posts: 16

How do you make a 3-D movement?

3-D Movement
..........................................:::::::::::::::::::::::::::::.................................................
I was thinking of making a game where you use scroll x and 3-D movement. I know how to scroll but how do you make things move in 3-D? So I'm asking all Scratchers to find out how to make a 3-D movement. Please help me.
If you are thinking of things changing y position and size, you're wrong. I'm talking about objects moving past your side.
I'm working on a paintball game.

Last edited by Jumpy_Dude555 (2009-06-20 20:58:03)

Offline

 

#2 2009-06-20 10:18:08

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: How do you make a 3-D movement?

It's quite a difficult process, but you may want to look at BigB's 3D Stunt Flyer if it's something along those lines that you're looking for.

Offline

 

#3 2009-06-24 16:02:50

xolor
Scratcher
Registered: 2009-05-15
Posts: 3

Re: How do you make a 3-D movement?

You're making a 3d-like fps? I'm not sure, but I think you mean something like that: http://scratch.mit.edu/projects/xolor/567864 . That's my 2.5d fps engine which allows you to move left, right, forwards, backwards and even turning around. But if you mean real 3d in scratch, then it will become more complicated...

Offline

 

#4 2009-06-25 06:17:49

solstice
Scratcher
Registered: 2008-09-04
Posts: 55

Re: How do you make a 3-D movement?

what do you mean by 3D movement, do you mean that the camera would follow your chacter (sorry about the spelling) or would it be like fps.

Offline

 

#5 2009-06-25 08:33:32

zbugni
Scratcher
Registered: 2008-12-13
Posts: 500+

Re: How do you make a 3-D movement?

I have also had trouble creating a 3d world, and I never could have figured it out myself.  The great one (dolfus555) made this.


http://scratch.mit.edu/projects/Dolfus555/205888

P.S I did paintball and it HURTS! :0

Offline

 

#6 2009-08-04 17:16:28

soft319
Scratcher
Registered: 2008-02-19
Posts: 1000+

Re: How do you make a 3-D movement?

The only way I know is blender.


http://bluetetrarpg.web44.net/usercard/img.php?name=soft319

Offline

 

#7 2009-08-13 03:38:24

solstice
Scratcher
Registered: 2008-09-04
Posts: 55

Re: How do you make a 3-D movement?

soft319 wrote:

The only way I know is blender.

Blender wont work because you can't import the full 3D files into scratch, you would have to first convert them into a 2D file then import them all,
You could technically  use Google Sketch Up and save them as 2D but you wont get the same effect as using full 3D.

Offline

 

#8 2009-08-13 15:50:39

Brass45
Scratcher
Registered: 2009-05-03
Posts: 500+

Re: How do you make a 3-D movement?

Look at M44's project Behind Enemy Lines.Also,for 3-D movement where you appear to get closer to an object,you could have the up and down arrow keys control a variable that controls size,and if you want walls,you could have the walls change into a diffrent costume depending on the ScrollX so it looks like your viewing them from an angle,but that would be getting REALLY complicated.

Last edited by Brass45 (2009-08-26 08:35:27)


http://img412.imageshack.us/img412/4593/ubd1591.png<--Our website(click)
http://static.zooomr.com/images/8884671_b196719ffa_o.png<--If this image looks interesting,then click it to see an exclusive sneak peak of Evil Strings newest game:DarkLight

Offline

 

#9 2009-09-17 13:39:28

Geedoman
Scratcher
Registered: 2009-08-24
Posts: 16

Re: How do you make a 3-D movement?

How about you use Video Trace?

Offline

 

#10 2009-09-19 21:28:38

fanofcena
Scratcher
Registered: 2008-07-03
Posts: 1000+

Re: How do you make a 3-D movement?

i have a * answer for it use my Roit Engine u can find it in Space Combat 3d http://scratch.mit.edu/projects/fanofcena/572735 here if u want Better Movement u could use this engine http://scratch.mit.edu/projects/fanofcena/650060


http://i53.tinypic.com/2vxr2c0.png Click whats above u might make a cute planet happy ^_^

Offline

 

#11 2009-09-22 21:48:06

gust217
Scratcher
Registered: 2009-06-12
Posts: 6

Re: How do you make a 3-D movement?

I have a 3D dragon that moves his head, u actually can import a 3D file as long as its not too big. You could compress the file if it's too big.

Offline

 

#12 2009-09-22 22:01:53

dingdong
Scratcher
Registered: 2007-08-09
Posts: 1000+

Re: How do you make a 3-D movement?

the only thing  I know is if you're going to waste so much time on making a 3D game on scratch you should rather be wasting time on making a 3D game on something that is meant to support 3D gaming


http://img851.imageshack.us/img851/2829/superanbanner.png
click the image for my music

Offline

 

#13 2009-09-25 05:39:33

solstice
Scratcher
Registered: 2008-09-04
Posts: 55

Re: How do you make a 3-D movement?

dingdong wrote:

the only thing  I know is if you're going to waste so much time on making a 3D game on scratch you should rather be wasting time on making a 3D game on something that is meant to support 3D gaming

I agree use a 3d made program to make 3d things,

for game engines you can get Unreal Editor by picking up a copy of Unreal Tournament 3 or Gears of War 2 which is has a bit of learning to do but it is a really strong program when you get used to it,
there are also some SDK's out there to use like OGRE,
also you can learn how to script 3d (download Microsoft Visual C# 2008 and XNA game studio)
there are several other ways but I wont go into them.

Offline

 

#14 2009-10-16 17:58:29

awsomemaster
Scratcher
Registered: 2008-04-10
Posts: 83

Re: How do you make a 3-D movement?

solstice wrote:

dingdong wrote:

the only thing  I know is if you're going to waste so much time on making a 3D game on scratch you should rather be wasting time on making a 3D game on something that is meant to support 3D gaming

I agree use a 3d made program to make 3d things,

for game engines you can get Unreal Editor by picking up a copy of Unreal Tournament 3 or Gears of War 2 which is has a bit of learning to do but it is a really strong program when you get used to it,
there are also some SDK's out there to use like OGRE,
also you can learn how to script 3d (download Microsoft Visual C# 2008 and XNA game studio)
there are several other ways but I wont go into them.

yes you can use a 3d program to make 3d things. but its funner to try to make 3d things on stuff your not soposed to (well FAKE 3d). its just a fun challenge.


scar the REAL 3d fps we've all been waiting for

Offline

 

#15 2009-10-17 10:58:21

fanofcena
Scratcher
Registered: 2008-07-03
Posts: 1000+

Re: How do you make a 3-D movement?

awsomemaster wrote:

solstice wrote:

dingdong wrote:

the only thing  I know is if you're going to waste so much time on making a 3D game on scratch you should rather be wasting time on making a 3D game on something that is meant to support 3D gaming

I agree use a 3d made program to make 3d things,

for game engines you can get Unreal Editor by picking up a copy of Unreal Tournament 3 or Gears of War 2 which is has a bit of learning to do but it is a really strong program when you get used to it,
there are also some SDK's out there to use like OGRE,
also you can learn how to script 3d (download Microsoft Visual C# 2008 and XNA game studio)
there are several other ways but I wont go into them.

yes you can use a 3d program to make 3d things. but its funner to try to make 3d things on stuff your not soposed to (well FAKE 3d). its just a fun challenge.

Well nothing is real 3d on computer as ur screen is just of a millimeter width in which graphics are rendered such that u could be illusionised as living in  a realtime environment


http://i53.tinypic.com/2vxr2c0.png Click whats above u might make a cute planet happy ^_^

Offline

 

#16 2009-10-17 15:02:50

Greatdane
Scratcher
Registered: 2007-06-05
Posts: 1000+

Re: How do you make a 3-D movement?

I built a 3-D engine. You can look at them. I don't think they were recent though.


The future belongs to those who believe in the beauty of their dreams.
        ~ Eleanor Roosevelt

Offline

 

#17 2009-10-18 19:16:18

TobiOlivers
Scratcher
Registered: 2009-05-20
Posts: 76

Re: How do you make a 3-D movement?

if your going to make 3D, regular sprites aren't going to work, you will probably need to use wire frame and have a pen and points that move for a better 3D look.


http://i987.photobucket.com/albums/ae353/NintendoTobi/Meepsig.png
I Am Meep, yes.

Offline

 

#18 2009-10-21 12:59:13

AddZero
Scratcher
Registered: 2007-08-11
Posts: 100+

Re: How do you make a 3-D movement?

I've created some 3d projects.  I agree with awsomemaster that it's a fun challenge.  I just posted a long post post about 3d scratch projects over there. BUT I reposted it below, because I think here in advanced topics is a better place for it.

--------------------
I believe a realtime first person, explorable 3d environment IS possible in Scratch.  It just takes a *TON* of work to figure out and create. s65 http://scratch.mit.edu/users/S65 and others have made good progress.

Solid and texture surfaces are not practical in Scratch, but wireframe art is.
Some of my projects explore rending of wireframe 3d objects.  You can use these as a starting point in your projects.

3d environments are made easier by just positioning and resizing sprites, and not worrying about trying to draw walls and shapes.  See s65's SpRiTeD 3D Projection Engine: http://scratch.mit.edu/forums/viewtopic.php?id=6033  Another good approach is to use prerendered backgrounds, and just change as needed.  But this is limited, as you need a ton of art to do much.

But like I said I think wireframe 3d environments are possible:
A challenge is that lines that run off the screen are not projected where they should,
(Try zooming into my 3d desk project for an example. http://scratch.mit.edu/projects/AddZero/347789 ) so walls become deformed.  I started working on a solution here: http://scratch.mit.edu/projects/AddOne/564258
Also this can be used to hide walls that are behind other walls.
It is very important the the renderer only draws walls that are visible, otherwise in will waste allot time drawing walls off in the distance, that should be hidden.  This very important if you want large environments,.

I think the DOOM (one of the first '3d' games that ran on slow computers) 3d engine is a good design to pattern off of.  Maps were 2d vector sectors, joined together.  The engine projected just the walls that were necessary, hidden walls across the level were not rendered, just the ones visible to the player.  They used a technique called raycasting to render the walls.  s65 attempted this with a Wolfenstine (one of the first fps that has even lower computer requirements.) like engine:  But solid rendering is not practical in scratch.
Instead, I'd just render the outlines of the walls.  The map structure can be similar to DOOM, a tree or web like data structure can be used to tell what sectors are connected to what.  I explored the tree structure idea some here: http://scratch.mit.edu/projects/AddZero/346118  A similar technique could be used to store the map information into one list that can be read quickly.

I think it would render faster if the engine know what sectors were visible from the current sector without raycasting.  So this can be figure out beforehand for each sectore and stored in another list.

Well. I rambled allot.  I hope this was helpful.  Goodluck.  I may be able to help further if you have questions.


http://scratch.mit.edu/static/icons/buddy/524717_med.png?t=2010-06-15+09%3A48%3A36

Offline

 

#19 2009-12-13 01:28:12

Brass45
Scratcher
Registered: 2009-05-03
Posts: 500+

Re: How do you make a 3-D movement?

I know that probably everyone knows this by now,but RHY375467 is the leading expert in 3D on scratch.His now famous GALE3D projection engine uses trig to calculate an objects rotation and position,and he has proved with at least half a dozen tech demos that the long-standing belief"you can't make true 3D in scratch" is dead wrong.


http://img412.imageshack.us/img412/4593/ubd1591.png<--Our website(click)
http://static.zooomr.com/images/8884671_b196719ffa_o.png<--If this image looks interesting,then click it to see an exclusive sneak peak of Evil Strings newest game:DarkLight

Offline

 

#20 2009-12-13 02:33:41

fanofcena
Scratcher
Registered: 2008-07-03
Posts: 1000+

Re: How do you make a 3-D movement?

Brass45 wrote:

I know that probably everyone knows this by now,but RHY375467 is the leading expert in 3D on scratch.His now famous GALE3D projection engine uses trig to calculate an objects rotation and position,and he has proved with at least half a dozen tech demos that the long-standing belief"you can't make true 3D in scratch" is dead wrong.

Yeah i agreee


http://i53.tinypic.com/2vxr2c0.png Click whats above u might make a cute planet happy ^_^

Offline

 

#21 2009-12-13 09:26:10

TobiOlivers
Scratcher
Registered: 2009-05-20
Posts: 76

Re: How do you make a 3-D movement?

fanofcena wrote:

Brass45 wrote:

I know that probably everyone knows this by now,but RHY375467 is the leading expert in 3D on scratch.His now famous GALE3D projection engine uses trig to calculate an objects rotation and position,and he has proved with at least half a dozen tech demos that the long-standing belief"you can't make true 3D in scratch" is dead wrong.

Yeah i agreee

yep, i use his engine alot, it's very, very helpful  big_smile


http://i987.photobucket.com/albums/ae353/NintendoTobi/Meepsig.png
I Am Meep, yes.

Offline

 

#22 2009-12-13 10:41:12

fanofcena
Scratcher
Registered: 2008-07-03
Posts: 1000+

Re: How do you make a 3-D movement?

TobiOlivers wrote:

fanofcena wrote:

Brass45 wrote:

I know that probably everyone knows this by now,but RHY375467 is the leading expert in 3D on scratch.His now famous GALE3D projection engine uses trig to calculate an objects rotation and position,and he has proved with at least half a dozen tech demos that the long-standing belief"you can't make true 3D in scratch" is dead wrong.

Yeah i agreee

yep, i use his engine alot, it's very, very helpful  big_smile

But very very very very slow ;P
better way i made it on an oldy language the c++ and got extraordinary views

Last edited by fanofcena (2009-12-13 10:41:24)


http://i53.tinypic.com/2vxr2c0.png Click whats above u might make a cute planet happy ^_^

Offline

 

#23 2009-12-14 21:21:07

TobiOlivers
Scratcher
Registered: 2009-05-20
Posts: 76

Re: How do you make a 3-D movement?

fanofcena wrote:

TobiOlivers wrote:

fanofcena wrote:


Yeah i agreee

yep, i use his engine alot, it's very, very helpful  big_smile

But very very very very slow ;P
better way i made it on an oldy language the c++ and got extraordinary views

which projects that? or is it even a project...


http://i987.photobucket.com/albums/ae353/NintendoTobi/Meepsig.png
I Am Meep, yes.

Offline

 

#24 2009-12-28 13:51:30

Filtaido
Scratcher
Registered: 2009-04-30
Posts: 33

Re: How do you make a 3-D movement?

check out http://www.3drad.com/ I do not think Sratch is capable.


84% of teenagers own cell phones.  Add this to your signature if you like pop tarts.  tongue

Offline

 

#25 2009-12-28 16:40:01

Brass45
Scratcher
Registered: 2009-05-03
Posts: 500+

Re: How do you make a 3-D movement?

Filtaido wrote:

check out http://www.3drad.com/ I do not think Sratch is capable.

How is that related to this post?


http://img412.imageshack.us/img412/4593/ubd1591.png<--Our website(click)
http://static.zooomr.com/images/8884671_b196719ffa_o.png<--If this image looks interesting,then click it to see an exclusive sneak peak of Evil Strings newest game:DarkLight

Offline

 

Board footer