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.

Author
Message
Tarellel
22
Years of Service
User Offline
Joined: 20th Aug 2003
Location: United States
Posted: 30th Sep 2003 00:21
Ok I am trying to create an RPG and I have a screen where they input their game name, but when I first started it I had the input working correctly on the name screen. Now whenever I go to the name screen whenever I get to the screen whenever I try typing nothing appears.

Along with this post I am pasting my source code. I would apperiate any and all help. Thank you

What you hear ... you forget.
What you see ... you remember.
What you do ... you understand.
Ian T
23
Years of Service
User Offline
Joined: 12th Sep 2002
Location: Around
Posted: 30th Sep 2003 02:51 Edited at: 30th Sep 2003 02:51
The input screen works fine over here!

However there is a much larger problem in your code... you don't seem to understand arrays, or you're used to using a different programming language .

Instead of making an array for each variable... make one or two! Or use a type.

Stat(20) for example. And Stat(1) is your health, Stat(2) your armor, etc. Much friendlier on RAM and eaiser to use and remember, and it's less code!

Remember arrays go from 0 up, not one up .

If you're just using a variable-- like gravity-- don't put (0) there. Just let it be a variable, not an array!

I've taken the liberty of arranging your arrays a bit... you can change them all around of course, but since I made a fairly detailed RPG system with an inventory and equipment system two times, you might want to follow that path .

I'll attach the fixed-up code.

Oh... it's speled 'labyrinth' by the way .

If you want the code for a mouse-oriented menu, I'd be glad to post it.

Cheers!

--Mouse: Famous (Avatarless) Fighting Furball
Read It: http://www.angryflower.com/itsits.gif
Learn It: http://www.angryflower.com/bobsqu.gif
Tarellel
22
Years of Service
User Offline
Joined: 20th Aug 2003
Location: United States
Posted: 30th Sep 2003 03:02
Thank You very much

What you hear ... you forget.
What you see ... you remember.
What you do ... you understand.
Ian T
23
Years of Service
User Offline
Joined: 12th Sep 2002
Location: Around
Posted: 30th Sep 2003 03:37
No problem .

Don't mean to be rude but the 'Please Help' kind of reminded me of The Fifth Element, if you know what I mean... had to click on the post . Glad to help with code troubles when I can.

Attached is a quick mouse-driven menu.

--Mouse: Famous (Avatarless) Fighting Furball
Read It: http://www.angryflower.com/itsits.gif
Learn It: http://www.angryflower.com/bobsqu.gif
Tarellel
22
Years of Service
User Offline
Joined: 20th Aug 2003
Location: United States
Posted: 30th Sep 2003 03:52
Thank you very much
And I figures out waht was wrong with the input it was someething to do with the the project settings I made a new one and it works fine. But thank you very uch for everything.

What you hear ... you forget.
What you see ... you remember.
What you do ... you understand.

Login to post a reply

Server time is: 2026-07-25 07:01:44
Your offset time is: 2026-07-25 07:01:44