How I put only one point im my num

Get help using Construct 2

Post » Wed Jul 24, 2013 3:33 pm

Hello! I want to know how I put "."(point) in my text.

My text is a Price and the player can put only one point in the price!
How I put this point and limit to one??

"My buttons is a sprit and all sprites have a one Stance Variable...but when I put the point in the famili, the instance variable is 0 to my point."


thanks!

B
10
S
2
G
2
Posts: 81
Reputation: 1,757

Post » Wed Jul 24, 2013 3:42 pm

If you want a .capx giveme your email , that i put in the dropbox!
B
10
S
2
G
2
Posts: 81
Reputation: 1,757

Post » Wed Jul 24, 2013 3:49 pm

Assuming you only want two digits after the point.

Here you are
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 » Wed Jul 24, 2013 4:00 pm

Amazing guy!!!

You help me a lot!!!!
Thanks so much!!!!


B
10
S
2
G
2
Posts: 81
Reputation: 1,757

Post » Wed Jul 24, 2013 4:30 pm

Noticed a mistake.

improved version
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 » Wed Jul 24, 2013 7:02 pm

Well, in your exemple you can put "." before the "."...
it' is wrong!
How I do to don't put "." like:

.123
12.
for exemple!?
B
10
S
2
G
2
Posts: 81
Reputation: 1,757

Post » Wed Jul 24, 2013 7:10 pm

In my have have a button, a Enter that set a price to the product.
If my client put U$ .21 Or U$ 15.
WHAT i do?

It is Regular Expression...but how I do this regular expressions?
B
10
S
2
G
2
Posts: 81
Reputation: 1,757

Post » Wed Jul 24, 2013 7:28 pm

I don't know how I send my .capx to you...I create a enter button and a new display that you can set the price!!!

If you want to add in facebook! it is my Link!

https://www.facebook.com/pablo.rodrigues.16940599
B
10
S
2
G
2
Posts: 81
Reputation: 1,757

Post » Wed Jul 24, 2013 7:48 pm

@Pablolink, do you want to make a game, or do you want someone else to make it for you?

What I've made is not wrong. I've made what you asked for. So maybe what you have asked for is wrong.

I've spent time on what I made. Not only the time thinking about how and making the events, but also the time learning how to use Construct2.

I hope you find the time to learn how to make a program or find someone who wants to do it for you.

In the future, before you ask a question, please think about what it is you want.

You wanted limited characters - you've got them
You wanted a point (and only one) - you got that

If you'd told from the beginning exactly what you wanted I could have made that, but I think I've tried to help you enough and I believe you should be the one writing your game.

Good luck!
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 » Wed Jul 24, 2013 8:14 pm

When I say wrong, I say about the text that is set with the point before the number!
I don't say that you are wrong!
I writing my game here! but I don't know how to send my exemples!
I have a .CAPX here to send...but i don't know how...

Sorry, you don't wrong, the text that set wrong...when you click in the poit frist for exemple!

Exist limitations in my game that I will solve...

UNFORTUNATELY I DON'T KNOW HOW TO SEND TO YOU MY EXEMPLE...But don't think that you are making a game to me!!!

I only want a help!

Thanks...and I'll send the exampeles when I know!!
B
10
S
2
G
2
Posts: 81
Reputation: 1,757

Next

Return to How do I....?

Who is online

Users browsing this forum: adventurist and 41 guests