Game Development Community

Pinks Screen Blues

by Ronald J Nelson · in Torque Game Engine Advanced · 06/15/2008 (9:09 pm) · 6 replies

I have been busting my butt to eliminate these occasionaly pink screen flashes. I realize this is my fault in some way, something I did wrong in script. However, isolation it is nearly impossible since there is no way to truthfully stop the engine when it is going to flash pink and it doesn't give any sort of callout when it has a problem that will result in the Pink Screen of Death or Magenta Screen of Death, whatever its being called now.

What I would really like to know is this, and I am quite sure this information would be held as quite valuable by the other folks out there. Where in the code is the point where it chooses to flash the pink screen for whatever reason?

I ask because the simple addition of say a Console log entry would allow those of us out there with this affliction to isolate our own mistakes. With something like that you could actually trace out what ever error you made that was causing it.

Thank you in advance.

#1
06/16/2008 (12:36 pm)
I wonder if this has something to do with my problem, I outlined basically what my problem is in the Bug section, but no one seems to know exactly why, maybe our problems are related:)

Mine come after I have modified the GUI scripts for the TerrainTexpainter, and one of the other editor GUI's I didn't think adjusting those things when all i am doing is adding more of what the engine is already accepting...hmmmm
#2
06/16/2008 (2:16 pm)
In my experience, the pink screen comes from push stuff to the Canvas that doesn't exist, or placing the camera/control object inside of other objects.
#3
06/16/2008 (3:20 pm)
Push stuff??, could you explain that. What I did to add the other 2 texture slots to the terrain painter was to adjust the variable in the editor I think it was called "i" I changed it from 6 to 8, and then in the terrainpainter GUI I just copied exactly how the other textures were handled. And sorry if it seems like I am hijacking the thread i just am looking for an answer, hoping it might help us both :)
#4
06/16/2008 (3:27 pm)
I'm not really sure about your situation, because I've never done anything quite like that before. I have gotten the pink screen when I call pushDialog or setContent with a GUI that doesn't exist yet or is improperly set up somehow (negative position numbers or extent).
#5
06/17/2008 (12:44 am)
Well I have been through my script, gui and code. Using Torsion for debugging script and gui, Visual studio for debugging code, and just plain old beat myself in the head by reading code and script for hours and what have I found? Nothing. In my case it has to do with the differences between hosting and joinin a game. I am using a mission in the main menu and it hosts fine, but when you try to join the Pink screen flashes. Now I have been through every step of the way, and cannot see one thing that even remotely looks wrong. Heck I actually broke it for a while for the sake of trying to find this annoyance.

What I want to know is where it is that tells it to make this Pink Screen? Is this a Garage Games/TGEA thing or something else like Direct X?
#6
06/17/2008 (3:53 am)
The infamous pink screen. According to me Pink = Nothing. I use to get it when I removed fog and my space sphere (Skysphere) did not render properly. Dunno if this information has anything to do with what you're experiencing though.