Old 06-11-2008, 10:41 AM   #21 (permalink)
Experienced Member
 
ShotgunSnipist's Avatar
 
Join Date: May 2008
Location: Colorado
Posts: 800
ShotgunSnipist has a spectacular aura aboutShotgunSnipist has a spectacular aura about
Send a message via AIM to ShotgunSnipist
Default

Quote:
Originally Posted by soccerfreak24 View Post
Oh, one other thing. IT seems like it'd be a bit easier to use if Play was like start/stop, that way you could start, or stop it, without moving your finger.. lol
That's what I had thought too.
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



ShotgunSnipist is offline   Reply With Quote

Advertisement [Remove Advertisement]
Old 06-11-2008, 10:56 AM   #22 (permalink)
Experienced Member
 
LedZepp's Avatar
 
Join Date: Mar 2007
Posts: 976
LedZepp has a spectacular aura aboutLedZepp has a spectacular aura about
Default

Quote:
Originally Posted by ShotgunSnipist View Post
That's what I had thought too.
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.
Use a boolean.
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.




LedZepp is offline   Reply With Quote
Old 06-11-2008, 11:37 AM   #23 (permalink)
Experienced Zuner
 
Join Date: Jan 2008
Posts: 156
Lare2 is on a distinguished road
Default

Thanks, will try it
__________________
Proud Zune 80 Owner



Lare2 is offline   Reply With Quote
Old 06-11-2008, 11:50 AM   #24 (permalink)
Experienced Member
 
ShotgunSnipist's Avatar
 
Join Date: May 2008
Location: Colorado
Posts: 800
ShotgunSnipist has a spectacular aura aboutShotgunSnipist has a spectacular aura about
Send a message via AIM to ShotgunSnipist
Default

Quote:
Originally Posted by LedZepp View Post
Use a boolean.
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.
THANKS!
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

Last edited by ShotgunSnipist; 06-11-2008 at 12:13 PM.



ShotgunSnipist is offline   Reply With Quote
Old 06-12-2008, 06:49 AM   #25 (permalink)
Jr. Member
 
tech.freak243's Avatar
 
Join Date: Jan 2008
Location: Hotel California
Posts: 430
tech.freak243 is on a distinguished road
Send a message via AIM to tech.freak243 Send a message via MSN to tech.freak243 Send a message via Yahoo to tech.freak243
Default

maybe u could add a lap counter, other than that it looks excellent. keep up the good work
__________________


Created by StevenLogiduce<--best dude ever!






tech.freak243 is offline   Reply With Quote
Old 06-12-2008, 06:52 AM   #26 (permalink)
Experienced Member
 
ShotgunSnipist's Avatar
 
Join Date: May 2008
Location: Colorado
Posts: 800
ShotgunSnipist has a spectacular aura aboutShotgunSnipist has a spectacular aura about
Send a message via AIM to ShotgunSnipist
Default

Quote:
Originally Posted by techfreak243 View Post
maybe u could add a lap counter, other than that it looks excellent. keep up the good work
A lap counter? You mean like when you click it says 1 click again it says 2?
__________________
Invisible Text. =P



ShotgunSnipist is offline   Reply With Quote
Old 06-13-2008, 08:45 PM   #27 (permalink)
Zuner
 
dan_1986's Avatar
 
Join Date: Mar 2008
Location: Illinois
Posts: 86
dan_1986 is on a distinguished road
Send a message via AIM to dan_1986 Send a message via MSN to dan_1986 Send a message via Yahoo to dan_1986 Send a message via Skype™ to dan_1986
Default

Like this function very much. Use it at the gym track for my mile run. 5 min's 39 sec





dan_1986 is offline   Reply With Quote
Old 06-13-2008, 10:12 PM   #28 (permalink)
Zuner
 
Join Date: Sep 2007
Posts: 98
Superaison is on a distinguished road
Default

I just made mine, and find this =[



Superaison is offline   Reply With Quote
Old 06-14-2008, 09:42 AM   #29 (permalink)
Experienced Member
 
ShotgunSnipist's Avatar
 
Join Date: May 2008
Location: Colorado
Posts: 800
ShotgunSnipist has a spectacular aura aboutShotgunSnipist has a spectacular aura about
Send a message via AIM to ShotgunSnipist
Default

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



ShotgunSnipist is offline   Reply With Quote
Old 06-14-2008, 09:58 AM   #30 (permalink)
Support Team
Expert Zuner
 
Soccerfreak24's Avatar
 
Join Date: Nov 2007
Posts: 3,027
Soccerfreak24 is just really niceSoccerfreak24 is just really niceSoccerfreak24 is just really nice
Default

Quote:
Originally Posted by ShotgunSnipist View Post
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.
Lap Function is a good idea... but I'm set with w/e now that I can play/pause easily. ;D
__________________





Soccerfreak24 is offline   Reply With Quote
Old 06-14-2008, 05:55 PM   #31 (permalink)
Experienced Member
 
ShotgunSnipist's Avatar
 
Join Date: May 2008
Location: Colorado
Posts: 800
ShotgunSnipist has a spectacular aura aboutShotgunSnipist has a spectacular aura about
Send a message via AIM to ShotgunSnipist
Default

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



ShotgunSnipist is offline   Reply With Quote
Old 06-17-2008, 08:05 PM   #32 (permalink)
Zewbie
 
Join Date: Jun 2008
Posts: 1
thecolourpink... is on a distinguished road
Default returning back to main screen?

How do you return to the main screen after using the stop watch?



thecolourpink... is offline   Reply With Quote
Old 06-17-2008, 10:12 PM   #33 (permalink)
Experienced Member
 
ShotgunSnipist's Avatar
 
Join Date: May 2008
Location: Colorado
Posts: 800
ShotgunSnipist has a spectacular aura aboutShotgunSnipist has a spectacular aura about
Send a message via AIM to ShotgunSnipist
Default

Quote:
Originally Posted by thecolourpink... View Post
How do you return to the main screen after using the stop watch?
Hold back for 4 seconds.
__________________
Invisible Text. =P



ShotgunSnipist is offline   Reply With Quote
Old 06-19-2008, 09:58 AM   #34 (permalink)
Experienced Zuner
 
miceylulu's Avatar
 
Join Date: May 2008
Posts: 182
miceylulu is on a distinguished road
Default

This stopwatch is pretty, haha. Oh gosh, my Zune comes back to me from repair TOMORROW and then I can use all the spiffy new stuff that popped up as soon as it went kaput.




miceylulu is offline   Reply With Quote
Old 06-19-2008, 05:23 PM   #35 (permalink)
Zune Priest
 
Azu-nyan's Avatar
 
Join Date: May 2008
Location: Planet Bob
Posts: 7,081
Azu-nyan is a jewel in the roughAzu-nyan is a jewel in the rough
Send a message via MSN to Azu-nyan Send a message via Skype™ to Azu-nyan
Default

Hmmm....Pretty neat. I always have my watch with one already on it, but that withstanding, a useful app.



Azu-nyan is offline   Reply With Quote
Old 06-24-2008, 02:52 AM   #36 (permalink)
Squirt
 
Join Date: Dec 2007
Posts: 12
Browncoat is on a distinguished road
Default

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).



Browncoat is offline   Reply With Quote
Old 06-24-2008, 08:50 AM   #37 (permalink)
Experienced Member
 
ShotgunSnipist's Avatar
 
Join Date: May 2008
Location: Colorado
Posts: 800
ShotgunSnipist has a spectacular aura aboutShotgunSnipist has a spectacular aura about
Send a message via AIM to ShotgunSnipist
Default

Quote:
Originally Posted by Browncoat View Post
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).
As for the right and left being reversed I had no idea.

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



ShotgunSnipist is offline   Reply With Quote
Old 06-29-2008, 06:28 AM   #38 (permalink)
Squirt
 
Join Date: May 2008
Posts: 10
Veritas is on a distinguished road
Default

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.



Veritas is offline   Reply With Quote
Old 07-02-2008, 06:12 PM   #39 (permalink)
Squirt
 
Join Date: Jul 2008
Posts: 13
Rachael's_Zune_1994 is on a distinguished road
Default

thank you the stop watch came in handy




Rachael's_Zune_1994 is offline   Reply With Quote
Old 07-02-2008, 08:05 PM   #40 (permalink)
Zewbie
 
Join Date: Jul 2008
Posts: 1
soci10000max is on a distinguished road
Thumbs up Thanxx

Wow. Thanks alot really nice app to have



soci10000max is offline   Reply With Quote
Reply

Bookmarks

Thread Tools