Mouse lag

For questions about using Classic.

Post » Fri Jun 03, 2011 7:26 am

[quote="alspal":3grbxpy2]That .cap was blank for me? All it had was a "start of level" condition.[/quote:3grbxpy2]

Just use the code above it:
[code:3grbxpy2]
sys.path.append(System.AppPath)
from ctypes import *
cur=windll.user32.LoadCursorFromFileA(r'C:\WINDOWS\Cursors\banana.ani')
windll.user32.SetClassLongA(Window.AppWindow, -12, cur)
[/code:3grbxpy2]
NB.

I've add the AppPath on 1st line so it works for me! You may or may not need it.

Zen
If your vision so exceeds your ability, then look to something closer.
Moderator
B
120
S
28
G
68
Posts: 4,839
Reputation: 48,279

Post » Fri Jun 03, 2011 8:02 am

Oops, lol. Thanks, this is awesome.

I just realised I had to extract that py.zip into my construct/data/python folder too.
B
134
S
65
G
16
Posts: 1,765
Reputation: 19,188

Post » Fri Jun 03, 2011 9:17 am

I just extracted py.zip into the same folder as the .cap. I haven't got python installed (not overly interested!) :|
If your vision so exceeds your ability, then look to something closer.
Moderator
B
120
S
28
G
68
Posts: 4,839
Reputation: 48,279

Previous

Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 8 guests