help with level building
Posted: Mon Oct 06, 2014 7:29 pm
hello all,
been a bit busy of late, planning to get away from the UK but want to get some code on. and one thing i have been on and off trying to get going is a certain type of level building , thats built through 1s and 0s.
the type of level building is:
but i have been trying to incorporate collision to the image that is used, namely the '1' in all of this, but am running up empty, and cant figure out how. im using bump, even tried to not use it, but still running up empty.
ive searched in the forum, but im gathering my wording is wrong, since i cant remember what the name of the code above is called. i would have figured someone would of asked this question
thanks
been a bit busy of late, planning to get away from the UK but want to get some code on. and one thing i have been on and off trying to get going is a certain type of level building , thats built through 1s and 0s.
the type of level building is:
Code: Select all
thisIsALevel = {
{1,1,1,1,1,1,1,1},
{1,0,0,0,0,0,0,1},
{1,0,0,1,1,0,0,1},
{1,0,0,0,0,0,0,1},
{1,1,1,1,1,1,1,1}
}
ive searched in the forum, but im gathering my wording is wrong, since i cant remember what the name of the code above is called. i would have figured someone would of asked this question
thanks