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.

2D All the way! / Trouble Getting Started - 2d sprite representation

Author
Message
Gurology
6
Years of Service
User Offline
Joined: 14th Mar 2018
Location:
Posted: 17th Mar 2018 06:26
As youll see in the code, I want to give the user a choice of character to use. i want to gain their input, as each character is numbered, I'm just a little clueless as to how to go about doing it. Please help!

Input "Please, input your name: ",name$

Print "Ok " + name$; ", welcome to Hajime!"
Print "The following is a list of popular video game characters. Select your character."
Print"____________________" + " _______________________"
Print "FINAL FANTASY 7" + " FINAL FANTASY 8"
Print "1. Cloud" + " 11. Squall"
Print "2. Tifa" + " 12. Zel"
Print "3. Barrett" + " 13. Rinoa"
Print "4. Cait Sith"
Print "5. Vincent"
Print "6. Yuffie"
Print "7. Cid"
Print "8. Aeris"
Print "9. Red XIII"
Print "10. Sephiroth"
Print"____________________"
then sprite cloud
wait key
end
Richard_6
7
Years of Service
User Offline
Joined: 3rd Feb 2017
Location:
Posted: 18th Mar 2018 10:48
Hi Gurology! The Print command is mostly used for debugging purposes.

You can accomplish what you're looking for by using CreateEditBox, GetEditBoxText and CreateText.

Hope that helps.

Login to post a reply

Server time is: 2024-04-19 20:14:56
Your offset time is: 2024-04-19 20:14:56