Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

3 Dimensional Chat / Help with making a for loop for walls

Dark Basic Pro Enthusiast
Years of Service
User Offline
Joined: 8th Nov 2013
Posted: 5th Mar 2014 17:06
Hey I am working on a game and making walls that are taking up too much lines of code and I need a way to make a for loop for the walls but do not know how to....Help Please?

the loop is so you can move around and see stuff please help

DBPro Master
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 20th Mar 2014 17:30 Edited at: 20th Mar 2014 17:30
Top wall? Floor wall? Not exactly sure how you're designing your walls, or how they're positioned. Can't you just make 4 boxes, one for each wall, then tile it's texture?

Here's an example of building a rectangular room:

If your walls needs to have multiple segments then a FOR loop is what you're after:

Login to post a reply

Server time is: 2023-12-04 07:11:15
Your offset time is: 2023-12-04 07:11:15