Question about the Debug Console

  • #10, by afrlmeSunday, 03. June 2018, 01:18 6 years ago
    I work directly with webp in the editor because it gives me a better idea of how the game will run from the get-go. I keep the png in case I need to edit them, but I don't mind having to delete & reconvert the edited png to webp again as I just drag them into XnConvert & press the convert button & it's done in less than a minute (lossless webp) & it automatically names the files with the same name as png & puts them in the same location.

    WebP isn't just hdd usage optimization, the smaller file sizes = faster loading times for images & animations, which means that lower spec pc players can play your game much smoother.

    & yeah, the webp export option as well as the scaling export options aren't really recommended. Best to convert yourself - as for scaling... :shrug:

    Imperator

    7278 Posts


  • #11, by riffmasterSunday, 03. June 2018, 12:05 6 years ago
    Thanks, ARFLme.

    I wonder if it is possible to detect the VRAM available on the current system and switching between different outfits based on this, using LUA? E.g. at the start of the game.

    This way one could implement something like automatic quality settings, if time and budget allows smile

    Newbie

    26 Posts

  • #12, by afrlmeSunday, 03. June 2018, 12:33 6 years ago
    Not possible with Lua to my knowledge. You could build a custom launcher out of another programming language maybe?

    You could manually implement a quality option in your options menu & use if queries & conditions/values to determine what outfits to use, which environment animations to play & so on.

    Imperator

    7278 Posts

  • #13, by riffmasterSunday, 03. June 2018, 12:55 6 years ago
    Maybe this would be a nice little function Simon could implement some day, something like getVRAMsize() or so smile

    It might become handy for some interesting stuff and for some of the other developers.

    But as it stands now, as long as I don't have a development team, the work to do already is more than enough, so I sadly won't have time for such nice-to-have gimmics anyway smile

    Newbie

    26 Posts

  • #14, by afrlmeSunday, 03. June 2018, 13:16 6 years ago
    Aye, same for most of us. Just use the tool thing on the developer console to analyze your game with & then you can make decisions based on that. By the way it's possible to have the stats bar visible at all times without having to have the developer console open. Just enable the option for it in the overview section of the developer console & then you can close the developer close & it should remain displayed for the rest of the play session.

    Only thing I know for sure is that 2D games can require a lot more system resources than 3D games which is why you can't have 100's of frames per animation like 3D games.

    Imperator

    7278 Posts

  • #15, by riffmasterSunday, 03. June 2018, 13:27 6 years ago
    Yes, that makes sense, as you load the textures only once per object in a 3D game, doing the rest with projection.

    The hint with the stats bar is great, thanks alot smile

    Newbie

    26 Posts