Sponsors



Go Back   Zune Boards > Zune Discussions > Zune Games > Download Completed Games > Applications

New Member?



 
Register Zunecentive FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools
Old 06-11-2008, 09:41 AM   #21 (permalink)
Zune Guardian
 
ShotgunSnipist's Avatar
 
Join Date: May 2008
Location: Colorado
Posts: 700
Reputation: 62
Send a message via AIM to ShotgunSnipist
$zB: 370
Donate
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
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.



ShotgunSnipist is offline   Reply With Quote
Remove Advertisements Sponsored Links
Advertisement
 
Old 06-11-2008, 09:56 AM   #22 (permalink)
zB Programmer
Experienced Member
 
LedZepp's Avatar
 
Join Date: Mar 2007
Posts: 975
Reputation: 116
$zB: 635
Donate
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, 10:37 AM   #23 (permalink)
Experienced Zuner
 
Join Date: Jan 2008
Posts: 149
Reputation: 15
$zB: 63
Donate
Default

Thanks, will try it
__________________
Proud Zune 80 Owner



Lare2 is offline   Reply With Quote
Old 06-11-2008, 10:50 AM   #24 (permalink)
Zune Guardian
 
ShotgunSnipist's Avatar
 
Join Date: May 2008
Location: Colorado
Posts: 700
Reputation: 62
Send a message via AIM to ShotgunSnipist
$zB: 370
Donate
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
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.



ShotgunSnipist is offline   Reply With Quote
Old 06-12-2008, 05:49 AM   #25 (permalink)
Experienced Zuner
 
Join Date: Jan 2008
Posts: 159
Reputation: 9
$zB: 136
Donate
Default

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.



techfreak243 is offline   Reply With Quote
Old 06-12-2008, 05:52 AM   #26 (permalink)
Zune Guardian
 
ShotgunSnipist's Avatar
 
Join Date: May 2008
Location: Colorado
Posts: 700
Reputation: 62
Send a message via AIM to ShotgunSnipist
$zB: 370
Donate
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
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.



ShotgunSnipist is offline   Reply With Quote
Old 06-13-2008, 07:45 PM   #27 (permalink)
Zuner
 
dan_1986's Avatar
 
Join Date: Mar 2008
Location: Illinois
Posts: 84
Reputation: 12
Send a message via AIM to dan_1986 Send a message via Yahoo to dan_1986
$zB: 63
Donate
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, 09:12 PM   #28 (permalink)
Zuner
 
Join Date: Aug 2007
Posts: 76
Reputation: 11
$zB: 32
Donate
Default

I just made mine, and find this =[



Superaison is offline   Reply With Quote
Old 06-14-2008, 08:42 AM   #29 (permalink)
Zune Guardian
 
ShotgunSnipist's Avatar
 
Join Date: May 2008
Location: Colorado
Posts: 700
Reputation: 62
Send a message via AIM to ShotgunSnipist
$zB: 370
Donate
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
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.



ShotgunSnipist is offline   Reply With Quote
Old 06-14-2008, 08:58 AM   #30 (permalink)
Support Team
Expert Zuner
 
soccerfreak24's Avatar
 
Join Date: Nov 2007
Posts: 2,898
Reputation: 178
$zB: 48
Donate
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
__________________

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.





soccerfreak24 is offline   Reply With Quote
Old 06-14-2008, 04:55 PM   #31 (permalink)
Zune Guardian
 
ShotgunSnipist's Avatar
 
Join Date: May 2008
Location: Colorado
Posts: 700
Reputation: 62
Send a message via AIM to ShotgunSnipist
$zB: 370
Donate
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
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.



ShotgunSnipist is offline   Reply With Quote
Old 06-17-2008, 07:05 PM   #32 (permalink)
Zewbie
 
Join Date: Jun 2008
Posts: 1
Reputation: 10
$zB: 0
Donate
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, 09:12 PM   #33 (permalink)
Zune Guardian
 
ShotgunSnipist's Avatar
 
Join Date: May 2008
Location: Colorado
Posts: 700
Reputation: 62
Send a message via AIM to ShotgunSnipist
$zB: 370
Donate
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
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.



ShotgunSnipist is offline   Reply With Quote
Old 06-19-2008, 08:58 AM   #34 (permalink)
Experienced Zuner
 
miceylulu's Avatar
 
Join Date: May 2008
Posts: 154
Reputation: 11
$zB: 89
Donate
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, 04:23 PM   #35 (permalink)
I eat zewbabies. Mwahaha!
Support Team
Jr. Staff
Elite Zuner
 
Locke's Avatar
 
Join Date: May 2008
Location: The original n00blet chef
Posts: 2,294
Reputation: 204
Send a message via MSN to Locke
$zB: 15
Donate
Awards Showcase
Member of the Quarter Biggest staff suck-up Biggest Shouter 
Total Awards: 3
Default

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




Locke is online now   Reply With Quote
Old 06-24-2008, 01:52 AM   #36 (permalink)
Squirt
 
Join Date: Dec 2007
Posts: 12
Reputation: 10
$zB: 8
Donate
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, 07:50 AM   #37 (permalink)
Zune Guardian
 
ShotgunSnipist's Avatar
 
Join Date: May 2008
Location: Colorado
Posts: 700
Reputation: 62
Send a message via AIM to ShotgunSnipist
$zB: 370
Donate
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
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.



ShotgunSnipist is offline   Reply With Quote
Old 06-29-2008, 05:28 AM   #38 (permalink)
Squirt
 
Join Date: May 2008
Posts: 10
Reputation: 10
$zB: 6
Donate
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, 05:12 PM   #39 (permalink)
Squirt
 
Join Date: Jul 2008
Posts: 13
Reputation: 10
$zB: 7
Donate
Default

thank you the stop watch came in handy




Rachael's_Zune_1994 is offline   Reply With Quote
Old 07-02-2008, 07:05 PM   #40 (permalink)
Zewbie
 
Join Date: Jul 2008
Posts: 1
Reputation: 10
$zB: 0
Donate
Thumbs up Thanxx

Wow. Thanks alot really nice app to have



soci10000max is offline   Reply With Quote
Reply


Thread Tools