Application startup questions

About Monkey 2 Forums Monkey 2 Programming Help Application startup questions

This topic contains 0 replies, has 1 voice, and was last updated by  wiebow 2 years, 11 months ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #985

    wiebow
    Participant

    I want to set/load the font I imported in the New() method of my Window Class.  I cannot get this to work, because I have no access to the private _canvas field.

    This is my work around at the moment in the OnRender() method:

    Of course, this sucks. I want to set up before hand, and I do not want to load a font file on each render. Has any of you solved this?

    Oh and another thing: I see people using this method to run update code as well. How to separate updates from render code??  Can this be done or am I over complicating things??

    Thanks!

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.