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.56 MB
Time: 0.042 c
1-22056
Delphimun
2001-12-15 13:11
2002.01.08
How to create a resource using brcc32.exe?


1-22246
Andrey196
2001-12-16 22:03
2002.01.08
How to create a color cursor in Borland Image editor


1-22084
Mikhalyov Dmitry
2001-12-19 14:53
2002.01.08
Event lock


1-22117
Tulnyk
2001-12-19 18:59
2002.01.08
How to interrupt the launch of the file?


1-22087
Serg5
2001-12-19 15:14
2002.01.08
People, quite an easy question! Link to the procedure in one word.





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