|
|
|
|
#21 (permalink) |
|
Jr. Member
Join Date: Feb 2008
Location: In front of my computer DUH!!!
Posts: 470
Reputation: 27
Donate |
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.
|
|
|
|
| Remove Advertisements Sponsored Links | |
Advertisement |
|
|
|
#22 (permalink) | ||
|
Graduate Zuner
Donate |
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:
Quote:
|
||
|
|
|
|
|
#23 (permalink) |
|
Experienced Zuner
Join Date: May 2008
Posts: 154
Reputation: 11
Donate |
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.
|
|
|
|
|
|
#24 (permalink) |
|
Support Team
Expert Zuner Join Date: Nov 2007
Posts: 2,849
Reputation: 166
Donate |
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. ![]()
|
|
|
|
|
|
#25 (permalink) |
|
Experienced Zuner
$zB: 97
Donate |
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.
|
|
|
|
|
|
#26 (permalink) |
|
Squirt
Join Date: Jul 2007
Posts: 14
Reputation: 11
Donate |
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. |
|
|
|
|
|
#27 (permalink) | |||||
|
putis killed my baby!
Administrator
Ultimate Zuner Join Date: Jan 2007
Location: NYS
Posts: 6,027
Reputation: 266
Donate |
Quote:
Quote:
Quote:
Quote:
Quote:
Although I already have a system for this in Java, C# isn't too different, maybe I can copy paste and modify significantly 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 ![]()
|
|||||
|
|
|
|
|
#28 (permalink) |
|
Administrator
Ultimate Zuner Join Date: Jul 2006
Location: Irvine, CA
Posts: 5,778
Reputation: 182
Donate |
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.
|
|
|
|
|
|
#29 (permalink) | |
|
putis killed my baby!
Administrator
Ultimate Zuner Join Date: Jan 2007
Location: NYS
Posts: 6,027
Reputation: 266
Donate |
Quote:
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 ![]()
|
|
|
|
|
|
|
#31 (permalink) |
|
Zuner
Join Date: May 2008
Posts: 74
Reputation: 10
Donate |
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 thereI 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.
|
|
|
|
|
|
#33 (permalink) |
|
Zuner
Join Date: May 2008
Posts: 74
Reputation: 10
Donate |
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.
|
|
|
|
|
|
#34 (permalink) | |
|
Hacks and Mods Crew
Experienced Member Join Date: Mar 2007
Posts: 950
Reputation: 107
Donate |
Quote:
Declare a boolean and set it to false Code:
bool i = false; Code:
if (GamePad.GetState(PlayerIndex.One).DPad.**** == buttonState.Pressed) Code:
if (!i && GamePad.GetState(PlayerIndex.One).DPad.**** == buttonState.Pressed) Code:
i = true; Code:
if (GamePad.GetState(PlayerIndex.One).DPad.**** == buttonState.Released) Code:
i = false;
|
|
|
|
|
|
|
#35 (permalink) |
|
putis killed my baby!
Administrator
Ultimate Zuner Join Date: Jan 2007
Location: NYS
Posts: 6,027
Reputation: 266
Donate |
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 ![]()
|
|
|
|
|
|
#37 (permalink) |
|
Zuner
|
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)
|
|
|
|
|
|
#40 (permalink) |
|
Zewbie
Join Date: May 2008
Posts: 1
Reputation: 10
Donate |
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- |
|
|