generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Move terrain?

Previous Thread :: Next Thread 
Quirtx is online. Quirtx
Joined: 01 Aug 2014
Total Posts: 522
17 Jun 2017 07:10 AM
Hello! How would I make terrain constantly move in the x axis?
Thanks!
Report Abuse
direMitten is not online. direMitten
Joined: 18 Jun 2015
Total Posts: 1294
17 Jun 2017 07:46 AM
What exactly are you trying to do? Does the terrain HAVE to move, or does it just need to *look* like it's moving?
Report Abuse
HarrySnotte is not online. HarrySnotte
Joined: 27 Jun 2011
Total Posts: 2854
17 Jun 2017 09:40 AM
I'm afraid terrain is a fixed thing in roblox, you cannot change the position nor the size of cells. You can only fill and color cells.
But, as being said already, you can make it look like it's moving by filling and coloring, say cell1 next cell2 to the fillings and coloring of cell2. But on a big scale, this would make up for some big lag, and in the end, you're not really moving anything anyway, so you shouldn't try.
Report Abuse
EvanHolt is not online. EvanHolt
Joined: 06 Sep 2008
Total Posts: 1264
17 Jun 2017 09:51 AM
As previously stated, you could "move" the terrain by filling cells systematically, and you could do it pretty smoothly with smooth terrain, as you can set each cell's occupancy. But it would be quite an intensive script, requiring quite a lot of calls to :WriteVoxels(), which would probably cause substantial lag. I'm currently working on a game where the maps are generated with a single call to :WriteVoxels(), and just that one call freezes the game for a split second (this doesn't cause problems for me however, because all the players are just sitting around in the lobby anyway). Constant lag blips like that might defeat the purpose of having "moving" terrain.

[ George Orwell taught me math! 2 + 2 = 5 ]
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image