I haven't had a ton of time to make stuff in RPGMaker lately, but I still wanted to get better at code for when school is done and I have a little more time, so I've been taking these 5 minute JS coding lessons off an app recently. Anyhow, today I ran into this cool function that I hadn't seen before, and I though most other people probably wouldn't have seen it either, but it could be really cool.
The function is
What it does is prints the string to your debug console (which you can see in-game by pressing F12 or Ctrl+Shift+I or clicking "Inspect" off the right-click button, where it pops open another window for you to see your console).
There's probably a whole host of other methods you could use with config to do interesting things with, but this is the one the lesson was about, so it's all I've run into
Anyhow, I thought this cool be really cool for a game that involved hacking or that wanted to get really meta or something, with the game giving "secret" instructions or messages to the player as they play through various parts of the game. The game I'm working on doesn't really make use of that, so I thought I'd share here so somebody else could use it.
I did a quick sort of mockup of what a game that uses this could maybe look like.
Of course, I have found that the console won't show the results of console.log() unless the F12 screen was open before the script was run, so that could cause some potential challenges.
I just thought this was potentially a cool idea. Thank you for coming to my BREDtalk.
The function is
console.log("your string goes here")What it does is prints the string to your debug console (which you can see in-game by pressing F12 or Ctrl+Shift+I or clicking "Inspect" off the right-click button, where it pops open another window for you to see your console).
There's probably a whole host of other methods you could use with config to do interesting things with, but this is the one the lesson was about, so it's all I've run into
Anyhow, I thought this cool be really cool for a game that involved hacking or that wanted to get really meta or something, with the game giving "secret" instructions or messages to the player as they play through various parts of the game. The game I'm working on doesn't really make use of that, so I thought I'd share here so somebody else could use it.
I did a quick sort of mockup of what a game that uses this could maybe look like.
Of course, I have found that the console won't show the results of console.log() unless the F12 screen was open before the script was run, so that could cause some potential challenges.
I just thought this was potentially a cool idea. Thank you for coming to my BREDtalk.