Skip to main content

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

DragonRuby Game Toolkit

An intuitive 2D game engine. Fast, cross-platform, tiny, hot loaded. · By DragonRuby

Windows 10 Sample bugs

A topic by Yoren created Apr 20, 2019 Views: 530 Replies: 3
Viewing posts 1 to 3

Bug 1 - Resizing the window breaks text rendering, all labels stop rendering. Editing the code so it reloads does not make the text appear again.

I wondered if packaged games have the same problem which led met to bug 2:

After adding metadata and an icon, I have packaged the tech demo using `./dragonruby-publish --only-package samples/tech_demo`.

Starting the .exe gives an error "Couldn't create game context:" with empty space after the `:`

Bug 3 - No sound plays in the golf_with_musical_notes sample.

Developer

> Starting the .exe gives an error "Couldn't create game context:" with empty space after the `:`


This is usually the world's worst error message for "couldn't load font.ttf" ... we'll package that better. For now, just copy it into the tech_demo directory. You'll probably need dragonruby.png copied in there too (which, for 16 kilobytes, we should probably also unconditionally package just in case).


I'll check the bugs and report back!


--ryan.

That helps the packaged version run, thanks. The packaged build exhibits the same text disappearing bug when resizing.

Developer(+1)

The build we just pushed fixes all of this (including making sure font.ttf is packaged so you don't have to copy it into your game).