Ok, people. I am currently working on a 3D racing game in mode7, and I'm using Alpha Channel Objects for the sprite mapping. My problem is that the game tends to randomly freeze all the time, and I have to ctrl+alt+del the thing.
What I surely know is that it's the Alpha Channel Objects (in this case trees) that causes the game to freeze, I believe they somehow pop up right in front of the camera -> close things are usually pretty large aren't they -> they become so large the machine can't take it -> the game freezes.
Now why do they pop up right in front of the camera? Yes, mode7 has this bug that makes it duplicate all sprites behind you. Well, I have fixed this bug by making all trees behind me invisible. What then happens is that one of those bastards come from behind and go right through the camera before MMF can make it invisible -> the game freezes.
Now please tell me, how the hell I fix this bug. How do I make too large trees invisible or something. I know this is pretty messy, but please, if you have mode7 knowledge, please help!
n/a
Peblo Custom ratings must be 50 characters or less
Registered 05/07/2002
Points 185
10th November, 2005 at 15:33:55 -
Haha, did your last post get deleted?
"Isn't it always amazing how we characterize a person's intelligence by how closely their thinking matches ours?"
~Belgarath
The Alpha Channel Object has values for "resized width" and "resized height." You can use "compare two general values" to add conditions about the resized width and/or height to make them invisible once they grow too large. If you just want to stop them from growing large, then add "scaling equation < maxSize" or something as a condition to the ACO scaling event.
Edited by the Author.
"Omg. Where did they get the idea to not use army guys? Are they taking drugs?" --Tim Schafer on originality in videogames
@Lazarus: Neonair used AO:s for the sprite mapping which meant it could only be resized in three sizes -> it looked uber retarded. Sorry snerlin, but it did.
SS racing will have many more ossum features, don't bash it just because it's "another Sanchez game".
@noyb:Hmm... I could try that. I think I already did try a variant of that, but It seemed to have retardized itself. Well, I'll check it out...