compressPVR = "1";
by rennie moffat · in iTorque 2D · 06/18/2010 (9:10 am) · 27 replies
I noticed in the datablocks each sprite is given this line/option. I am wondering as I had previously been thinking I needed an external software program to PVR Compress any image. By changing 0 to 1 in the datablock, will this perform the task without damaging the original? Will it free up memory. Beta tests, did not show me much.
About the author
My thanks to Garage Games and the Garage Games Community combined with owned determination I got one game up, Temple Racer and I am looking to build more interesting, fun games for the mass market of the iOS app store.
#23
06/19/2010 (5:58 am)
ps. would it matter if I stretched it to non POT dimensions?
#24
06/19/2010 (6:06 am)
No, won't have an impact as it does not touch the texture. What you stretch is only a quad (2 triangles) onto which the texture is mapped.
#25
You will be happy to know, much of the problems I was experiencing was because I had copied in my dso files with my cs files. iTGB needed to compile it's own dso files.
06/19/2010 (7:55 am)
Oh, I see, very helpful. Thank you.You will be happy to know, much of the problems I was experiencing was because I had copied in my dso files with my cs files. iTGB needed to compile it's own dso files.
#26
Didn't think about this as possible root but yes, iTGB compiles with the optimization flag active which results in different dso and a different handling of them at runtime. yet when the dso is present it won't do that but fail misserably on executing them
06/19/2010 (8:17 am)
Great to hear.Didn't think about this as possible root but yes, iTGB compiles with the optimization flag active which results in different dso and a different handling of them at runtime. yet when the dso is present it won't do that but fail misserably on executing them
#27
this loads emptyLevel.t2d. How can i make this load levelABCD.t2d?
06/19/2010 (8:58 am)
yes. a quick question as you may be following this thread alone. I have asked in another thread but it may be unseen and you may be able to answer it.startGame( expandFilename($Project::Game::DefaultScene) );
this loads emptyLevel.t2d. How can i make this load levelABCD.t2d?
Torque 3D Owner Marc Dreamora Schaerer
Gayasoft
you will just get an ugly quality due to the high scaling value and the fact this can't be compensated through filtering
and on the ipad / iphone you would suffer due to the massive amount of pixels that need to be drawn, assuming its blended, not 100% opaque