Adding SV Actor to Window (MV)

Status
Not open for further replies.

sdohda

Villager
Member
Joined
Jul 17, 2016
Messages
17
Reaction score
3
First Language
English
Primarily Uses
Hey guys,

So I've been studying JS for the past month and started creating my own menu. So far I've been able to read through MV's .js files, and other developers, and have a good enough understanding to manipulate the menus without a problem. I understand this means I don't know anything, but it seems like a good way to get familiar with the functions. I'm trying to figure out how to get a SV Actor to display in a custom window on my menu.

I've disabled all plugins for testing. I've been trying to use ImageManager.loadSvActor within the refresh function of my custom window, with no such luck. I'm proficient in a few coding languages, but I can't figure this out.

Any information is helpful, I'm not looking for something to write the whole thing for me. I appreciate it!
 
Last edited:

Kino

EIS Game Dev
Veteran
Joined
Nov 27, 2015
Messages
556
Reaction score
794
First Language
English
Primarily Uses
RMMV
One thing I'd say is load the SV actor earlier; you don't want to load the actor in refresh since it's calked every frame.

Also, see what the output of loadSVActor is (might be a bitmap?) If that's the case there are two ways to display it using sprites or using the blt method to draw the SV actor to the window.
 

sdohda

Villager
Member
Joined
Jul 17, 2016
Messages
17
Reaction score
3
First Language
English
Primarily Uses
One thing I'd say is load the SV actor earlier; you don't want to load the actor in refresh since it's calked every frame.

Also, see what the output of loadSVActor is (might be a bitmap?) If that's the case there are two ways to display it using sprites or using the blt method to draw the SV actor to the window.
I appreciate the reply! Yes, I tried to set a var for ImageManager.loadSvActor and then call it in the blt. But yes that is definitely an idea, I will try that. Thank you!

Somethinh like this?
Yes, I believe so, Victor. I'm ultimately trying to make a single user interface, where the status menu wouldn't be a selectable command, but would rather be displayed next to the Window_MenuStatus. So I'm trying to draw the SV actor in that new window, and keep the original selectable portrait. I think I may be able to do that with your plugin, thank you.
 

sdohda

Villager
Member
Joined
Jul 17, 2016
Messages
17
Reaction score
3
First Language
English
Primarily Uses
Thanks again guys, I was able to get it working.
 

Eibon

Lord of everything and nothing, low level human
Member
Joined
May 4, 2020
Messages
14
Reaction score
7
First Language
Español/English
Primarily Uses
RMMV
Somethinh like this?

Everyone seems to understand how to use that plugin, but i think i migth be really an idiot, perphaps is ´cause i am mainly spanish, but i can´t understand the basic use of the plugin, i want to change the sprites for the basics windows mentioned in the plugin, but i simply can´t! i see you rigth now as a programmer i want to be one day, but please help me victor!
 

MushroomCake28

KAMO Studio
Global Mod
Joined
Nov 18, 2015
Messages
3,729
Reaction score
4,683
First Language
English
Primarily Uses
RMMZ

@Eibon , please refrain from necro-posting in a thread. Necro-posting is posting in a thread that has not had posting activity in over 30 days. You can review our forum rules here. Thank you.


If you have any questions, please start a new thread. Thank you.

I'm closing this thread.

 
Status
Not open for further replies.

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

Latest Threads

Latest Posts

Latest Profile Posts

I should realize that error was produced by a outdated version of MZ so that's why it pop up like that
Ami
i can't wait to drink some ice after struggling with my illness in 9 days. 9 days is really bad for me,i can't focus with my shop and even can't do something with my project
How many hours have you got in mz so far?

A bit of a "sparkle" update to the lower portion of the world map. :LZSexcite:
attack on titan final season is airing tomorrow, I'm excited and scared at the same time!

Forum statistics

Threads
105,882
Messages
1,017,231
Members
137,607
Latest member
Maddo
Top