How do I gather 2 text objects ? :)

Get help using Construct 2

Post » Fri Nov 06, 2015 10:14 pm

Sorry for asking these maybe " dumb " questions for someone but I'm still a noob.. :(
So if anyone could teach/explain me how can i make somehow a table for example:
money / day ........ ( here is a box )
costs / day .......... ( here is a box)
total ..... (here is a box)
and i must subtract the costs from the money and show somewhere.
how can i do this corectly ?
Thank you.
B
11
S
3
Posts: 277
Reputation: 1,395

Post » Fri Nov 06, 2015 10:28 pm

You mean something like set textbox3 to: float(textbox1.text)-float(textbox2.text)..
I'd actually first set variables to the textbox.text and add or subtract those and not use a third textbox, but just a textobject to display..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Sat Nov 07, 2015 10:33 am

@LittleStain
I've tried that, I was thinking it is that simple but it didn not let me insert the "code" there...
B
11
S
3
Posts: 277
Reputation: 1,395

Post » Sat Nov 07, 2015 10:35 am

@LittleStain
Thank you, it worked sorry for this i didn't know that float will work...
sorry again. :)
B
11
S
3
Posts: 277
Reputation: 1,395


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 29 guests