Jump to content


  • Posts

  • Joined

  • Last visited

About greenfire27

  • Birthday 03/19/1984

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

greenfire27's Achievements

  1. Unfortunately I work in 2D, but I'd be excited to see what you guys can cook up in a few days. I think a theme with asset pool would be fun. It would help focus development time the game mechanics.
  2. Yes, the problem is with Windows 10, 1903, but it sounds like it works for Android.
  3. I think the value in script is between 0 and 1 (not including 0) and in the engine that maps to -1 to 1. So should we be doing something platform specific for gamma correction on Android?
  4. And does it cause any problems in Android or iOS? In the latest version of windows it brings the whole machine to it's knees in a hell-storm of utter darkness!
  5. It happens automatically when the engine is starting up. Go to /platform/platformVideo.cc line 197 and 198. If you get latest in the master branch you'll need to uncomment them. The top line is an if-statement to which checks for gamma correction with getDeviceGammaRamp(). If it returns true (i.e. the device has hardware gamma correction) then it falls through to line 198 where it sets the gamma with setDeviceGammaRamp(). Just put a breakpoint there and see if it falls through the if-statement. My guess is that it almost never falls through and it is always broken when it does, but we'd like to know for sure.
  6. Thanks for the reply! I already commented out the gamma code from the Master branch, but it's easy to revive if you want to test it. Remember, the bug won't happen if you have two monitors (which most devs seem to have). I think in most cases the gamma correction code wasn't firing anymore anyway.
  7. It seems when there are two monitors set to extend the view then getDeviceGammaRamp returns false which causes the setDeviceGammaRamp to never be called. Is this Gamma ramp code just so old it doesn't work? Would I be better off removing it entirely?
  8. Hi, This is something that is popping up in Torque 2D but it might be the same in 3D as well. It seems that in windows 10 version 1903, if there's not two monitors extending the view, then setting the gamma with setDeviceGammaRamp causes the screen to go entirely black with no way of fixing it. If anyone can shed some light on this problem I would greatly appreciate it. Also, you should check to see if it is happening in T3D.
  9. You should probably move that question to it's own thread. Maybe someone with some Android knowledge will spot it and help you out. Wish I could help, but I've done painfully little with Android.
  10. Like microtransactions and such? Interesting. We should probably have code that can easily be added to the engine for these sorts of things.
  11. That's cool! I hope it does well. I don't know what admob is so I'm probably not going to be able to help you.
  12. It would be all the assets in the default asset manager in the engine (so readily available). The assets for the editors will be loaded in a separate asset manager so they will not appear in the editor. This is actually happening already in the dev branch. Also, the idea of loading a project was one that I struggled with for a long time. I finally settled on having the editors as more of an add-on for the game (which would not be added for the release of course) similar to the way the console is. Or another way of thinking of it is that we are just taking the console and extending it. It's a little bit of a paradigm shift from the old TGB but it saves a lot of effort that we don't have the man-power for. So the game loads as normal and somewhere in main it loads the editors which do everything they can to stay out of the global namespace and base asset manager. Of course, the editor is loaded as modules and if the game had modules with the same name that would be a problem. With that exception it should work great. I currently treat the Sandbox like the "game". Also, I've set up a library fold that I want to have reusable modules in. I hope to create a "Module Manager" that can add modules from the library into your game folder. There's already code to copy modules so this actually might be easier than it sounds. In the future I hope to have a lot default functionality built as modules so that people can quickly prototype ideas. For example, a dialog box module for an RPG type game. I image after copying it the user will need to make changes but it will give them a quick starting point. For now the library just has the AppCore module in there.
  13. For the Asset Manager I imagine a list of assets on one side and a list of controls on the other with the selected asset displayed in the center. So if you pick a particle effect, it's displayed in the center with the various settings for the particle effect on to the right of it.
  14. I wanted to have an "Asset Manager" that handles particles and animations along with static images. The scene editor is probably separate but I could see there being button to jump to an asset in the Asset Manager. I changed the event names from "Mouse" events to "Touch" events on the GUI controls which broke everything. I've been slowly fixing them and I haven't gotten to some to the controls used by the sandbox yet. There's other breaking changes still in the works as well, but that's the main one.
  15. Sounds like you were busy over the weekend :) I have started work on the editors, but I was quickly side-swiped by how run-down the GUI has become. So I started refurbishing the GUI and writing documentation as I went. You can find it in the wiki and try it out in the dev branch. I did manage to put in some scaffolding for the editors. They open with the console - separated by tabs. The editors will load everything they do as a module into a separate module manager (to keep the actual game stuff away from the editors stuff). I did the same thing with the assets. The editor assets are loaded by a different asset manager instance. This should make it much easier to build an asset editor. So there are lots of code changes to the GUI and many of the controls are still broken or I removed them (there were 9 buttons). You can read about my changes so far here: https://github.com/GarageGames/Torque2D/wiki/GUI-Guide I also did several Patreon post about my changes that you could read. https://www.patreon.com/Torque2D I took a break from the editors to do an update to my game, but the update is almost done and I'll return to the editors soon.
  • Create New...