Autor Beitrag
breakdancer1111
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 148

Windows 7 Home Premium 64Bit
Delphi XE2 Starter
BeitragVerfasst: Mo 24.05.04 14:03 
Hallo,

ich möchte mein Spielfeld als Array machen. Weiß nur leider nicht wie.
Also ich möchte mehrer Texturen (32px x 32px) verwenden und dann da irgendwie
reinbekommen und anzeigen. Das ganze mit TImageSprites(delphix).

Hoffe mir kann jemand helfen. :roll:
FaTaLGuiLLoTiNe
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 200
Erhaltene Danke: 5

Windows 7, Windows 8.1
Delphi XE
BeitragVerfasst: Mo 24.05.04 14:11 
Ohne DelphiX zu kennen und aus dem Bauch heraus:

ausblenden Delphi-Quelltext
1:
var arrTextures: array [0..x, 0..y] of TSpriteImage;					


Besser wäre es noch davon erstmal einen Typ anzulegen. Für x und y musst du natürlich die für dich passenden Maximalgrenzen des Arrays (Anzahl Felder des Spielfelds horizontal/vertikal) eintragen.

_________________
<< FaTaLGuiLLoTiNe >>
Rhinoceroses don't play games!