Board index » delphi » help begginer with text game.
Jim Moore
![]() Delphi Developer |
Mon, 13 Apr 1998 03:00:00 GMT
|
Jim Moore
![]() Delphi Developer |
Mon, 13 Apr 1998 03:00:00 GMT
help begginer with text game.
i am a begginer at pascal but i think i have enough understanding of
it to start a simple text game. the one thing that i can't figure out is how to be able to pick something up and use it later in the game (like invitory)and look at what i have picked up earlier in the game. if anybody can help please do. PLEASE RESPOND ON THIS NEWS GROUP ONLY CAUSE MY E-MAIL HAS GIVING ME A FIT. HOPELESS |
Jim Moor
![]() Delphi Developer |
Mon, 13 Apr 1998 03:00:00 GMT
Re:help begginer with text game.i am a begginer at pascal but i think i have enough understanding of it to start a simple text game. the one thing that i can't figure out is how to be able to pick something up and use it later in the game (like invitory)and look at what i have picked up earlier in the game. if anybody can help please do. PLEASE RESPOND ON THIS NEWS GROUP ONLY CAUSE MY E-MAIL HAS GIVING ME A FIT. HOPELESS |
Matt De
![]() Delphi Developer |
Tue, 14 Apr 1998 03:00:00 GMT
Re:help begginer with text game.On 26 Oct 1995, Jim Moore wrote: Quote> i am a begginer at pascal but i think i have enough understanding of counter/pointer so you know which element of the array to put it into. The later you can just search the array. Hope this help. *************************************************************************** * Matt Dew | it's only fun | * * ECEN | if | * * d...@ucsu.colorado.edu | there's more to learn | * * * * With Assembly, the argument of which language * * is fastest and tightest is futile. * * Assembly always and forever.. * *************************************************************************** |
CLIF PE
![]() Delphi Developer |
Wed, 15 Apr 1998 03:00:00 GMT
Re:help begginer with text game.QuoteJim Moore <jmo...@magicnet.net> wrote: const var Define function keys to pick stuff up or display the inventory. The fucntion keys ID can be found by running the following or Program whichkey; uses Crt; Initiate Objects_in_hand := 0; When you pick stuff up: Inc(Objects_in_hand); To display inventory: <clifp...@airmail.net> |
Jens A
![]() Delphi Developer |
Sat, 25 Apr 1998 03:00:00 GMT
Re:help begginer with text game.Quote>On 26 Oct 1995, Jim Moore wrote: yourself as a beginner, anyway), make an object-type TThing, then make a linked list of things (call it, for instance, TInventory), you can either use TCollection or implement your own list-handling. some sample code: type TThing = object TInventory = object If all the above seemed like gibberish to you then try with an array instead, type This sample limits the number of items you can carry to 20, something the upper Now don't try to run these through a compiler, it was a while ago since I wrote -- | DISCLAIMER: I do not represent the | URL: http://www.efd.lth.se/~d95jal | |
1. i need help to find graphics tutorial for begginers
2. begginer needs help on easy question...Emergency.
4. Help: Begginer in DB through WWW
5. It's a Begginer's Problem, plz help
6. Game Article for all : Structure of games
7. Scrolling Text in Text Mode - PLEASE HELP!
8. help with text formatting, TRichEdit control, centering text, and limit