Simple Mouse System
Version 1.5
by Woratana
Release Date: 14/04/2008
Introduction
I scripted SMS because I'm working on other script that will be good if it has mouse function. And I'd like to share this to others after I got permission from Dervvulfman (this script require his script)
I don't have any knowledge about win32api, so I went to find XP mouse script and tried if they work on VX.
Finally, I found Dervvulfman's Mouse Input Module. It works great in VX without any edit.
This script required Mouse Input Module and Near Fantastica's Path Finding
It will allow player to click on menu, choose choice, move on map and talk to NPC by mouse.
It's also included feature to use image for cursor.
Features
- Support to use mouse in many scenes / windows
e.g. Battle Scene, Shop, Name Input Screen
- Click on map to move player using Path Finding
- Click on NPC when player is close to that NPC to talk.
Demo
Download Simple Mouse System Demo (http://www.rpgrevolution.com/users/woratana/script/Wora_Script/mouse_system/)
Download vx_mouse.rar for demo.
or you can get the script in text file from there.
Thanks RRR (http://"http://www.rpgrevolution.com/") for hosting this. ^_^
Script
I think it's easier to download demo,
since I've edited some lines in Near Fantastica's Path Finding script. ;)
Screenshot
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi32.tinypic.com%2F2dwc1v5.jpg&hash=0ad6e4a3bbb2bf2fd0af690aee7d10dc81c679ba)
Instruction
This script is Plug 'N Play script,
so just put Dervvulfman's Mouse Input Module, Near Fantastica's Path Finding,
and Simple Mouse System in your game, and enjoy! :)
Plan for next version
- Cursor change when put on other event
- Better event trigger check by click mouse
Compatibility
No report for compatibility issue so far.. ;)
Author's Notes
Free for use in both commercial and non-commercial if credit included.
Credit
DerVVulfman
Near Fantastica
Freak Boy
lambchop
Shun
Cybersam
Astro_mech
Mr.Mo
Fuso
Modern Algebra
Zeriab
Patrick Lester
for the scripts that help me finished this,
Mouse Input Module,
Super Simple Mouse System,
Path Finding.
Ah, I think the link is a little broken :( SMF doesn't allow quotation marks around the link when using URL tags. Or double http://
It should work now. :)
Good good. I've been doing a little testing with it. I'll PM the results.
Thanks! MA ;)
[NEXT VERSION :: NOTE]
- Using Modern Algebra's Path finding that is faster, and has better algorithm.
- Added setup part, you can add the scene that you don't want to use mouse, configure many things in script.
- You can now click on event, NPC, and player will automatically walk to that event and interact.
- You can put some tags in event's comment, e.g. '[mauto]' to run this event automatically after you click on it.
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi26.tinypic.com%2F1ils3k.jpg&hash=9a000c54a26ff376d2b722b3bf10853514d654f5)
Nice, those are all some very nice features. I particularly like the fact that you can now interact with an event automatically just by clicking on them, as opposed to having to walk up to them directly. Also, is my algorithm faster? I didn't notice Near's generating any lag, but my computer is (very slightly) faster than average.
Anyway, everything looks very cool. And I'm happy that you decided to use my Path Finding script. Makes me feel all warm and fuzzy inside. So thanks :)
This script has great potential as I see it.
Awesome...!
with a few more added features it could be on its way to the big scripts
think about the little things that this script could make possible
and add them in
Sounds nice, but the link is broken :police:
Why not just attach it? Attachments don't break up at least...
Very, very nice. Do you think you could make a version where the mouse only activates when you use a menu, or have to select choices? I don't really like the pathing system.
The next version, you can set what scene you don't want to use it. :)
So just put Scene_Map in there, and mouse will not show/usable in map.
I don't like the cursor. How do I change it
The link just takes me to the RRR homepage, where do I go to download the demo?
Hi, sorry that I leaved for so long.
I found this demo leaved on my desktop. I think it is the newest version that you can click on NPC to interact~^^
http://www.mediafire.com/?l4nzlj5nokj
Enjoy,
Wora
nice script, love it, only problem is it lags on my laptop like HELL, i get 2fps at best when i have my project running it, but then again my laptop is a bit... well... terrible, but everything works very well, you should make it so that you can disable it through the in-game menu, and therefore people running slower computers can still use it... oh well, still, brill script!
Works Great :P Thanks for this great script
If you walk past a touch event it totally avoids it. Can this be fixed?
sorry in advance for this thread necro but i cnt download the demo can it be hosted somere else like megaupload
You could always just grab it from his Christmas Giftbox (http://rmrk.net/index.php/topic,31518.0.html).
i think the links broken... :(
Quote from: cozziekuns on May 24, 2010, 11:52:50 PM
You could always just grab it from his Christmas Giftbox (http://rmrk.net/index.php/topic,31518.0.html).
I know I'm digging up a really old post, but I only recently tried this script.
I like it a lot!
I have some questions though:
As mentioned before, is there any way to make it so you don't by pass touch events?
Is there any way to combine this with dashing?