This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2012-09-04 09:07:56

JoshinPl
New Scratcher
Registered: 2012-09-04
Posts: 9

Is it possible to do an calculator in Scratch?

Hi all, I would like to ask if anyone knows how to do this to our program learned to count? I mean this form:

press the number-> function key (+/- etc) -> next number-> sign function (= or further -/+ etc)


I'm trying for 3 days but I can't do this (missing feature), this calculator must have its own keyboard (numbers and characters function) on the screen in the form of objects for click with the mouse on the numbers and characters and not directly slapping the keyboard

Now my calculator only can count number with 1 digit (0-9) because I do not know how to do that one variable had the value of different objects (each digit on the keyboard is another object).

I care about all the time so the board so welcome smile

Offline

 

#2 2012-09-04 09:11:01

BirdByte
Scratcher
Registered: 2012-07-07
Posts: 1000+

Re: Is it possible to do an calculator in Scratch?

This belongs in Help with Scripts, you'll get more attention there.  smile


http://i50.tinypic.com/312u714.jpg

Offline

 

#3 2012-09-04 15:02:07

bertdog
Scratcher
Registered: 2012-06-12
Posts: 100+

Re: Is it possible to do an calculator in Scratch?

Yea it is possible.take mine for instance( just click on my username and you will find it)
Then download it.their are actually a lot of calculators on scratch,if mine doesn't help then search for one and use that one.


"Losers quit when they are tired,Winners quit when they are done." smile http://blocks.scratchr.org/API.php?user=bertdog&action=onlineStatus

Offline

 

#4 2012-09-04 16:37:47

BoltBait
Scratcher
Registered: 2009-03-09
Posts: 1000+

Re: Is it possible to do an calculator in Scratch?

Here is one that works pretty well:

http://scratch.mit.edu/projects/AtomicBawm3/1479831


Animated sigs must be banned!
http://boltbait.com/j.pnghttp://boltbait.com/s.pnghttp://boltbait.com/d.pnghttp://boltbait.com/a.pnghttp://boltbait.com/p.png

Offline

 

#5 2012-09-04 18:50:34

Firedrake969
Scratcher
Registered: 2011-11-24
Posts: 1000+

Re: Is it possible to do an calculator in Scratch?

Here's a complicated one.  It works perfectly.


Click the sign.
https://s3.amazonaws.com/eterna/eterna2/logo2.png

Offline

 

#6 2012-09-07 08:35:34

JoshinPl
New Scratcher
Registered: 2012-09-04
Posts: 9

Re: Is it possible to do an calculator in Scratch?

thanks people, my calculator is complete but I have one problem (again)

http://scratch.mit.edu/projects/JoshinPl/2766813

there you have my calculator, now try to count something. Yes it's my problem, I don't know why the result don't appear on the "screen" of the calculator. If you can tell me where I have done the mistake I will be gratefull.

Offline

 

#7 2012-09-07 18:32:10

fg123
Scratcher
Registered: 2008-11-13
Posts: 1000+

Re: Is it possible to do an calculator in Scratch?

I would love to help you, but I can't understand spanish so I don't know what the functions or variables in your project does.

Sorry. ^.^


Hai.

Offline

 

#8 2012-09-18 14:57:37

JoshinPl
New Scratcher
Registered: 2012-09-04
Posts: 9

Re: Is it possible to do an calculator in Scratch?

yes it's true xd well I will try to do something for resolve this problem  wink

Offline

 

Board footer