Thanks TwistedTwigleg, yeah I tried both of those methods with no luck. Help!Ī) I have some image/import settings incorrectī There is a script I can use when loading a resource that would allow me to manually turn on the alpha transparencyĬ) There is a simpler way to go about all of this to get both a CONFINED & HIDDEN mouse cursor (CAPTURED won't work because I still want to be able to swing the mouse cursor around on the screen) I would assume there is a way to set the alpha on a texture by scripting it but I can't seem to find the documentation and I also can't seem to figure out how to access and modify a texture or loaded resource from script. I checked the documentation (here: "Importing images") concerning (re)importing images and PNGs to get alphas to work but nothing seems to do the trick (unless I'm overlooking something). (I could even use a 1x1 but even that still shows a dot on the screen)īut the transparency alpha appears black, not transparent.Īs a result I'm getting a mouse cursor that has a black 10x10 area. Hide the mouse cursor using a 10x10 transparent. Confine the mouse cursor to the window using t_mouse_mode( Input.MOUSE_MODE_CONFINED )Īnd since I can't also use Input.MOUSE_MODE_HIDDEN to hide the mouse cursor, I've decided to.Ģ. I'm trying to hide the mouse cursor while at the same time allow me to use its input and location so that I can place a marker on the 3D floor, but I'm running into problems making the mouse cursor transparent.ġ.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |