|
  
|
|
|
#21 (permalink) | |
|
Zune Guardian
$zB: 370
Donate |
Quote:
But this game is SO small and loops so fast after it pauses it it goes to the bottom of the program loops back to the top and finds your still holding your finger down and un-pauses it again. It's really quite annoying. So I programmed it this way.
__________________
Invisible Text. =P To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. |
|
|
|
|
| Remove Advertisements Sponsored Links | |
Advertisement |
|
|
|
#22 (permalink) | |
|
zB Programmer
Experienced Member Join Date: Mar 2007
Posts: 975
Reputation: 116
Donate |
Quote:
Declare something like: bool pressed = false; Now just modify your DPad.B(Play/Pause) code to look like this: if (!pressed && GamePad.GetState(PlayerIndex.One).DPad.B == ButtonState.Pressed) { your code here pressed = true; } if (pressed && GamePad.GetState(PlayerIndex.One).DPad.B == ButtonState.Released) { pressed = false; } What this does is it checks for a boolean to be false when pressing the button, if its false it carries the code under it out and then makes the boolean true therefore not letting it loop again until you release the button and it makes the boolean false again. ![]() |
|
|
|
|
|
|
#24 (permalink) | |
|
Zune Guardian
$zB: 370
Donate |
Quote:
Works great. ![]() Update: This will be used to make the music run smoother as well. So just hang on while I fix this. Okay, so now, the timer doesn't lag for 100ms every time you adjust the music or volume. And now, because the play button now does play AND pause with no annoying mistakes, the center button is essentially useless. So i'm thinking about putting a menu in when you press it (mainly so I can extend my C# experience and learn something) But i'll try to add something like changing the background or something awesome like that. =D I'll re-upload the new version: v0.25
__________________
Invisible Text. =P To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. Last edited by ShotgunSnipist : 06-11-2008 at 11:13 AM. |
|
|
|
|
|
|
#25 (permalink) |
|
Experienced Zuner
Join Date: Jan 2008
Posts: 159
Reputation: 9
Donate |
maybe u could add a lap counter, other than that it looks excellent. keep up the good work
__________________
zune name: gameman7890 (associated with my zune.net social account) 30GB black 16.47GB Used 11.43GB Free To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. |
|
|
|
|
|
#29 (permalink) |
|
Zune Guardian
$zB: 370
Donate |
Anyone have a suggestion of what to make the middle button do?
I was thinking some kind of menu, But I don't know what to put in it.
__________________
Invisible Text. =P To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. |
|
|
|
|
|
#30 (permalink) |
|
Support Team
Expert Zuner Join Date: Nov 2007
Posts: 2,898
Reputation: 178
Donate |
Lap Function is a good idea... but I'm set with w/e now that I can play/pause easily. ;D
__________________
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. ![]() ![]() |
|
|
|
|
|
#31 (permalink) |
|
Zune Guardian
$zB: 370
Donate |
So by lap do you guys mean like you press the button it saves the time you press it again it saves that time?
So after like 3 laps it says this? Total: 00.38.06 lap one: 00.02.36 lap two: 00.07.03 lap three: 00.28.27 (This is how my running would look. lol)
__________________
Invisible Text. =P To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. |
|
|
|
|
|
#36 (permalink) |
|
Squirt
Join Date: Dec 2007
Posts: 12
Reputation: 10
Donate |
Great app. I've got a couple suggestions if you'd like:
First off, the skip keys are "backwards" (ie left should skip back and right should skip forwards). Next, the volume's a bit funny. It's a bit annoying that it sets your current volume as "max", so you have to first turn up your Zune's volume before entering the app. The volume jumps are also a bit too large; if you could implement something similar to the Zune's native volume controls, that would be mighty good. Finally, if you're missing something for the middle button, might I suggest that you put in some sort of music play/pause feature, either on the original play/pause button (and then put the timer play/pause on the middle button) or on the middle button (and keep the timer play/pause button the same). Finally, I don't know if there's a way to turn the screen/backlight off, but if there is that'd be great, as if you're timing for extensive periods, I'd imagine it's quite a drain on the battery life. Great work so far, though! Thanks so much (I've been using this timer for running, which is great, because I don't need to bring a watch now). |
|
|
|
|
|
#37 (permalink) | |
|
Zune Guardian
$zB: 370
Donate |
Quote:
![]() I'll fix the volume adjuster. I was planning on making a menu when you center click. Maybe to control what plays and such. And, No there is no way to turn off the back light. XNA (currently) Forbids it.
__________________
Invisible Text. =P To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. |
|
|
|
|
|
|
#38 (permalink) |
|
Squirt
Join Date: May 2008
Posts: 10
Reputation: 10
Donate |
This is excellent!
great work. Just one suggestion, could you please have like a time view as well at the bottom. I'm tired of checking the seconds section and hours section every time and not say the time properly. for example, like 1:11:27:19 Hrs:minutes:seconds:milliseconds And maybe another suggestion. Music playback while using the app. |
|
|
|