Calculator 2.0

Showcase your libraries, tools and other projects that help your fellow love users.
Post Reply
User avatar
veethree
Inner party member
Posts: 877
Joined: Sat Dec 10, 2011 7:18 pm

Calculator 2.0

Post by veethree »

Calculator

Image

Things it does:
-Same as version 1.0

Things that changed from version 1.0
-Code is 73.8% cleaner.
-Code is 12.1% more flexible.
-The buttons flash when the keyboard is used for input.
-Different theme.
-It now offers rimjobs 1/1000 times if you ask it really nicely and present it with a blood sacrifice and a box of chocolates.

Bugs from version 1.0 that were fixed
-Clicking and dragging across the buttons no longer works.
-Text going off the screen fixed. (I lied it's actually just hidden)
-Minimum window size set.
Calculator 2.0.love
2.0
(13.55 KiB) Downloaded 280 times
version 1.0:

Code: Select all

Calculator.

[img]http://i62.tinypic.com/eujbyg.jpg[/img]

[b]Things it does:[/b]
-Basic calculator stuff
-Numpad controls
-Looks neat

[b]Things it does not:[/b]
-Word wrapping/Anything to make text not go off screen
-Cure cancer
-Offer rimjobs
Attachments
Calculator.love
1.0
(11.84 KiB) Downloaded 201 times
Last edited by veethree on Tue Aug 05, 2014 9:19 pm, edited 4 times in total.
User avatar
Ranguna259
Party member
Posts: 911
Joined: Tue Jun 18, 2013 10:58 pm
Location: I'm right next to you

Re: Calculator

Post by Ranguna259 »

Ow.. I was hoping to get a rimjob from this.. Better luck next time I guess.
LoveDebug- A library that will help you debug your game with an on-screen fully interactive lua console, you can even do code hotswapping :D

Check out my twitter.
User avatar
Murii
Party member
Posts: 216
Joined: Fri Jul 05, 2013 9:58 am
Location: Arad, Romania
Contact:

Re: Calculator

Post by Murii »

Great sense of humor! :ultrahappy:
User avatar
Ref
Party member
Posts: 702
Joined: Wed May 02, 2012 11:05 pm

Re: Calculator

Post by Ref »

Keyboard entry is non-functional ("kp0" etc).
User avatar
veethree
Inner party member
Posts: 877
Joined: Sat Dec 10, 2011 7:18 pm

Re: Calculator

Post by veethree »

Ref wrote:Keyboard entry is non-functional ("kp0" etc).
Non-functional as in doesn't work at all or non-functional as in causes errors? It works fine on my PC, And my mac doesn't have a numpad so cant test it there.
User avatar
Ref
Party member
Posts: 702
Joined: Wed May 02, 2012 11:05 pm

Re: Calculator

Post by Ref »

Poor example."kp0" works but "=" (which is an easy mistake) doesn't.
Might want to enable conventional numeric key input as well.
Waiting for the scientific calculator.
Best
User avatar
veethree
Inner party member
Posts: 877
Joined: Sat Dec 10, 2011 7:18 pm

Re: Calculator

Post by veethree »

Ref wrote:Poor example."kp0" works but "=" (which is an easy mistake) doesn't.
Might want to enable conventional numeric key input as well.
Waiting for the scientific calculator.
Best
I've updated the .love, Conventional numeric input, and "kp=" implemented. And probably some other minor tweaks.
User avatar
Ref
Party member
Posts: 702
Joined: Wed May 02, 2012 11:05 pm

Re: Calculator

Post by Ref »

Way to go!
fxva
Prole
Posts: 8
Joined: Sat Jul 13, 2013 4:54 am

Re: Calculator 2.0

Post by fxva »

1/0 = - 1 = :emo:
Attachments
hiii.PNG
hiii.PNG (12.99 KiB) Viewed 5033 times
Post Reply

Who is online

Users browsing this forum: Amazon [Bot] and 3 guests