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] endcontinued..
Last edited by liam48D (2013-04-08 09:47:36)
Offline
when [up arrow v] key pressed change y by [-20] if <([y position v] of [Sprite1 v]) < [-400]> set y to [-400] endThis 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
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