Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
2 registered members (AndrewAMD, TipmyPip), 12,400 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
How do I solve this? [solved] #275868
07/02/09 15:00
07/02/09 15:00
Joined: Mar 2006
Posts: 321
Norway
Eagelina Offline OP
Senior Member
Eagelina  Offline OP
Senior Member

Joined: Mar 2006
Posts: 321
Norway
I have a panel that I show how many books a player found.
I show it like this:

digits(100,100,"Books: %.0f",("Arial#20"),1,got_book);

And that show the text like this:

Books: 0

What I whant is like this:

Books: 0 / 15

How do I do that?

Last edited by Eagelina; 07/02/09 15:20.

A6 and A7 Commercial
-------------------
Programmer always searching for more to learn and understand. smile
Re: How do I solve this? [Re: Eagelina] #275869
07/02/09 15:07
07/02/09 15:07
Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Pappenheimer Offline
Senior Expert
Pappenheimer  Offline
Senior Expert

Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Make an additional instruction with the position behind this one.

Something like this:
digits(100,120,"",("Arial#20"),1,max_books);


Last edited by Pappenheimer; 07/02/09 15:09.
Re: How do I solve this? [Re: Pappenheimer] #275871
07/02/09 15:09
07/02/09 15:09
Joined: Mar 2006
Posts: 321
Norway
Eagelina Offline OP
Senior Member
Eagelina  Offline OP
Senior Member

Joined: Mar 2006
Posts: 321
Norway
you lost me ..... please explain a litle bit better...



Last edited by Eagelina; 07/02/09 15:09.

A6 and A7 Commercial
-------------------
Programmer always searching for more to learn and understand. smile
Re: How do I solve this? [Re: Pappenheimer] #275873
07/02/09 15:10
07/02/09 15:10
Joined: Mar 2006
Posts: 321
Norway
Eagelina Offline OP
Senior Member
Eagelina  Offline OP
Senior Member

Joined: Mar 2006
Posts: 321
Norway
and how do I implement the slash /


A6 and A7 Commercial
-------------------
Programmer always searching for more to learn and understand. smile
Re: How do I solve this? [Re: Eagelina] #275874
07/02/09 15:10
07/02/09 15:10
Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Pappenheimer Offline
Senior Expert
Pappenheimer  Offline
Senior Expert

Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Originally Posted By: Eagelina
you lost me ..... please explain a litle bit better...

Sorry,


Something like this:
digits(100,120,"/",("Arial#20"),1,max_books);

I'm not sure whether it draws the slash.
I probably would place a button with the pic of a slash at that position, but that isn't a clean solution.

Last edited by Pappenheimer; 07/02/09 15:13.
Re: How do I solve this? [Re: Pappenheimer] #275876
07/02/09 15:19
07/02/09 15:19
Joined: Mar 2006
Posts: 321
Norway
Eagelina Offline OP
Senior Member
Eagelina  Offline OP
Senior Member

Joined: Mar 2006
Posts: 321
Norway
@pappenheimer

Thanks for the help!!

sorry for being a litle bit slow.... smile

But here is how I did it....my finished result.... with the slash and all...

digits(100,100,"Books: %.0f",("Arial#20"),1,got_book);
digits(180,100,"/ %.0f",("Arial#20"),1,max_books);

Last edited by Eagelina; 07/02/09 15:22.

A6 and A7 Commercial
-------------------
Programmer always searching for more to learn and understand. smile

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1