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

Author
Message
Dark Basic Pro Enthusiast
10
Years of Service
User Offline
Joined: 8th Nov 2013
Location:
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

Phaelax
DBPro Master
20
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: 2024-03-28 13:51:06
Your offset time is: 2024-03-28 13:51:06