Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / [MAC] Text Id start from 10000

Author
Message
xGEKKOx
AGK Master
15
Years of Service
User Offline
Joined: 7th Dec 2008
Location: Italy
Posted: 27th Sep 2011 05:05
I was coding my sprite, text and buttons internal manager and i see that CreateText start to give ID from 10000!!!
Is normal this or is a bug?

The Power System Developer - Street Karate Fighter Developer
baxslash
Valued Member
Bronze Codemaster
17
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 27th Sep 2011 14:43
Normal I believe.

If you allow AppGameKit to give you a number it starts above 10K, if you choose one yourself you can only use up to 10K. I guess it helps prevent overlaps...

RickV
TGC Development Director
24
Years of Service
User Offline
Joined: 27th Apr 2000
Location: United Kingdom
Posted: 27th Sep 2011 15:55
Yes this is normal. We did this because users like to start their IDs from 1 and count up. Originally AppGameKit would use low numbers and it was a pain. So we made AppGameKit keep control via high numbers unlikely to be used by us humans!

Rick

Financial Director
TGC Team
halley
13
Years of Service
User Offline
Joined: 27th Apr 2011
Location: China
Posted: 27th Sep 2011 16:36
to RickV:
why there is no official to answer my question?

give my best
baxslash
Valued Member
Bronze Codemaster
17
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 27th Sep 2011 16:59
Quote: "why there is no official to answer my question?"

You didn't ask a question...

This is your first post in this thread, if you're referring to another thread maybe you should ask your question there? Otherwise it confuses people... people like me anyway

xGEKKOx
AGK Master
15
Years of Service
User Offline
Joined: 7th Dec 2008
Location: Italy
Posted: 28th Sep 2011 18:07
Is all ok i fixed my internal manager and all is fine.
I like the way is done.
Agk rocks!

The Power System Developer - Street Karate Fighter Developer
LeeBamber
TGC Lead Developer
24
Years of Service
User Offline
Joined: 21st Jan 2000
Location: England
Posted: 9th Oct 2011 03:24
We like that AppGameKit Rocks If you have ideas how it can Rock even more, let us know!

I drink tea, and in my spare time I write software.

Login to post a reply

Server time is: 2024-11-22 02:19:36
Your offset time is: 2024-11-22 02:19:36