[Plugin] .CUR Cursors

Post your completed addons to share with the community

Post » Wed Nov 14, 2012 4:27 am

A simple plugin that allows you to define a .cur file as a custom cursor.

Cursor files have full cross-browser compatibility, so will work on Internet Explorer and in turn Windows 8 apps.

Hotspots are defined in the cursor file - in order to have control over that I'd suggest downloading a cursor editing tool (I used Sib Cursor Editor).

.CUR Cursorsthehen2012-11-14 04:34:22
Moderator
B
72
S
13
G
11
Posts: 900
Reputation: 11,783

Post » Mon Dec 03, 2012 6:28 pm

Hi Thehen,
I am new here and I don't Know too much but I have a problem with your plug in.

After copied him on "Construct 2\exporters\html5\plugins\CUR Cursors"

I tried to make and esample to see if it works....

But when I try to make a preview I got:

Javascript error!
Uncaught exception: TypeError: Cannot convert 'cr.plugins_.CURCursors' to object
http://localhost:50000/data.js, line 1 (col undefined)

This is either a bug in Construct 2 or a problem in a third party plugin or behavior - please report it to the developer!


What's wrong?!?!
Please be gently and help me _

This is my test file:

http://depositfiles.com/files/0lj4crhe3Kain The Supreme2012-12-03 18:29:14
B
13
S
3
G
2
Posts: 10
Reputation: 2,902

Post » Tue Dec 04, 2012 1:48 pm

@kain-the-supreme: Oops - should be working now :)thehen2012-12-04 14:10:43
Moderator
B
72
S
13
G
11
Posts: 900
Reputation: 11,783

Post » Wed Dec 05, 2012 12:55 pm

Hi Thehen,
Now I can compile and test it but nothing!

The Cur is always the same it never change on Opera.

I use Opera As Browser
Opera 12.11 Build 1661 = NOT Working!

Chrome ( portable version ) Versione 23.0.1271.64 = works correctly
Firefox ver 16.0.2 = works correctly


Thanks
for Your help ^_^
B
13
S
3
G
2
Posts: 10
Reputation: 2,902

Post » Wed Dec 05, 2012 1:54 pm

Opera doesn't support custom cursors I'm afraid. If supporting Opera is a must, just set a sprite to the mouse coordinates. It will be more laggy than this solution though.
Moderator
B
72
S
13
G
11
Posts: 900
Reputation: 11,783

Post » Thu Dec 06, 2012 1:04 pm

Oh Yeah! I have already tested!
But inthis way I must do more "version of my project, 1 for opera and 1 for all other browser ehhehe
For now I will learn Construct and how to use all this good plugin!

Thanks again for your help!
By
Kain the supreme
B
13
S
3
G
2
Posts: 10
Reputation: 2,902

Post » Wed Mar 27, 2013 3:23 pm

Using this plugin for my C2 Windows 8 app.

I'm setting it up so that the Cursor is changed when the user right-clicks or hits the space bar. When testing in Windows 8 - there is a big lag when pressing Space (have also tried when Space is released) - cursor freezes for a second, then switches, but no lag when right-click.

Screen Cap: http://imgur.com/Ux3zPbV

Any ideas?LindsayInPhilly2013-03-27 15:26:14
B
13
S
3
Posts: 21
Reputation: 1,192

Post » Fri Mar 29, 2013 2:53 pm

Any idea @thehen?
B
13
S
3
Posts: 21
Reputation: 1,192

Post » Fri Mar 29, 2013 9:53 pm

@LindsayInPhilly No idea I'm afraid. I'm at GDC atm, but if you pm me a build I'll take a look come Tuesday/Wednesday.
Moderator
B
72
S
13
G
11
Posts: 900
Reputation: 11,783


Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 4 guests