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

#1 2007-08-31 22:42:52

JoelP
Scratcher
Registered: 2007-07-20
Posts: 100+

I HAVE FOUND OUT HOW TO MAKE 3D GAMES!

An idea of how to do it just popped up in my head last night. IT WORKED!


do you want to see  real 3D ? come here and have a 3D runaround. the game will soon be a fighting game, as you can see when you press space   http://scratch.mit.edu/projects/JoelP/33274

Offline

 

#2 2007-09-01 10:49:31

adriangl
Scratcher
Registered: 2007-07-02
Posts: 1000+

Re: I HAVE FOUND OUT HOW TO MAKE 3D GAMES!

GENIUS!!!how do you do it?TELL ME!!!!!!!!TELL ME!!!!!!!!!!TELL ME!!!!!!!!


Scratchin' since 2007

Offline

 

#3 2007-09-01 17:07:16

JoelP
Scratcher
Registered: 2007-07-20
Posts: 100+

Re: I HAVE FOUND OUT HOW TO MAKE 3D GAMES!

up,  lot of scripts to tell you about!


do you want to see  real 3D ? come here and have a 3D runaround. the game will soon be a fighting game, as you can see when you press space   http://scratch.mit.edu/projects/JoelP/33274

Offline

 

#4 2007-09-06 22:51:51

andresmh
Scratch Team at MIT
Registered: 2007-03-05
Posts: 1000+

Re: I HAVE FOUND OUT HOW TO MAKE 3D GAMES!

That's great. Could you tell us about the process of how you found out how to make 3d games?


Andres Monroy-Hernandez | Scratch Team at the MIT Media Lab
on identi.ca and  twitter

Offline

 

#5 2007-09-07 03:21:30

JoelP
Scratcher
Registered: 2007-07-20
Posts: 100+

Re: I HAVE FOUND OUT HOW TO MAKE 3D GAMES!

well... as archmage pointed out, you need Z-mapping to make 3D games. So my 3D game on the website isn't 'true' 3D, but with z mapping, it is. For z mapping, all you need is a map! It is complicated to explain the 3D that I used in little 3D runaround, and is even harder to explain about z-mapping, because it takes a lot of scripts. Once I have finished the current game, I might be able to have the patience to explain. Or ou can download it, but, It is really hard to explain!


do you want to see  real 3D ? come here and have a 3D runaround. the game will soon be a fighting game, as you can see when you press space   http://scratch.mit.edu/projects/JoelP/33274

Offline

 

#6 2007-09-07 03:23:13

JoelP
Scratcher
Registered: 2007-07-20
Posts: 100+

Re: I HAVE FOUND OUT HOW TO MAKE 3D GAMES!

oh... the process. Well, I have always wanted to make 3D games, but then, suddenly an idea came to me, just as I got into the shower!


do you want to see  real 3D ? come here and have a 3D runaround. the game will soon be a fighting game, as you can see when you press space   http://scratch.mit.edu/projects/JoelP/33274

Offline

 

#7 2007-09-07 18:40:12

JoelP
Scratcher
Registered: 2007-07-20
Posts: 100+

Re: I HAVE FOUND OUT HOW TO MAKE 3D GAMES!

Well, here is the scripts for one of the trees in my game

<when green flag clicked>
   <forever>
      <if><key[ up arrow ]pressed?>
         <change{ distance }by( -1
      <if><key[ down arrow ]pressed?>
         <change{ distance }by( 1
      <if><key[ right arrow]pressed?>
         <change{ real x }by( -1
      <if><key[ left arrow ]pressed?>
         <change{ real x }by( 1

Thats the main script, but there are more

<when green flag clicked>
   <forever>
     <set{ size }to( <size>

<when green flag clicked>
   <forever>
     <set{ size }to( (( 100 </> (( <{ distance }> </> 5 )) ))

<forever>
<say[ LOL! I forgot the rest!

Last edited by JoelP (2007-09-07 18:45:18)


do you want to see  real 3D ? come here and have a 3D runaround. the game will soon be a fighting game, as you can see when you press space   http://scratch.mit.edu/projects/JoelP/33274

Offline

 

#8 2007-09-07 22:48:44

archmage
Scratcher
Registered: 2007-05-18
Posts: 1000+

Re: I HAVE FOUND OUT HOW TO MAKE 3D GAMES!

Is it possible to create a 3d freely rotating polygon using this method?


Hi, I am Archmage coder extraordinaire. I do Scratch,pascal,java,php,html, AS2 and AS3. Leave me a message if you want coding advice. Also check out my personal website, lots of good stuff about web development, Flash, and Scratch (v1 and v2) !

Offline

 

#9 2007-09-08 06:35:17

JoelP
Scratcher
Registered: 2007-07-20
Posts: 100+

Re: I HAVE FOUND OUT HOW TO MAKE 3D GAMES!

no... this is the method that I used in the little 3D runaround. I am hoping to do that in my new game-if it works


do you want to see  real 3D ? come here and have a 3D runaround. the game will soon be a fighting game, as you can see when you press space   http://scratch.mit.edu/projects/JoelP/33274

Offline

 

#10 2008-05-31 20:18:50

Benostle
Scratcher
Registered: 2008-04-27
Posts: 4

Re: I HAVE FOUND OUT HOW TO MAKE 3D GAMES!

To make it so it looks like youre walking towards something put this scripts on that
thing.<when green flag clicked><forever><if><key[UP]pressed?><change size by(+1

You should be able to figure out the rest for left, right, and down>>

Offline

 

#11 2008-05-31 20:25:34

Benostle
Scratcher
Registered: 2008-04-27
Posts: 4

Re: I HAVE FOUND OUT HOW TO MAKE 3D GAMES!

<<TO MAKE MOVE RIGHT AND UP>>

--FORWARD--
<when green flag clicked>
<forever>
<if>
<key[ UP ]pressed?>
<change size by( +1

--RIGHT--
<when green flag clicked>
<forever>
<if>
<key[RIGHT]pressed?>
<change x by(+1

Offline

 

#12 2008-07-19 13:25:49

hobotraitor
Scratcher
Registered: 2008-04-20
Posts: 2

Re: I HAVE FOUND OUT HOW TO MAKE 3D GAMES!

I also made a 3D simulator, but mine doesn't use the same scripts, even though they're similar. Go to http://scratch.mit.edu/projects/hobotraitor/204195 to see it. If anyone wants to work off of it that's fine, but if you do you should probably draw a new character and background because my drawings aren't too good (The only reason it doesn't look like real 3D is because I drew it off center.).   smile

Offline

 

#13 2008-09-14 09:03:34

oliiscool
Scratcher
Registered: 2008-07-08
Posts: 31

Re: I HAVE FOUND OUT HOW TO MAKE 3D GAMES!

i wanna know how to make a 3D RPG game

i know i could use this script to make it look like your getting closer to da trees and stuff

<when[ up arrow ]key pressed><wait( 1 )secsc><next costume>

Offline

 

#14 2008-09-14 09:05:52

oliiscool
Scratcher
Registered: 2008-07-08
Posts: 31

Re: I HAVE FOUND OUT HOW TO MAKE 3D GAMES!

i can use this for da blade

<when[space  ]key pressed><show><point towards( mousepointer<move(  3)steps>
<when[  down arrow]key pressed><hide>

Offline

 

#15 2008-09-14 09:07:36

oliiscool
Scratcher
Registered: 2008-07-08
Posts: 31

Re: I HAVE FOUND OUT HOW TO MAKE 3D GAMES!

for da background

<when green flag clicked><forever><play sound[ temple ]and waits>

Offline

 

#16 2008-09-14 20:47:45

zawicki1fromyoutube
Scratcher
Registered: 2008-07-31
Posts: 1000+

Re: I HAVE FOUND OUT HOW TO MAKE 3D GAMES!

JoelP wrote:

Well, here is the scripts for one of the trees in my game

<when green flag clicked>
   <forever>
      <if><key[ up arrow ]pressed?>
         <change{ distance }by( -1
      <if><key[ down arrow ]pressed?>
         <change{ distance }by( 1
      <if><key[ right arrow]pressed?>
         <change{ real x }by( -1
      <if><key[ left arrow ]pressed?>
         <change{ real x }by( 1

Thats the main script, but there are more

<when green flag clicked>
   <forever>
     <set{ size }to( <size>

<when green flag clicked>
   <forever>
     <set{ size }to( (( 100 </> (( <{ distance }> </> 5 )) ))

<forever>
<say[ LOL! I forgot the rest!

lol "set size to= size"


|Call Of Duty: Black Ops Wii Friend Code: 3519-4456-0013|
|Follow me on Twitter|Subscribe To My Youtube Channel

Offline

 

#17 2010-02-05 05:13:58

NATT44
Scratcher
Registered: 2010-01-03
Posts: 7

Re: I HAVE FOUND OUT HOW TO MAKE 3D GAMES!

when green flag clicked>i' focusing on a 3D game,and to make a character turn around, I used scripts like:<when green flag clicked><set{spinX}to(0) <when green flag clicked><forever if><key[right arrow]pressed?><change{spinX}by(1) (opposite for left)   
<when green flag clicked><forever if><{spinX}>=360<set{spinX}to(0)

and to make other sprites appear, i used something like <when green flag clicked> <forever if>spinX=180<show><go to x:(edge)y:(wherever)<forever if><key[right arrow]pressed?><glide(  )secs to x sad   )y sad  )<key[left arrow]pressed?><glide(  )secs to x sad   )y sad  )

Offline

 

#18 2010-02-05 08:01:05

Ace-of-Spades
Scratcher
Registered: 2010-01-08
Posts: 1000+

Re: I HAVE FOUND OUT HOW TO MAKE 3D GAMES!

I figured out an easier way. Doesn't involve fancy turning though, unfortunately. Unless yours doesn't either, I haven't checked it out.


11110010100011010100011010101000100011011011001010111100101000110101000110101010001000110110110010101111001010001101010001101010100010001101101100101011110010100011010100011010101000100011011011001010
110101010010001010101010101010101010101010100110101010010101010010101001101011010101010010101010101

Offline

 

#19 2010-02-05 08:33:59

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: I HAVE FOUND OUT HOW TO MAKE 3D GAMES!

Very clever, well done.  smile


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#20 2010-02-06 05:12:03

JSO
Community Moderator
Registered: 2007-06-23
Posts: 1000+

Re: I HAVE FOUND OUT HOW TO MAKE 3D GAMES!

NATT44, please do not bump up threads that old. It's started in august 2007, that's two and a half years ago.


http://oi48.tinypic.com/2v1q0e9.jpg

Offline

 

#21 2010-02-06 07:20:01

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: I HAVE FOUND OUT HOW TO MAKE 3D GAMES!

JSO wrote:

NATT44, please do not bump up threads that old. It's started in august 2007, that's two and a half years ago.

Wow... no wonder this is outdated.


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#22 2010-02-06 13:24:28

MyRedNeptune
Community Moderator
Registered: 2007-05-07
Posts: 1000+

Re: I HAVE FOUND OUT HOW TO MAKE 3D GAMES!

This thread is so ancient, it's just begging to be closed! Yeah.... I think I'll do that.


http://i52.tinypic.com/5es7t0.png I know what you're thinking! "Neptune! Get rid of those filthy advertisements and give us back the Zarathustra siggy, you horrible person!" Well, don't worry about it, the Zara siggy will be back soon, new and improved! ^^ Meanwhile, just do what the sig tells you to. >.>

Offline

 

Board footer