GraphicsContext

Ask for help about creating mods and scripts for Grimrock 2 or share your tips, scripts, tools and assets with other modders here. Warning: forum contains spoilers!
Post Reply
vieuxchat
Posts: 48
Joined: Wed Mar 02, 2016 3:14 pm

GraphicsContext

Post by vieuxchat »

It doesn't seem to be a component nor a global value I could access to dynamically draw text on the screen.
How do I use it ? In an object definition ?
minmay
Posts: 2790
Joined: Mon Sep 23, 2013 2:24 am

Re: GraphicsContext

Post by minmay »

You receive a GraphicsContext object in the various PartyComponent.onDrawX hooks.
Grimrock 1 dungeon
Grimrock 2 resources
I no longer answer scripting questions in private messages. Please ask in a forum topic or this Discord server.
Post Reply