Calculator Community > Portal X
Questions for Builderboy
LincolnB:
I made this thread so that I could ask Builderboy specific questions pertaining to the completion of Portal X.
First question:
Would you happen to know off the top of your head what {L1+700} does? It's not labeled in the variable list. Also, what's the state if the level exit transition code?
(I guess that's two questions)
Builderboy:
--- Quote from: buttsfredkin on October 20, 2011, 02:11:45 pm ---Would you happen to know off the top of your head what {L1+700} does?
--- End quote ---
Hmm i don't remember, what parts of the code does it show up in?
--- Quote from: buttsfredkin on October 20, 2011, 02:11:45 pm ---what's the state if the level exit transition code?
--- End quote ---
Wha?
LincolnB:
--- Quote from: Builderboy on October 20, 2011, 05:16:14 pm ---
--- Quote from: buttsfredkin on October 20, 2011, 02:11:45 pm ---Would you happen to know off the top of your head what {L1+700} does?
--- End quote ---
Hmm i don't remember, what parts of the code does it show up in?
--- Quote from: buttsfredkin on October 20, 2011, 02:11:45 pm ---what's the state if the level exit transition code?
--- End quote ---
Wha?
--- End quote ---
It says something like:
If {L1+700}
prgmTRANS
Else
RecallPic
End
And what I meant was like, does the engine switch from level to level yet at all?
Builderboy:
It looks like L1+700 is the flag to determine whether or not to play the transition animation when a level is loaded. By default it is off because there is no transition when the game is loaded, but then it is set to 1 for all the transitions after that. If the level is restarted, the flag should be reset in addition.
I believe that automatic level transition is in a semi-workable state, and 4.5 is the version you should be using.
C0deH4cker:
Yeah, L1 is 714 bytes large. If you have nore flags, you could do bit checking for 8 flags per byte. The e symbol is useful for this.
Navigation
[0] Message Index
[#] Next page
Go to full version