Kabo

Warper
Member
Joined
Jan 19, 2021
Messages
4
Reaction score
2
First Language
English
Primarily Uses
RMMV
Hello,

I'm new to VNM and was trying to learn more about scripting by clicking the help manual. Is it outdated for some codes? I tried to follow the "Example Custom Title" screen tutorial.

This was the example provided:
JavaScript:
ui.UIManager.layouts.titleLayout = {
  "type": "ui.FreeLayout",
  "frame": [0, 0, Graphics.width, Graphics.height],
  "controls": [
      {
          "type": "ui.Image",
          "image": "bg-generic",
          "frame": [0, 0, "100%", "100%"]
      }
  ]
}

It's supposed to show the generic bg in the folders upon loading the test game. However all I get is still a black screen. I just copy pasted that code into the appropriate folder as instructed. I did noticed that creating a new project, the code looks a lot different for the image object key.

I'm not really good at programming, so any answers is appreciated if the manual is a bit outdated or not. If so, where can I find the latest one.
 

TijerinArt

Villager
Member
Joined
Feb 17, 2021
Messages
29
Reaction score
4
First Language
Español
Primarily Uses
VNM
Hi, from what I see the code looks good. have you tried restarting the computer? when you install new fonts or make some big changes sometimes you have to restart the whole computer (and sometimes the change doesn't even appear after that).
Anyway, I almost never touch the code and customize the game completely, if you don't do much coding you don't have to worry because you can do everything without coding.
 

Kabo

Warper
Member
Joined
Jan 19, 2021
Messages
4
Reaction score
2
First Language
English
Primarily Uses
RMMV
That's good to know. I was following the guide's example to get a better sense of the software and how to better customize it.
 

Latest Threads

Latest Profile Posts

Working on a characteeer! (Why is it so hard to color hair?) ;-;
Silly-Sketches.png
Just finished eventing a couple simple puzzles in RMMV, for my very first game "Sample Quest." Just messing around, throwing things together, and calling it a story XD On a non-RM note, got my hair cut today!
I feel the need to inform everyone on the forums NOT to go with Web Hosting Canada for your hosting needs. It is by far the worst customer service and just overall experience I have ever had with hosting and I am Canadian...
BCj
Got another eye surgery monday. Hope I'll recover quick and all's well. A bit tired of surgeries. On a happy note, working on the next chapter of Escalia so hope I can continue soon :)
Celebrating the arrival of autumn in the Northern Hemisphere :)

Forum statistics

Threads
115,368
Messages
1,089,316
Members
150,057
Latest member
kotfwing
Top