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.

Newcomers AppGameKit Corner / The text isn't cleared

Author
Message
Djbios76
8
Years of Service
User Offline
Joined: 5th Mar 2016
Location:
Posted: 8th Apr 2017 23:20
Dear users, I've a problem

I've started a simple game, but first of all I've a problem with the menu. There's a intro screen with some strings on it, then if the player touch the display, the game goes to the second screen. The problem is that strings in the previous screen aren't cleared. The string of the second screen is displayed above the previous ones! I'd need a total clear of the strings of the first screen.

Could you help me?

Here a code snippet

thanks so much!



BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 9th Apr 2017 09:12
You need to:

DeleteText(ID1)
DeleteText(ID2)
DeleteText(ID3)


after screen 1.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Quidquid latine dictum sit, altum sonatur
TutCity is being rebuilt
Djbios76
8
Years of Service
User Offline
Joined: 5th Mar 2016
Location:
Posted: 10th Apr 2017 00:58
Thanks so much!

Login to post a reply

Server time is: 2024-04-24 21:38:59
Your offset time is: 2024-04-24 21:38:59