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
129
S
29
G
74
Posts: 5,144
Reputation: 52,693

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
141
S
68
G
17
Posts: 1,769
Reputation: 20,124

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
129
S
29
G
74
Posts: 5,144
Reputation: 52,693

Previous

Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 1 guest