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

#1 2007-11-05 09:45:34

jinkazama7245
Scratcher
Registered: 2007-11-05
Posts: 5

idea for new scratch block

i have an idea  for a new scratch block why dont you macke a z block for diagonals because we have one for vertical and horizontal

Offline

 

#2 2007-11-05 13:51:36

kevin_karplus
Scratcher
Registered: 2007-04-27
Posts: 1000+

Re: idea for new scratch block

I don't understand what you are requesting.

Offline

 

#3 2007-11-05 14:16:02

Jens
Scratcher
Registered: 2007-06-04
Posts: 1000+

Re: idea for new scratch block

I think he's suggesting a third spatial axis to let him make true 3D projects. But it won't do to just introduce a new pseudo variable...


Jens Mönig

Offline

 

#4 2007-11-05 15:38:17

nicolasx
Scratcher
Registered: 2007-07-30
Posts: 500+

Re: idea for new scratch block

Great Idea! There are so many topics that i thoght of that other people put in becauce i did not know how to post them and is one of them.

Last edited by nicolasx (2007-11-12 14:46:00)

Offline

 

#5 2007-11-05 19:17:05

kevin_karplus
Scratcher
Registered: 2007-04-27
Posts: 1000+

Re: idea for new scratch block

There has been discussion of z-axis for pseduo-3D on other threads. 

My son and I discussed how to add a proper z-depth system compatible with the existing rendering and commands.
  We came up with two new primitives:
      1) a z-depth variable that can be set or read like other state variables.
      2) a set-all-z to layer
   
  The idea is that each sprite has a Z value.  To do rendering, the
  z-values are sorted with a stable sort to get the same layer list as
  is currently used.  If one stays entirely in the set/read Z model,
  this is the only change needed.
 
  To maintain compatibility for existing programs, the meanings of
  move to front and move back n layers needs to change slightly.
  The operations are done as now, but then the Z value is set to the
  layer number (layer 0 or 1 is the closest, and stage is at depth infinity).
 
  Users can get access to the set-all-z-to layer function by doing
  "move back 0 layers", so only the z-depth variable needs to be added.

Offline

 

#6 2007-11-07 20:52:07

vgman20
Scratcher
Registered: 2007-11-03
Posts: 44

Re: idea for new scratch block

uuuuuuuuuhhh....what?


Ever stop to think...
and then forget to start again?

Offline

 

#7 2007-11-08 15:52:16

kevin_karplus
Scratcher
Registered: 2007-04-27
Posts: 1000+

Re: idea for new scratch block

I'd be glad to explain it again, but I'm not sure what parts you didn't understand.
Are you familiar with the (x,y,z) notation for three dimensions?
Do you know how Scratch currently handles one sprite being in front of another?

Offline

 

#8 2007-11-11 20:40:29

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

Re: idea for new scratch block

http://i243.photobucket.com/albums/ff67/hprules_photos/zposition.jpg


If you have unknown projects, don't give up hope! Go to Project Unkown!
If you are being cyber-bullied, don't give up hope! Go to Project Bullied

Offline

 

#9 2007-11-11 23:54:03

music_man
Scratcher
Registered: 2007-09-22
Posts: 100+

Re: idea for new scratch block

Once you add 3d to a game or project, it will make it allot more complex to make a project or game.  You would have to be able to make 3d spites too.


The fool has said in his heart, "There is no God."...  Psalms 14:1

Offline

 

#10 2007-11-12 09:26:16

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

Re: idea for new scratch block

the block that i made could be used for sprites.


If you have unknown projects, don't give up hope! Go to Project Unkown!
If you are being cyber-bullied, don't give up hope! Go to Project Bullied

Offline

 

#11 2007-11-12 15:52:52

kevin_karplus
Scratcher
Registered: 2007-04-27
Posts: 1000+

Re: idea for new scratch block

The suggestion that my son and I had was not adding true 3D---that would raise the complexity a lot.  Instead, it was offering better control of the layering of the 2D sprites (sometimes called 2.5D).

Offline

 

#12 2007-11-12 16:02:55

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

Re: idea for new scratch block

i think you should be able to choose if you want your sprite to have the z position or not.


If you have unknown projects, don't give up hope! Go to Project Unkown!
If you are being cyber-bullied, don't give up hope! Go to Project Bullied

Offline

 

#13 2007-11-12 16:15:46

kevin_karplus
Scratcher
Registered: 2007-04-27
Posts: 1000+

Re: idea for new scratch block

The sprite will *always* have a position in the rendering list.  The suggestion that we made allows all the current operations to work, but also allows programs access to the information about what sprite is where on the list.

Offline

 

Board footer