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

So ms store had an idea to nuke the the entire app when the file integrity is slightly broken.
Im on another months long scripting high. I wonder if I can go SSJS3?

Version Fille in english is now complete!
Download the game on itch.io:
Talk about it here: https://forums.rpgmakerweb.com/index.php?threads/120802/

Enjoy and share!
3am me was like.... Hey buddy, what if I told you, where we're going we don't need events? :LZSwink:
5pm me is like.... Was 3am me onto something? No! Must work on actual gameplay! Rabbit hole bad! :kaoback:
I'm thinking of having a scavenger-based way to learn advanced skills in my first game, and use the work I did for figuring out a skill grid/maze instead for an optional dungeon in the game.

Forum statistics

Threads
98,037
Messages
948,720
Members
129,291
Latest member
arkhanis
Top