Skip to main content

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

Are you using the itch version or compiling it yourself, in what GameMaker version (IDE/runtime), and what’s in the Output?

I am using the itch version, for which gamemaker version I've tried an old LTS build, the newest lts build, newest beta build, latest 2022 build, 2024.8.1.171 and some other builds of gamemaker. For runtimes I've just used the defaults for those, as well as 2024.8.1.218. For output I'm not quite sure what you mean, It just returns undefined no matter what.

“Output” is the panel on the bottom of the GameMaker window where build log and errors show up.

So um quick update, when I woke up today I tried running the code again it just magically worked kinda? Tried it across different versions and it seems mostly fine. on IDE 2024.8.1.171 with runtime 2024.8.218 I get the error "Win32 function failed: HRESULT: 0x887a0001   Call: at line 386 in file \Graphics_DisplayM.cpp". Hope this helps.

A little hard to tell, does the included demo project work for you on that version?

I’ve tested it on IDE v2024.8.1.171 Runtime v2024.8.1.218 and it seems to work fine in both VM and YYC

I don't know why but it started working fine for me too, so can't help much sorry.

That’s not the best kind of mystery, but please let me know if you find a way to consistently reproduce this on a small project.

The message suggests that something fails in one of GM graphics functions, but creating a window doesn’t call any of those - only drawing to the window does.