Accelerometer ???
Monkey Targets Forums/Windows 8/Accelerometer ???
| ||
Is there no support for Accelerometer functionality on Win 8 Phone in Monkey ?? O.o |
| ||
Don't the default accelerometer commands work in Win8 Phone? |
| ||
They should. You may need to activate via the config file though. Mark added a preprocessor option quite a will ago for it. |
| ||
Cant find any info about how to activate it :( Any advise? |
| ||
Haven't got a project in front of me. I'll get back to you in around 12-18 hours when I'm in front of a pc. |
| ||
Thanks dopeyrulz ! :D |
| ||
Certainly was available in the older xna based projects as I helped get it running. The info in the help about config.monkey doesn't list any options for the new projects. Will take a look in the source shortly. |
| ||
Actually after searching the source I couldn't find anything initially but compiling and running Mark's AccelTest sample project (bananas\mak\acceltest) it worked fine on my WinPhone 8. Since then I've found the code relating to the Accelerometer - the base source is tricky to locate stuff generically across the various OSes. |
| ||
Mark's AccelTest sample don't work with my Nokia Lumia 920 ... ball/circle don't move ... Dopeyrulz Did you do any changes to the CONFIG.MONKEY ?? |
| ||
I downloaded the latest build v78f? and built the Windows Phone specific project. Opened the solution in VS2013 and ran the project to the phone. Worked also in the emulator. Made no changes except to fix a bug highlighted in the project compile log. I also have a 920. |
| ||
YES!!! Works! Did a brutal fix to get rid of the errors :) Thanks a lot Dopeyrulz for taking time to help me out!!!! |
| ||
No probs! Have posted a reference to this error in the v78f release log. |