Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(3 edits)

I'm loving it and amazing work.

Non-urgently, could the windows version not have a console window come up? I'd like less windows to manage on my PC so I can switch between windows faster (the Alt+Tab menu lists all windows, including the console window).

You may need an #ifdef around your entrypoint function, but maybe this is only an MSVC thing: https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-winmain

MSVC https://learn.microsoft.com/en-us/cpp/build/reference/subsystem-specify-subsyste...

Clang and GCC https://stackoverflow.com/questions/35057242/clangs-equivalent-to-gccs-mwindows

(+1)

Ah actually I think I might go and use some extra calls to show/hide console window on demand. Because this way it’s more controllable and sometimes you can enable system terminal for seeing extra outputs. I used to do that on some of my older programs but yeah I think it’s best to make it into Our Paint as well. Thank you very much for the suggestion :D

HWND hWnd = GetConsoleWindow();
ShowWindow( hWnd, SW_HIDE );