|
|||||||
| Register | FAQ | XDA-Portal | XDA-Wiki | Device database | Donate! | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
I wrote this little program, called SensorMaze. It generates mazes and allows you to steer a little blue dot using the movement sensors in the HTC Diamond. It is based on the original SensorTest program and since it has been a while since I programmed for any PDA, it is a bit simple.
Usage: Try to send the blue dot to the red dot by tilting your Diamond in the required directions. Commands: - New Maze: create a new maze in the same level - Next Level: increase the complexity. As mentioned, it is my first attempt, so there is still some work that needs to be done. TODO: - Implement timer, so you can compete against yourself - remove the "Position" text and replace with timer output - MessageBox instead of Dialog ? - Replace the blue dot with a "ball" like structure - Release the source code (after cleaning it a bit more) Question: When I try to use MessageBox from my code, the MessageBox fails to close and I can never get back to the Shell without a reset. Any one any idea what I could be doing wrong here ? Changes ( 07-Aug-2008) - Replaced the target with a cheese and the moving dot with a mouse icon. - Added some text to show the current level. - Initial level is lowered, so that kids could play it too. Screenshots are provided in the attached .png files. I also added the sources, so that other people can see how you can use the acceleration meter If you like my applications, consider a donation to Koushik. After all it is thanks to his (and the many other developers) work and readiness to share it that I can write these programs. I (currently) still get enough satisfaction in writing these programs. Last edited by cgeboers; 26th August 2008 at 08:56 PM.. Reason: New release |
| Sponsored Links |
|
#2
|
|||
|
|||
|
just tested, awsome little game! keep working on this! perhaps add some vibration and sound feedback, maybe change the dots to somthing like a mouse and some cheese? if you changed it to a ball it may be too simaler to teeter?
Adam |
|
#3
|
|||
|
|||
|
I haven't had any issues using C#.Net ... what are you writing in? The only thing I can think of is to make sure the MessageBox is shown from the same thread that created the form.
__________________
If you like my work, please donate using the links below. Current Projects:• Ticker Tape - Get stock quotes - [FAQ] [donate here] • Video Poker for the Diamond! - [donate here] HTC Touch Diamond ROM: 1.93.456.2 WWE Radio: 1.00.25.05 |
|
#4
|
|||
|
|||
|
Really like the concept - gave it a play, and it works well! Looking forward to new and improved versions!
![]()
__________________
Mike Wagstaff |
|
#5
|
|||
|
|||
|
Great, Cheers dude
![]() |
|
#6
|
||||
|
||||
|
Some screens would be nice!
__________________
Phone: O2 XDA Diamond original ROM ROM-Version: 1.93.207.2 GER ROM-Date: 08/12/08 Radio: 1.0025.05 Protocol: 52.29.25.12U |
|
#7
|
|||
|
|||
|
Thanks for the reviews. I will implement the changes, like the mouse and the cheese. I am currently working on an other "gadget" application, as soon as that one is finished I will take care of it.
As for the question about the MessageBox, I use C++ in this program and have a workaround, so I will let it at rest for the moment. I will try to get some screendumps too later. |
|
#8
|
|||
|
|||
|
Quote:
have other sensor game. |
|
#9
|
|||
|
|||
|
I love this little game. However I found that in challenging myself and advancing the game to higher levels, the little white mouse became rather difficult to see as he became smaller. Perhaps changing the colour f the mouse or the colour of the paths in the maze. Currently the mouse and the maze are the same colour. other than that the game is great.
|
|
#10
|
|||
|
|||
|
Awesome program, but I feel like I'm epileptic now, the screen was constantly flickering during it, I think it's a compatibility issue with my Raphael.
![]() |
![]() |
| Tags |
| game, sensor |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|