by bilvyy » Fri Feb 25, 2011 1:42 am
there's no need to argue about whose code is better. i appreciate both of you trying to help me.
@again: thank you for that explanation! i find it easier to use code when i know what's going on with each section of it, and that's easy when someone explains it to me step by step. your code is simple and really easy for me to use and understand, i'm just worried it won't be enough for all the doors in my game.
i have 7 pairs of doors in my entire game. i can't remember if i've asked this, but is there a way to have all 7 pairs in my game using this code? i tried to apply that same one to a different pair, but my player instead appeared at the wrong door because the code was identical.
@lcl: going by your claims, your code sounds like it will do the trick, but i just don't understand it. having the demo is handy but i need a much simpler tutorial, going step by step to tell me how to apply the code to my game. i have some quick questions for you too:
with your code would i be able to go back through a door? and do you think it'd be possible to give me a quick run through of the different sections of the script? i don't really understand the comments and there is just so much; i'm not sure what parts i need to adjust to suit my game and i don't know how to apply it to several doors.
possibly to avoid clogging up again's thread, you could just link me to a post explaining it on your thread instead? if it's not too much trouble at all. i just really need to get these doors working.