Search found 313 matches

  • 1
  • 2
  • 3
  • 4
  • 5
  • 32
Search found 313 matches Page 1 of 32
by marauder2k9
Tue Oct 15, 2019 9:21 pm
Forum: C++
Topic: Black Screen with Gamma Correction
Replies: 14
Views: 311
well in the android code it just sets gamma correction to true. Which i think in turn doesnt assign any value to it but just bypasses platformvideo code and allows the device to set the gamma. So that doesnt need changed at all. It might be a problem with windows 10 1903? because it works fine for m...
by marauder2k9
Tue Oct 15, 2019 9:18 pm
Forum: Torque 2D
Topic: Torque 2D Tips/Tricks & Resources
Replies: 2
Views: 106
Android: Testing if device is Tablet or Phone This one is a bit hit or miss. Android has no definite way of telling if a device is a tablet unlike ios (i will upload later how to work for ipads) So we will be determining it by the set standard set by googles site but exposing it to script so u can s...
by marauder2k9
Tue Oct 15, 2019 8:39 pm
Forum: C++
Topic: Black Screen with Gamma Correction
Replies: 14
Views: 311
wait a moment. On windows it gets called no matter what value you set it to. Sorry about that. sgGammaCorrection just gets a value of 0.00000 if u set it to 0.5 in script. In android studio i have placed a breakpoint and no matter what it doesnt get called but i think this is because there is alread...
by marauder2k9
Tue Oct 15, 2019 8:09 pm
Forum: C++
Topic: Black Screen with Gamma Correction
Replies: 14
Views: 311
it doesnt seem to have any problems on android, ill load up my mac in a moment and see if it effects the ios end, i will say one thing though maybe im not setting the value right but changing the value doesnt seem to change the gamma at all :-S Changing the value on windows 10 1803 doesnt seem to ha...
by marauder2k9
Tue Oct 15, 2019 7:11 pm
Forum: Torque 2D
Topic: moderator
Replies: 8
Views: 129
brilliant!! thanks ive made that sticky. hopefully get a few people putting up some interesting tips and tricks for torque2d :D
by marauder2k9
Tue Oct 15, 2019 7:08 pm
Forum: C++
Topic: Black Screen with Gamma Correction
Replies: 14
Views: 311
Breakpoint is only hit when you call videoSetGammaCorrection and apply a value to it that is different from 0.5

this is called in appcore/1/scripts/canvas.cs on line 37 when it is set to the devices default like this
videoSetGammaCorrection($pref::OpenGL::gammaCorrection);
by marauder2k9
Tue Oct 15, 2019 6:38 pm
Forum: Torque 2D
Topic: Torque 2D Tips/Tricks & Resources
Replies: 2
Views: 106
Integrating Google AdMob Android: Requires source changes: In this resource i will be using interstitial ads as an example: mainly because these are the ads i have used and because i simply am not sure how to load banner ads yet lol This is only tested with the latest development branch on github as...
by marauder2k9
Tue Oct 15, 2019 6:02 pm
Forum: C++
Topic: Black Screen with Gamma Correction
Replies: 14
Views: 311
i have emulators i could test it out on, where do i execute the code for the setDeviceGammaRamp? only script bind i can find that includes gamma is this one ConsoleFunctionWithDocs(videoSetGammaCorrection, ConsoleVoid, 2, 2, ( gamma )) { F32 g = mClampF(dAtof(argv[1]),0.0,1.0); F32 d = -(g - 0.5f); ...
by marauder2k9
Tue Oct 15, 2019 2:13 pm
Forum: Torque 2D
Topic: moderator
Replies: 8
Views: 129
i dont have "change to sticky" in that menu i only have lock delete move split merge and copy
by marauder2k9
Tue Oct 15, 2019 1:55 am
Forum: Torque 2D
Topic: Torque 2D Tips/Tricks & Resources
Replies: 2
Views: 106
Topic post for all Torque2D tips/tricks and resources to help other developers along
  • 1
  • 2
  • 3
  • 4
  • 5
  • 32
Search found 313 matches Page 1 of 32