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.

DarkBASIC Discussion / text based game Dark Dynasty

Author
Message
Slayer93
20
Years of Service
User Offline
Joined: 5th Aug 2004
Location: I wish I knew
Posted: 3rd Mar 2005 09:56
i am making a text based game called Dark Dynasty
here is the code and it's very long

my problem is that when i create the random monsters it shows only the name and when i put it by itself it works fine

and if you see any other problems put them

NARUTO IS THE NINJA.......not really
Slayer93
20
Years of Service
User Offline
Joined: 5th Aug 2004
Location: I wish I knew
Posted: 3rd Mar 2005 10:09
oh i also have a problem with the weapon shop and this is not done so don't go to item and armor shop and a lot other things

NARUTO IS THE NINJA.......not really
Los
20
Years of Service
User Offline
Joined: 3rd Jan 2005
Location:
Posted: 3rd Mar 2005 17:56
well dude I skipped all the armour stuff and left the city to fight the small enemies. Met a .. Snake Killer



well naturally I expected to zonk it and win but I got some slow flashing text. I saw it's HP/MP and 'there are 2 of them' but they disappeared in steps.
0=all show
1=name + amount show
2=name only

tick tock
0,1,2,2
repeat in slow manner

thing is there was no wait command in there. odd. Well you could remove the cls above the do, or leave a sync in before the loop, that keeps everything on the screen. Use all text or print rather than switching between 2.. erm.. odd why it was jumping so much. (?)

I'm glad the continue worked.. I didn't have to type in new names all the time.. my bloke was called 'tole' in Helencia (?)

Exciting stuff.. but if I was gonna make a game I would add in graphics and music files. So make sure your code game code works and you can load whenever you want, you can add in new monsters whenever, cus when I added in loading code for one of my programs? I couldn't see what I needed to call to get everything back on the screen... you see I was so interested in building the place from scratch I couldn't load it back up still, I kept the program and I will either make another file for loading and add in functionality again.. or figure out what I need to do. You see I kept a record of how many boxes I made in a variable, increased each time I pressed Enter, and assigned it a text box to appear on the screen for it's properties. now when I load it I can't see the text box and I'm 100% unsure it's doing what I want it to.. it's running through that code line by line and I can't understand its order properly... f you get me. I werote it all.. know what each bit does, but I couldn't figure out the loading ORDER.. to call each bit. I also renamed my variables so what gets passed to functions or fututher in the program... oopS!

have a great time making your code and don't punch the monitor! peace!

" Ahh to finish something! My boy, have you ever accomplished anything? "
Slayer93
20
Years of Service
User Offline
Joined: 5th Aug 2004
Location: I wish I knew
Posted: 4th Mar 2005 08:26
i am very good at making saving files for my game .It works with the wait and sync ishould of thought of that .i also have a problem with the weapon shop the money won't go down when i buy something(i only made the first weapon buyable).in the boss and random battles i didn't set anything except the name yet.

NARUTO IS THE NINJA.......not really

Login to post a reply

Server time is: 2025-05-23 21:42:59
Your offset time is: 2025-05-23 21:42:59