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

#1 2013-04-08 09:46:38

liam48D
Scratcher
Registered: 2013-02-18
Posts: 33

Minecraft Project I'm Making

So, I've been making a cool Minecraft project, inspired by MinecraftPE123's project. I was told that you couldn't really look down in a project by epninja. But I actually made a way. The grass has to be a sprite. When you press down, the grass sprite fills up more of the screen by changing its y position.

when [down arrow v] key pressed
change y by [20]
if <([y position v] of [Sprite1]) > [0] >
  set y to [0]
end
continued..

Last edited by liam48D (2013-04-08 09:47:36)

Offline

 

#2 2013-04-08 09:51:15

liam48D
Scratcher
Registered: 2013-02-18
Posts: 33

Re: Minecraft Project I'm Making

when [up arrow v] key pressed
change y by [-20]
if <([y position v] of [Sprite1 v]) < [-400]>
  set y to [-400]
end
This will make my grass sprite go up or down, though lag-y/buggy. I will not give all my code here, but here is some more code.

Last edited by liam48D (2013-04-08 09:52:28)

Offline

 

#3 2013-04-08 09:56:48

liam48D
Scratcher
Registered: 2013-02-18
Posts: 33

Re: Minecraft Project I'm Making

STAGE

when gf clicked
set [Cheatmode v] to [OFF]
ask [What will you play in - Survival or Creative?] and wait
repeat until <<<(answer) = [Survival]> or <(answer) = [survival]>> or <<(answer) = [Creative]> or <(answer) = [creative]>>
  if <(answer) = [survival]>
    set [Gamemode v] to [Survival]
    end
  if <(answer) = [creative]>
    set [Gamemode v] to [Creative]
  end
end
There's the SETTING UP section of my game. I will not give you any more until some other time, but if you'd like then feel free to use this code for one of your projects!

Last edited by liam48D (2013-04-08 10:02:12)

Offline

 

Board footer