Home
Top.Mail.Ru Yandeks.Metrika
Forum: "Main";
Current archive: 2002.01.08;
Download: [xml.tar.bz2];

Down

How to create a new structure Find similar branches


Phisio   (2001-12-19 22:56) [0]

Masters help !!!
I am writing toys and it is necessary to create a new war, but so that his name is changed consistently, the same picture is created, there are lives and all that:) Is it possible to create a structure with variable properties of objects (warriors), if so, how to make the program create warrior, gave the same picture, consistent, etc. And when an object died, its removal occurred



vasco   (2001-12-19 23:54) [1]

Cool ...
Try component Twarrior.
:)



Sail   (2001-12-20 04:54) [2]

-> vasco:
And what is this component?
And what does it eat?
;-)



Polevi   (2001-12-20 09:40) [3]

2vasco @
TWarrior lacks functionality - better to use TGame



McSimm   (2001-12-20 13:24) [4]

:)

I'll try to answer, although I also want to joke.

TWarrior = class // or class (TBaseCharacter)
public
Name: String;
Image: TBitmap;
LifeCount: Integer;
........
constructor Create;
.......
end;

constructor TWarrior.Create;
begin
inherited;
Name: = GetNameFromNamesList; // for example, the function is
LifeCount: = 10;
Image: = WarriorImage; // Some TBitmap
....
end;



Владимир Васильев   (2001-12-20 17:24) [5]

In my game there are ready-made structures for game objects and effects (explosions, magic, etc.). See http://www.gamedev.narod.ru




Pages: 1 whole branch

Forum: "Main";
Current archive: 2002.01.08;
Download: [xml.tar.bz2];

Top









Memory: 0.82 MB
Time: 0.031 c
3-21960
Alenka
2001-12-05 12:53
2002.01.08
Help me please!


1-22242
Sour
2001-12-14 11:00
2002.01.08
POP3


4-22473
amamed_3071
2001-11-02 13:46
2002.01.08
Epson Printer commands


4-22491
NikRus
2001-11-04 18:09
2002.01.08
Is it possible to intercept keystrokes: Ctrl + Esc, Ctrl + Alt + Del


1-22021
Socol
2001-12-18 08:54
2002.01.08
Download file!





afrikaans albanian Arabic armenian azerbaijani basque belarusian bulgarian catalan Chinese (Simplified) Chinese (Traditional) croatian Czech danish Dutch English estonian filipino finnish French
galician georgian German greek haitian Creole hebrew Hindi hungarian icelandic indonesian Irish italian japanese Korean latvian lithuanian macedonian malay maltese norwegian
persian polish portuguese Romanian russian serbian slovak Slovenian Español swahili Swedish thai turkish Ukrainian urdu vietnamese welsh yiddish bengali bosnian
cebuano Esperanto gujarati hausa hmong igbo javanese kannada khmer lao latin maori marathi mongolian nepali punjabi somali tamil telugu yoruba
zulu
English French German Italian Portuguese Russian Spanish