Hello
I was wondering if there was any way to create a scrolling system where you can place blocks and it remember where it is (Like terraria). In 1.4 i know it is not possible but in 2.0 you can use clones. Is there anyway to do this simply. I have seen other people do it but it was confined to a 2 by 5 area as it would crash there computer if they try to add more sections. Is there anyway to make this possible with a big map.
Offline
I have the variables Scroll X (for scrolling) and Current X (for placing) howver i cant find a good script to get current X to change to be in the right place and will still scroll. I am trying to figure out a simpler scrolling system and then put that on. I have also found a way to set Current X but not to scroll it yet.
Offline
try this: for the player scripts,
when gf clicked forever if <key [right arrow v] pressed?> change [scrollX v] by [-4] end if <key [left arrow v] pressed?> change [scrollX v] by [4] endAnd for the terrains:
when gf clicked forever set x to (((scrollX) + (480)) * (0))//change the zero by one on every different terrain.Hope this helps!
Offline
Liamadams wrote:
try this: for the player scripts,
when gf clicked forever if <key [right arrow v] pressed?> change [scrollX v] by [-4] end if <key [left arrow v] pressed?> change [scrollX v] by [4] endAnd for the terrains:when gf clicked forever set x to (((scrollX) + (480)) * (0))//change the zero by one on every different terrain.Hope this helps!
I have that for the terrain but i was wondering how do you make it so you can place a 8x8 cube and it will scroll where it is placed. (Like Terraria/2D Minecraft)
Offline
dracae wrote:
Can you post what you have or something?
It'll be easier if I could see your scripts.
Wow the beta Site is really Bugging For me so i can't post a link to the project but if you look up "Starbound" in the beta.scratch.mit.edu search mine is the graphics scrolling one
Offline
Link to the project here so you can look at scripts
http://beta.scratch.mit.edu/projects/10124360/
Offline