Need some help understanding drawing in windows

Evgenij

Veteran
Veteran
Joined
Aug 28, 2013
Messages
349
Reaction score
100
First Language
German
Primarily Uses
N/A
Hello,

I made a basic window which I have added to Scene_Map. This window draws a face of an actor and some other information about the actor.

Now when I start a new game the information of the actor is drawn without a problem, but the face is not drawn at all. When I go to the menu and back to the map, everything is drawn fine. 

Could it be some asynchrous resource loading?

If yes, what would be some approaches to solve my problem? Is there a way to wait till everything is loaded before I would draw it?

Another question about drawing:

In RMVXAce it was not so good if you would draw text etc. every frame. Is this the same case for RMMV? How big is the performance impact?

mfg.

*edit*

Ok, I got the first part. Did not know that you have to load the images before you can draw them.

*edit2*

I load the Faceset I want to draw before I draw it with the ImageManager, but the problem is still the same. The face is not drawn. Only if I got to main menu and back to map. 
 
Last edited by a moderator:

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Free RPG Maker Ready Charging Up Animation

Enjoy -No Credit Needed But Appreciated -
Download it at https://lvgames.itch.io/free-charging-up-pixel-animation-fx-rpg-maker-ready
:/ .... so, thought I’d go to the park to sit in the cool breeze and get out of the house a little. Nope, guess that’s quarantined too. Ok...
How do you do when you want to work on projects but the game companies make so many games available for free because of the quarantine?
Kes
I have just stepped down from being a Mod, so please don't send me any more pm's with Mod questions. Thanks
Made a brief video showcasing early game play... Got a copyright claim by BIG UP! (https://big-up.style/) for using music I bought from here (Future Steam Punk Pack). Now I wonder if I should strip any purchased music from here out of my game. :LZSskeptic:

Forum statistics

Threads
95,485
Messages
929,496
Members
125,725
Latest member
Elender
Top