shrinking

Blitz3D Forums/Blitz3D Beginners Area/shrinking

chwaga(Posted 2007) [#1]
whenever I shrink a game made in blitz, and re-open it, it freezes. How to I avoid it freezing?


boomboom(Posted 2007) [#2]
Does it freeze and crash, or takes a while before the program starts? What are you useing to shrink it?

If this happens for around 10 seconds, its probably normal, as your program will be uncompressing the data files that you have shrunk.

Try just shrinking your level files, leave your main application files uncompressed, and have a loading screen for when the levels are being uncompressed.


chwaga(Posted 2007) [#3]
the application just freezes, forever and ever


chwaga(Posted 2007) [#4]
also, it only freezes if I'm in fullscreen mode


jfk EO-11110(Posted 2007) [#5]
shrink?? Are you talking about file compression? If so, what tool are you using.


SLotman(Posted 2007) [#6]
I think what he meant is that he minimizes the window and then restore it again.... could be a driver issue, maybe?

Does it happen with all B3D program, or only some? Does it happen with other DX7 games? Or any other games at all? Do you have more stuff running in the background while you do this?


chwaga(Posted 2007) [#7]
just b3d programs


Jasu(Posted 2007) [#8]
If you have the latest blitz version, try
If GraphicsLost() Then RunTimeError "Oh dear!"

before your RenderWorld. If it doesn't display the message, then at least it rules out one possibility.