Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Aleworks Input Mouse Sprite Add-On
#1
ALEWORKS INPUT MOUSE SPRITE ADD-ON
<For use with Aleworks Input Mouse 2.03>
Version: 1.2


Introduction

This script is an add-on to vgvgf's AleWorks Input Module (or AIM for short).

While the AIM system was relatively complete and let one use their system's mouse, entering full-screen mode with RPGMaker XP would eliminate the mouse sprite. Essentially, you would only have the default system sprite while in a windowed mode.

This system does not allow you to use the system mouse while in full-screen mode. Rather, it erases/hides the system mouse sprite upon execution, and replaces the sprite with one within a new Graphics\Mouse folder which can be cached. Said sprite will be visible in both full-screen and windowed modes.


Features
  • Hides the old mouse cursor
  • Creates a new Sprite_Mouse class which generates a new mouse cursor
  • The new mouse will be visible in both full-screen and windowed modes
  • Tracks the mouse within the Input module for simple menu use


Screenshots

A screenshot? It would show just a mouse cursor IN the game window.


Script

"script"


Instructions

Generally, place this below vgvgf's Aleworks collection of scripts and above Main for this to work.

REQUIRES: You include a .png file within a new Graphics\Mouse folder, and have its name match that within the script's configuration.


FAQ

This is stripped down from other works that I have, and quite similar to the MKXP mouse script from last week. However, it uses Win32API calls that MKXP cannot support.


Compatibility

For use specifically with the Aleworks Input package, and not the AWorks system which requires an accompanying .dll.


Credits and Thanks

To Aleworks/vgvgf who made the initial system, but had not introduced a separate mouse sprite generating system.

Terms and Conditions

Free for use.... PERIOD!
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)
[Image: QrnbKlx.jpg]
[Image: sGz1ErF.png] [Image: liM4ikn.png] [Image: fdzKgZA.png] [Image: sj0H81z.png]
[Image: QL7oRau.png] [Image: uSqjY09.png] [Image: GAA3qE9.png] [Image: 2Hmnx1G.png] [Image: BwtNdKw.png%5B]
Above are clickable links

Reply }
#2
A minor visual
BUMP
To version 1.1

A minor issue with the mouse cursor that existed with the script was that the cursor would be stuck on an edge of the screen when you moved your mouse away from the gaming window. It was essentially... UGLY.  And I thought, why not just hide the mouse sprite?

The new update adds a visibility routine that hides the mouse sprite when the mouse is off-screen, and returns its visible state when the mouse returns to the gaming window.
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)
[Image: QrnbKlx.jpg]
[Image: sGz1ErF.png] [Image: liM4ikn.png] [Image: fdzKgZA.png] [Image: sj0H81z.png]
[Image: QL7oRau.png] [Image: uSqjY09.png] [Image: GAA3qE9.png] [Image: 2Hmnx1G.png] [Image: BwtNdKw.png%5B]
Above are clickable links

Reply }
#3
A minor graphic application
BUMP
To version 1.2

A simple, error-preventing change was made to the system, one which also allows a bit more freedom to anyone adapting this script for their use. This change is that the cache system's method that loads the mouse cursor has been updated to accommodate two factors.

First, the mouse cache method now recognizes an optional hue parameter. Like the Pictures, Characters, and Battlers cache values, the mouse too can be loaded into memory with a hue shift from 0-360. This could be useful for those who adapt the script to change the mouse's appearance according to the end-user's whims. But it is solely optional, and not including a hue value within the command to load the cursor will result in the graphic loaded pure.

And second, the mouse cache method will not crash the project if the end-user neglects to supply the actual cursor graphic for the mouse, or supplies incorrect filenames if the mouse cursor graphic is meant to change. If an error in loading the cursor graphic occurs, the system will instead generate and store away a 32x32px blank image in its place.
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)
[Image: QrnbKlx.jpg]
[Image: sGz1ErF.png] [Image: liM4ikn.png] [Image: fdzKgZA.png] [Image: sj0H81z.png]
[Image: QL7oRau.png] [Image: uSqjY09.png] [Image: GAA3qE9.png] [Image: 2Hmnx1G.png] [Image: BwtNdKw.png%5B]
Above are clickable links

Reply }


Possibly Related Threads…
Thread Author Replies Views Last Post
   MKXP Compatible Mouse Add-on DerVVulfman 1 711 08-30-2023, 08:54 PM
Last Post: kyonides
   Keyboard Name Input - Updated DerVVulfman 0 1,344 01-05-2022, 04:25 AM
Last Post: DerVVulfman
   DoubleX RMMV Action Input Timer DoubleX 0 2,382 09-06-2020, 06:32 AM
Last Post: DoubleX
   DoubleX RMMV Reverse Input DoubleX 1 4,484 01-30-2016, 12:25 PM
Last Post: DoubleX
   Mousie: The Mouse System DerVVulfman 67 100,895 07-19-2015, 11:18 PM
Last Post: yamina-chan
   Correct Character Sprite Display MechanicalPen 6 15,716 02-10-2014, 11:20 PM
Last Post: Taylor
   Battler Sprite Addons Kain Nobel 0 4,886 09-17-2009, 12:42 PM
Last Post: Kain Nobel
   Simple Mouse System woratana 0 5,625 01-23-2009, 06:47 AM
Last Post: woratana
   Sprite Mover woratana 0 4,286 01-22-2009, 01:19 PM
Last Post: woratana
   Sprite Sun syvkal 0 5,020 03-08-2008, 04:36 AM
Last Post: syvkal



Users browsing this thread: