Status
Not open for further replies.

ArtDept

Warper
Member
Joined
May 25, 2022
Messages
3
Reaction score
3
First Language
Tagalog
Primarily Uses
RMMZ
I have the following PNG (button_arrow):

uc


Upon start of the game, it gets loaded into $dataGui._bitmaps.button_arrow.main[0]-
uc


As a Bitmap, it has canvas and image properties-
uc


Per this StackOverflow post, it seems to be possible to flip an image horizontally using JavaScript-
uc


I am trying to apply their logic to the following function, that processes button_arrow.png before it is loaded into the $datGui._bitmaps object-
uc


The function attempts to create four new bitmaps from button_arrow.png-
uc
uc
uc
uc


But I am unsuccessful thus far.

Doth anybody have any insights, suggestions, or corrections for how I might achieve my goal?

TIA :)


UPDATE (2022.05.25 23:52)

Got it working after coming across this piece of advice from another thread and adapting it-
uc


Thanks :)
 
Last edited:

caethyril

^_^
Global Mod
Joined
Feb 21, 2018
Messages
3,675
Reaction score
2,760
First Language
EN
Primarily Uses
RMMZ

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

 
Status
Not open for further replies.

Latest Threads

Latest Profile Posts

I made a menu option that pulls a (accurate) version of the world map from my game instead of having a "traditional" world map. How did I do?

1656552400614.png

..Every time after I edit it and repost it I find a new tiny error I made. :kaodes:
1656550526125.png
Town Design is the best part of an RPG. Well, that and dungeon design
I think that this forum's member posts should include their Phone Number and Social Insurance Number.
My PC just broke with everything I've been working on, on it. I can't afford to replace it. Life is just wonderful....
More musics! Praise be to the winter towns!

Forum statistics

Threads
123,178
Messages
1,154,650
Members
161,546
Latest member
Desteyo34
Top