Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
44,200
Reaction score
15,547
First Language
English
Primarily Uses
RMMV
Line 98 says this:

Code:
CURSOR_ICON = 147
That's telling it to use the icon with index 147 for the default cursor. If you want a different icon, just change it to the index of the icon you want to use instead. You can find the icon index by going into any of the tabs where items contain an icon (like equipment, skills, items) and double-click on one of the icons. Choose the icon you want to use, then look at the bottom of the window, which shows the index. Make sure you cancel out of the window because you don't actually want to commit a change to the database.
 
Joined
Dec 27, 2012
Messages
145
Reaction score
7
First Language
German, English
Primarily Uses
Other
Hey there..
i stuck in a problem..

How can i change the cursor graphic during runtime, without hovering simething..etc

I just want to use mouse position and graphic change.. the other functions are not relevant for me.. (i dunno why there´s no mouse system just with position and cursor basics.. without all this menü things..)
 

Jet

Flying in a sky near you
Veteran
Joined
Mar 19, 2012
Messages
172
Reaction score
104
First Language
English
Primarily Uses
This has been updated to include:

  • Cursor clipping, which makes the mouse unable to leave the window
  • Scroll wheel usage, which allows the mouse scroll wheel to scroll through large selectable windows, like items/weapons/armor
  • Persistent Cursor Changing, which lets you change the base look of the cursor in-game, and have it persist on the savefile
 

Jet

Flying in a sky near you
Veteran
Joined
Mar 19, 2012
Messages
172
Reaction score
104
First Language
English
Primarily Uses
Pathfinding has been sped up via reducing new object creation. Screenshots have been updated since the links were all dead also.
 

highvoltage

Veteran
Veteran
Joined
Mar 1, 2014
Messages
72
Reaction score
2
First Language
italian
Primarily Uses
i have a problem: 

i have a common event that's triggered by R button (spacebar)...but with this script doesn't work.

Any help?
 

Jet

Flying in a sky near you
Veteran
Joined
Mar 19, 2012
Messages
172
Reaction score
104
First Language
English
Primarily Uses
If you're talking about the mouse not being able to trigger the event, that makes sense as it's not made to trigger the Spacebar.

If you mean, even when you press the Spacebar it doesn't work, but DOES WORK if the mouse is removed, then I'll need more details, as I can't replicate it on my end.
 

highvoltage

Veteran
Veteran
Joined
Mar 1, 2014
Messages
72
Reaction score
2
First Language
italian
Primarily Uses
i found the problem: the mouse script keep my first switch always off, even if i put it on manually and in the script i set as switch for set it off the number 99
 

MasterRabbit

Warper
Member
Joined
Jun 1, 2015
Messages
1
Reaction score
0
First Language
German
Primarily Uses
Hey, strangely i found a bug, that had been resolved in an earlier built, of the script. (Don't remember when it was resolved exactly. It was a version with 10 customization options)

When pressing F12, i get the Error message:

"Script 'MOUSE' line 422: RGGSError occured. 

disposed sprite"

Line 422 in the script, being:  "self.bitmap = Bitmap.new(24, 24)"

As i said, this error was resolved in a previous version, any ideas how to fix this again?

Well, in the tradition of first posts on a forum: ~ it was a stupid one ~ I switched the order of the scripts and it worked.  Case closed.
 
Last edited by a moderator:

optimum45

Veteran
Veteran
Joined
Mar 31, 2015
Messages
537
Reaction score
65
First Language
English
Primarily Uses
I've encountered a rather interesting bug where, 4 seconds after you start the game, the mouse script puts the player into the "Ship" and starts playing the "Ship" music.

I've found nothing in any of my scripts to explain this, but I'm no expert.

The only scripts in this project are Yanfly's Message System (Stand Alone, without the Yanfly Engine), RBahamut's pre-title event scripts, and a Title Command Box change.  My guess it's a Yanfly problem...but again, I'm no expert.

This issue appeared with your newer version, but not with any of the older ones...

Also, movement with the mouse doesn't work unless you hold CTRL, which in the core gameplay isn't available.  I'm not exactly sure what's going on here.
 
Joined
Sep 12, 2015
Messages
1
Reaction score
0
First Language
English
Primarily Uses
I might be doing something totally obvious (and I hope I am), but is there any way to interrupt or abort mouse-invoked movement/pathfinding on activating triggered event?

I've tinkered with other mousesystems where setting a move route for the player interrupts mouse pathfinding, but that doesn't seem to work for me using this one...

A description of my situation:

I have a narrow pass on my overworld that doesn't obviously look like an event (other than being suspiciously chokepointy I guess); I want the player to be able to try and move through the pass to the other side unobstructed, but when they reach the event point they are taken to a new map for the encounter (via a player-touch transition event).

Assuming I click at some arbitrary point beyond the pass (as if I wasn't aware of the event), once I load onto the transitioned map, the player tries to complete the remainder of its pathfinding from the main map on the new map, resulting in nonsensical "wandering"...

I've tried setting move routes, both to wait, and to execute a real move (1 step left for eg); neither replaces the pathfound route. I've tried to set this up both before and after the transition (eg on both the origin and destination map); doesn't seem to change much...

This seems to be something that would be an issue with all sorts of cutscenes, so I'm sure it must be solved and I've missed it; does anyone know what I'm missing?

(Hopefully this doesn't count as a necropost, the threads been 'active' in the last month)
 

orathan

Villager
Member
Joined
Oct 11, 2013
Messages
27
Reaction score
3
Primarily Uses
Choices in menus can still be clicked even when the mouse cursor is not over the highlighted choice by the menu cursor.  Could you make it possible to have it check if the cursor is within the rectangle of the highlighted choice?

EDIT: 

Pathfinding also gets messed up after loading a saved game.
 
Last edited by a moderator:

Baumschinken

Villager
Member
Joined
Oct 30, 2015
Messages
14
Reaction score
5
First Language
German
When trying to load a saved game for the second time the pathfinding doesn't work properly:/ Is there any way to fix this?

And also when turning on Check_for_moves the character glitches weirdly when clicking on an event.
 
Joined
Aug 6, 2016
Messages
95
Reaction score
5
First Language
English
Primarily Uses
Why do I have to click the event sprite multiple times before the event triggers? The number of clicks required is apparently random...
 

Bigsnax

Villager
Member
Joined
Aug 19, 2016
Messages
5
Reaction score
1
Primarily Uses
Loading a saved game either messes up the pathfinding or completely disables the whole mouse system entirely.
Is there a fix for this?
 

gregbaby

Evil Genius. o_O
Veteran
Joined
Jan 20, 2013
Messages
257
Reaction score
11
First Language
English
Primarily Uses
RMVXA
Hello,

I was wondering if there was any way to use some sort of script call in a conditional branch where if I scroll the mouse wheel up/or down whilst on the game map (not in a menu) so I can add +1/-1 to a variable? I've gone through the script but I'm struggling to see anything that may make this possible.

Any advice would be greatly appreciated!
 

Latest Threads

Latest Posts

Latest Profile Posts

Guys, I made a trailer! And, I also launched the Steam page! If you would like to support the game, please Wishlist it :ahappy: ->
working on some tilesets _ノ乙(、ン、)_

CIBl8xT.png


Oq8WKHX.png
aww man, color hex code #C4C4C4 doesn't work for the tint value in this scene I need something darker, which stinks just because I liked that one it was my favorite plastic explosive three times...#696969 (nice) should work better (WHY IS MY BRAIN LIKE THIS)
Tell it to me straight, doc. If I've been trying to piece together a "shorter" game to learn stuff outside of game jams... am I just running away from my WIP? :v

Forum statistics

Threads
117,283
Messages
1,106,116
Members
153,464
Latest member
viceyr
Top