![]() |
Re: map für spiele???
das ganze hat mich schon mal ein ganzes stück nach vorne gebracht, thx! :-D
allerdings hab ich da noch ein problem: wie stelle ich es an, dass wenn ich zum beispiel auf meiner map ein kleines auto hab und eine wand, dass das auto nicht über die wand fährt? muss ich das alles einzeln mit if-then-else-blöcken definieren? |
Re: map für spiele???
Hi!
Wieso alles einzeln? Man gehe davon aus, Wand sei Typ=1 und Straße sei Typ=2; Die Map sieht so aus: 22222221 Postion des Autos: 0; Also
Delphi-Quellcode:
newpos:=pos+1; // eins nach rechts in dem Fall fahren
if (newpos.typ = 1) then //Nein else inc(pos); Ciao Frederic |
Re: map für spiele???
offtopic...
Zitat:
^^ich hab ihn nich gefragt, wie er es denn machen würde :roll: |
Re: map für spiele???
Hi!
Zitat:
Ciao Frederic |
Re: map für spiele???
Zitat:
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 01:43 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 by Thomas Breitkreuz