Previous Thread  Next Thread

chat icon A frustrating issue.

Justonius

Posted: Sun Nov 25, 2012 3:27 am
Joined: 12 Jun 2012
Posts: 4
Hi, I'm new to both blender and python, but I've been sifting through page after page of forums here and across the internet and I can't get this solved. I'm using blender 2.64 - 32bit on windows 7.

All I'm trying to do is this:

Code:

import rasterizer as r
r.showmouse(1)


I add a sensor (always) and a controller (my python script). I hit P in game engine and it runs... but no mouse cursor. The console error reads "import error: no module named rasterizer".

Why? Where the hell is it? lol

At startup, blender console says it's using a "bundled" python? I've tried using python 3.3 and python 2.6 using environment variable paths, but I got a runtime error every time so I just deleted the paths and I'm back at square one. I'm sure it's just some stupid thing that I'm missing, but I'm not seeing it. Please help!! Dx
Reply with quote


Justonius

Posted: Sun Nov 25, 2012 3:52 am
Joined: 12 Jun 2012
Posts: 4
Nevermind, I found the correct documentation lol. I guess writing out the problem gave me some perspective. Razz

Code:

import bge
bge.render.showMouse(1)
Reply with quote


stiv

Posted: Sun Nov 25, 2012 5:07 pm
Joined: 05 Aug 2003
Posts: 3485
Quote:
I guess writing out the problem gave me some perspective.


Not the first time that explaining a problem made it obvious. Funny how that works.
Reply with quote


 
Jump to:  
Powered by phpBB © 2001, 2005 phpBB Group