Typing numbers possible?

GuaveMediaGuaveMedia Member, PRO Posts: 1,262
edited December 2011 in Working with GS (Mac)
Hey,

I need something for a school project :)

There is a number like 345 or something like that and the persons have to type in a number which gets
subtracted from the number 345 in this case

Is this possible and when how?

thx

Comments

  • GuaveMediaGuaveMedia Member, PRO Posts: 1,262
    How to use the input keyboard???

    I programmed it till now so, I have an integer set to 345 and a second integer which should always be set
    to the number typed in?
    But how to set an integer to a typed number from the keyboard?
  • simo103simo103 Member, PRO Posts: 1,331
    @alex0407 ... sorry very busy at the moment so can't explain much but I uploaded a old project I had done that might help you ... NOTE: it is not very refined so you can click the three numbers in the bottom left in any order then the answer button will show them in the box top left. After a second or two it resets to zero. I think you will find the code you need in there ... the top box displays the numbers typed in as one attribute which sounds like what you are trying to do:

    http://www.funkymunkygames.com/promo/calculator.gameproj.zip
Sign In or Register to comment.