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 / User picking a character

Author
Message
Khadin
9
Years of Service
User Offline
Joined: 13th Feb 2015
Location: Nottingham
Posted: 3rd Apr 2015 22:58 Edited at: 3rd Apr 2015 23:16
Ok, unsure, but i've given it ago. What i want, is the user to be presented with a list of options, and then upon picking their chosen character, that'll be the one they'll use.

Only way i could think about doing this is via:



that lets the user pick, but how would i SAVE their pick? I assumed it'll be saved within a variable, and then whenever you call that variable up, that'll be the users earlier pick, but i'm unsure how to do it.

I also believe the code above, is extremely messy, and i'm sure there's an easier and correct way of putting it.

also, once you've clicked on the four colours, you're no longer able to pick. Anyway i can cycle through them until i click a confirm button.

Thanks.

EDIT Update. Now i pick the plane, and it moves to a new screen via



So i suppose i'm getting there - But if someone could explain how to cycle through the options, and stream line the code above, that would be great. I'll continue messing with it myself, and post here.

Khadin

Login to post a reply

Server time is: 2024-03-29 11:53:01
Your offset time is: 2024-03-29 11:53:01