Shooter Demoby Forum_account |
To download this demo for your Linux/Mac installation, enter this on your command line:
|
Advertisement Kiohstuff: (Mar 2, 5:11 pm)
thank you, changing control,params to anything,anything,anything,params fixed it, although why the original code worked just fine in a program that did not contain your mouse movement or pixel movement libraries still escapes me.
Forum_account: (Mar 2, 7:27 am)
Kiohstuff wrote:
For some reason when using these libraries I am unable to enable the right mouse button properly. When I enable it, right-clicking still registers as a left click. Here is a snippet of code in case it helps. Add "world << params" as the first line of the MouseDown() proc to make sure that the params are what you think they should be. The atom's MouseDown() proc takes three parameters, the client's takes four. So what you're calling "params" there is actually the control parameter. I don't think this has anything to do with what libraries are included. Kiohstuff: (Mar 1, 10:37 pm)
For some reason when using these libraries I am unable to enable the right mouse button properly. When I enable it, right-clicking still registers as a left click. Here is a snippet of code in case it helps.
MouseDown(control,params) params = params2list(params) if("right" in params) world<<"right-clicked" else if("left in params") world<<"left-clicked" I always get the output "left-clicked". This code works when it is separated from these libraries. Thanks in advance. Forum_account: (Nov 30 2011, 6:43 am)
Tsfreaks wrote:
Clicking W. ASD do nothing. It looks like a problem with the Pixel Movement library. If you switch it back to Native mode it should work. The PM library will be getting a big udpate soon, so I'll just make sure that fixes this problem. Tsfreaks: (Nov 20 2011, 7:49 pm)
Clicking W. ASD do nothing.
runtime error: Cannot read null.x proc name: apply (/light/proc/apply) Warning: further proc crash messages are being suppressed to prevent overload... |
Copyright © 2012 BYOND.
All rights reserved.