- Joined
- Jun 21, 2015
- Messages
- 1,441
- Reaction score
- 680
- First Language
- Polish
- Primarily Uses
- Other
Hello everybody!
I want to draw a number, that will have to be updated each frame from time to time.
Now I'm wondering on how I should approach this.
While I might know the possible solution, I wanted to ask for advice, to be sure, that things will be done correctly.
What I want is to basically make a sprite, that will be showing a number like:
24%
67%
etc.
Now that value may change each frame, for example dropping from 100% to 0%.
Now I could make that using window, but redrawing that all each frame would be destructive.
I could also make a bitmap and draw the text directly in here, though I found that note in Ace's help file regarding the draw_text method:
So that leaves me the 'blt' method.
To be honest I haven't used that much and though I believe I could find as way to make it work properly ~ I think there's most likely a pretty easy way to achieve that isn't it? So before I'll overcomplicate things, may I ask for some guide/tips/suggestions?
or I could make multiple sprites for each number and use src_rect ~ but I believe that would not be right, right?
Thank you! (=
I want to draw a number, that will have to be updated each frame from time to time.
Now I'm wondering on how I should approach this.
While I might know the possible solution, I wanted to ask for advice, to be sure, that things will be done correctly.
What I want is to basically make a sprite, that will be showing a number like:
24%
67%
etc.
Now that value may change each frame, for example dropping from 100% to 0%.
Now I could make that using window, but redrawing that all each frame would be destructive.
I could also make a bitmap and draw the text directly in here, though I found that note in Ace's help file regarding the draw_text method:
So I guess I should find something else then, right?RPG Maker VX Ace the Awesome Help File of Wisdom said:As this process is time-consuming, redrawing the text with every frame is not recommended.
So that leaves me the 'blt' method.
To be honest I haven't used that much and though I believe I could find as way to make it work properly ~ I think there's most likely a pretty easy way to achieve that isn't it? So before I'll overcomplicate things, may I ask for some guide/tips/suggestions?
or I could make multiple sprites for each number and use src_rect ~ but I believe that would not be right, right?
Thank you! (=
