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 05-11-2008, 01:48 PM   #21 (permalink)
Jr. Member
 
Alex's Avatar
 
Join Date: Feb 2008
Location: In front of my computer DUH!!!
Posts: 470
Reputation: 27
$zB: 389
Donate
Default

YESH CALCULATOR still going to divide by 0
__________________

To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.



Alex is offline   Reply With Quote
Remove Advertisements Sponsored Links
Advertisement
 
Old 05-11-2008, 01:58 PM   #22 (permalink)
Graduate Zuner
 
saab900's Avatar
 
Join Date: Aug 2007
Location: Kickin it on the east coast
Posts: 1,494
Reputation: 119
$zB: 833
Donate
Default

Nurta, you should program something really wierd to happen if you divide by 0, like flash 100 pics in 1 sec or make a wormhole thingy, that would be sweet!
__________________

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.

Quote:
Originally Posted by Volpe Sinatra
He speaks and types Alex, a language entirely separate from English.
Quote:
Originally Posted by Kevin Robinson
Get over yourself! You're people just like the rest of us. Its just a job like riding a bike is to me. It doesnt make you any better of a person ... Same for security, Just because you have a yellow jacket doesn't entitle you to be an JERK!!



saab900 is online now   Reply With Quote
Old 05-11-2008, 02:30 PM   #23 (permalink)
Experienced Zuner
 
miceylulu's Avatar
 
Join Date: May 2008
Posts: 154
Reputation: 11
$zB: 89
Donate
Default

This is good, but for the next release, I have some ideas:

A ^ button for doing exponents
Making a shortcut to = with like, play/pause or something
Have the back button be the delete or clear (when tapped, it doesn't exit the app)
Perhaps cos, sin, and tan?
( and ) (I mean the parentheses)
etc., etc.
Thank you for making this, but I don't think I will use it very often, because I have Alg. II and then Pre Calc next year, and this is really basic.



miceylulu is offline   Reply With Quote
Old 05-11-2008, 03:07 PM   #24 (permalink)
Support Team
Expert Zuner
 
soccerfreak24's Avatar
 
Join Date: Nov 2007
Posts: 2,849
Reputation: 166
$zB: 3007
Donate
Default

Which file do I open? This looks different than most of the other games.
Edit: Nm, forgot to extract.
__________________

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.


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 05-11-2008, 03:12 PM   #25 (permalink)
Experienced Zuner
 
collver's Avatar
 
Join Date: Sep 2007
Location: some where left of the right
Posts: 121
Reputation: 14
Send a message via MSN to collver
$zB: 97
Donate
Default

have a graphic pop that call the user a noob, should they type in 3x5 or other insanely easy problems.
for example
__________________

To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
Noob Patrol : Locked and Loaded

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.



collver is offline   Reply With Quote
Old 05-11-2008, 03:24 PM   #26 (permalink)
Squirt
 
Join Date: Jul 2007
Posts: 14
Reputation: 11
$zB: 5
Donate
Default

The new version is much better, well done!
In the future maybe you can decrease lag and the highlighted buttons.
I also agree that when someone tried to divide by zero a wormhole is created showing the credits.



mojo is offline   Reply With Quote
Old 05-11-2008, 03:53 PM   #27 (permalink)
putis killed my baby!
Administrator
Ultimate Zuner
 
Nurta's Avatar
 
Join Date: Jan 2007
Location: NYS
Posts: 6,027
Reputation: 266
$zB: 4931
Donate
Awards Showcase
Chiup's Bitch Most Flamboyant Personality 
Total Awards: 2
Default

Quote:
Originally Posted by miceylulu View Post
This is good, but for the next release, I have some ideas:

A ^ button for doing exponents
doable
Quote:
Making a shortcut to = with like, play/pause or something
it already is
Quote:
Have the back button be the delete or clear (when tapped, it doesn't exit the app)
yeah, jsut have to figure out how to do it exactly
Quote:
Perhaps cos, sin, and tan?
do-able, I'll probably add in a menus system (constants, trig, exponents, etc)
Quote:
( and ) (I mean the parentheses)
etc., etc.
That's a little more work, I'd have to put in order of ops and stuff

Although I already have a system for this in Java, C# isn't too different, maybe I can copy paste and modify significantly

Quote:
Originally Posted by mojo View Post
The new version is much better, well done!
In the future maybe you can decrease lag and the highlighted buttons.
I also agree that when someone tried to divide by zero a wormhole is created showing the credits.
the lag is actually programmed in, since at first you'd hit right and it would go right 5 times even if you do it fast. I'll play with the numbers some
__________________
Note: The viewpoint posted above does not necessarily reflect the opinion of Zuneboards, Zuneboard's staff, Nurta, or any affiliate of any of the previously mentioned parties.


To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.

I'm sorry Dizzy, I don't swing that way


To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
my army, while you can




Nurta is offline   Reply With Quote
Old 05-11-2008, 03:58 PM   #28 (permalink)
Administrator
Ultimate Zuner
 
Join Date: Jul 2006
Location: Irvine, CA
Posts: 5,778
Reputation: 182
$zB: 1998
Donate
Default

Quote:
Originally Posted by Nurta View Post
doable
yeah, jsut have to figure out how to do it exactly
Code:
  
            if (gps.Buttons.Back == ButtonState.Pressed)
                this.Exit();
__________________

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.



lpxxfaintxx is offline   Reply With Quote
Old 05-11-2008, 04:01 PM   #29 (permalink)
putis killed my baby!
Administrator
Ultimate Zuner
 
Nurta's Avatar
 
Join Date: Jan 2007
Location: NYS
Posts: 6,027
Reputation: 266
$zB: 4931
Donate
Awards Showcase
Chiup's Bitch Most Flamboyant Personality 
Total Awards: 2
Default

Quote:
Originally Posted by lpxxfaintxx View Post
Code:
  
            if (gps.Buttons.Back == ButtonState.Pressed)
                this.Exit();
yeah, that says if the button is pressed exit, it doesn't say if button is held for X seconds exit but if for less than that, backspace

I'll probably just have it if button is pressed, start timer while(button is pressed) do nothing, on un pressing end timer, if timer.time>X do this, otherwise do this.

I knew I'd have to do it there, I'm not an idiot, just have to look up the easiest way to do a timer and stuff.
__________________
Note: The viewpoint posted above does not necessarily reflect the opinion of Zuneboards, Zuneboard's staff, Nurta, or any affiliate of any of the previously mentioned parties.


To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.

I'm sorry Dizzy, I don't swing that way


To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
my army, while you can




Nurta is offline   Reply With Quote
Old 05-11-2008, 05:47 PM   #30 (permalink)
Squirt
 
Join Date: Nov 2007
Posts: 16
Reputation: 10
$zB: 15
Donate
Default

Thanks Nurta!
Rep for you!



hyperboy is offline   Reply With Quote
Old 05-11-2008, 06:16 PM   #31 (permalink)
Zuner
 
bjmiller121's Avatar
 
Join Date: May 2008
Posts: 74
Reputation: 10
$zB: 57
Donate
Default

Here's a skin I made for the calculator. Download the two images below (right click and save as) and replace them with the two image files of the same name found in the content folder.

calc shell.png:


blank.png:
<--there is an image there

I can do other colors by request.
__________________

To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.

Last edited by bjmiller121 : 05-11-2008 at 06:21 PM.



bjmiller121 is offline   Reply With Quote
Old 05-11-2008, 06:22 PM   #32 (permalink)
Member
 
charmed61's Avatar
 
Join Date: Mar 2008
Location: The Gold Rush State!
Posts: 625
Reputation: 5
$zB: 319
Donate
Default

can u make a blue one? thanks
__________________

To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.



charmed61 is offline   Reply With Quote
Old 05-11-2008, 07:07 PM   #33 (permalink)
Zuner
 
bjmiller121's Avatar
 
Join Date: May 2008
Posts: 74
Reputation: 10
$zB: 57
Donate
Default

Here you go charmed:



you'll have to rename the file to "calc shell" and use the same blank.png as above.
__________________

To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.



bjmiller121 is offline   Reply With Quote
Old 05-11-2008, 07:27 PM   #34 (permalink)
Hacks and Mods Crew
Experienced Member
 
LedZepp's Avatar
 
Join Date: Mar 2007
Posts: 950
Reputation: 107
$zB: 610
Donate
Default

Quote:
Originally Posted by Nurta View Post
the lag is actually programmed in, since at first you'd hit right and it would go right 5 times even if you do it fast. I'll play with the numbers some
Theres an easy way to have it only do the button action once.

Declare a boolean and set it to false
Code:
bool i = false;
then when you have this code
Code:
if (GamePad.GetState(PlayerIndex.One).DPad.**** == buttonState.Pressed)
change it to
Code:
if (!i && GamePad.GetState(PlayerIndex.One).DPad.**** == buttonState.Pressed)
Then in the same block of code add
Code:
i = true;
and lastly make another block of code for
Code:
if (GamePad.GetState(PlayerIndex.One).DPad.**** == buttonState.Released)
and add this in that block of code
Code:
i = false;



LedZepp is offline   Reply With Quote
Old 05-11-2008, 07:28 PM   #35 (permalink)
putis killed my baby!
Administrator
Ultimate Zuner
 
Nurta's Avatar
 
Join Date: Jan 2007
Location: NYS
Posts: 6,027
Reputation: 266
$zB: 4931
Donate
Awards Showcase
Chiup's Bitch Most Flamboyant Personality 
Total Awards: 2
Default

That's clever, good idea.
__________________
Note: The viewpoint posted above does not necessarily reflect the opinion of Zuneboards, Zuneboard's staff, Nurta, or any affiliate of any of the previously mentioned parties.


To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.

I'm sorry Dizzy, I don't swing that way


To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
my army, while you can




Nurta is offline   Reply With Quote
Old 05-11-2008, 07:32 PM   #36 (permalink)
Hacks and Mods Crew
Experienced Member
 
LedZepp's Avatar
 
Join Date: Mar 2007
Posts: 950
Reputation: 107
$zB: 610
Donate
Default

Yea im in the process of making solitaire and i was stumped for an hour trying to figure out how to only make it move 1 space instead of a random number



LedZepp is offline   Reply With Quote
Old 05-11-2008, 08:50 PM   #37 (permalink)
Zuner
 
egamerhdk's Avatar
 
Join Date: May 2008
Posts: 68
Reputation: 10
Send a message via AIM to egamerhdk
$zB: 59
Donate
Default

So far so good...
__________________
"Everyone loves Hannah Montana... some people just think they're too cool to admit they like her. You can't tell me you havn't heard her new song and wanted to turn it up and rock out to it?"
-Some Random Interweb Guy (He speaks the truth)



egamerhdk is offline   Reply With Quote
Old 05-11-2008, 09:22 PM   #38 (permalink)
Zewbie
 
Join Date: May 2008
Posts: 1
Reputation: 10
$zB: 1
Donate
Default

Here's another skin...



(save as "calc shell.png")



(save as "GameThumbnail.png")

<- save as "blank.png"

Enjoy!



luinfana is offline   Reply With Quote
Old 05-11-2008, 09:39 PM   #39 (permalink)
Zuner
 
Join Date: May 2008
Posts: 52
Reputation: 10
$zB: 43
Donate
Default

Thanks for the fully functional app, and thanks luinfana for the nice backgrounds (the black one is especially nice)



retrac1324 is offline   Reply With Quote
Old 05-12-2008, 03:03 AM   #40 (permalink)
Zewbie
 
Join Date: May 2008
Posts: 1
Reputation: 10
$zB: 1
Donate
Default

if your looking for an easy way to make a calculator the best advice i can give is take a look at the shunting yard algorithm (check wiki)

this is a infix to postfix converter (which should be about 30 lines of code if done properly with functions), its just a matter of setting up operand precdence as well having good knowledge on stacks and knowning when to push and when to pop. once you have it in postfix, a simple postfix parser can easily compute the equation. the beauty with SYA algorithm once you convert, order of operators is basically removed and so are brackets,

cheers
-templar-