![]() |
Re: Zork - Ein Textadventure
Zitat:
die karte ist ein einfaches Bild. wie soll ich di räume zuordnen?einfach die koordinaten auf dem bild zu speichern wäre blöd, da diese sich wohl verschieben können. hat jemand sonst noch eine idee? gruß |
Re: Zork - Ein Textadventure
Du kannst folgendes machen:
Delphi-Quellcode:
Immer, wenn sich die Koordinate ändert:
procedure TForm1.FormCreate(Sender: TObject);
var orginal: TPicture; begin orginal := TPicture.Create; orginal.Assign(Image1.Picture); end;
Delphi-Quellcode:
Image1.Picture.Assign(orginal);
Image1.Canvas.Pixels[x, y] := clRed; |
Re: Zork - Ein Textadventure
Zitat:
|
Re: Zork - Ein Textadventure
okay, das mit der info werd ich wohl noch machen.
gruß |
Alle Zeitangaben in WEZ +1. Es ist jetzt 03:10 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz