Search found 316 matches

  • 1
  • 2
  • 3
  • 4
  • 5
  • 32
Search found 316 matches Page 1 of 32
by marauder2k9
Mon Nov 18, 2019 2:18 pm
Forum: Beginner
Topic: Fire raycast when the player is near the object
Replies: 2
Views: 142
you could fire a raycast where the player is pointing the crosshair, or create a small trigger that displays the info on screen near the object it depends on how hidden or obvious you want the object to be
by marauder2k9
Wed Nov 13, 2019 12:39 pm
Forum: General
Topic: .EXE cuting an external application
Replies: 2
Views: 242
i don't think it would be something you would want to do but it should be possible. as for how it would require an external script command linked in to execute it
by marauder2k9
Mon Nov 11, 2019 3:06 am
Forum: C++
Topic: Black Screen with Gamma Correction
Replies: 15
Views: 3308
encountered this error today! doesnt even need any changed in settings to gamma correction to bring this error up. Something very weird is happening. I recorded my screen with shadowplay and started up torque2d the whole screen goes black all i can see is the mouse and that is it. Pressing ctrl alt ...
by marauder2k9
Tue Oct 15, 2019 9:21 pm
Forum: C++
Topic: Black Screen with Gamma Correction
Replies: 15
Views: 3308
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: 1447
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: 15
Views: 3308
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: 15
Views: 3308
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: 963
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: 15
Views: 3308
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: 1447
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...
  • 1
  • 2
  • 3
  • 4
  • 5
  • 32
Search found 316 matches Page 1 of 32