Autor Beitrag
rmasterb
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 71



BeitragVerfasst: Fr 31.10.03 11:25 
kann mir einer sagen wie ich( zb für das proggen eines kampfspieles) mehr als drei tasten auf einmal gleichzeitig nutzen kann???
obbschtkuche
Gast
Erhaltene Danke: 1



BeitragVerfasst: Fr 31.10.03 11:59 
du kannst ein 256 element großes boolean-array erstellen und dann jeweils in onkeyup und onkeydown das entsprechende element auf true bzw. false setzen
rmasterb Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 71



BeitragVerfasst: Fr 31.10.03 12:53 
hmm ja das ist eine möglichkeit aber es muß doch auch anders gehen da es schon ein bischen doof ist dass ich nicht 4 tasten gleichzeitig abrufen kann. zumal bei einem kampfspiel schon mal mehr als 4tasten gedrückt werden
Gausi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 8554
Erhaltene Danke: 481

Windows 7, Windows 10
D7 PE, Delphi XE3 Prof, Delphi 10.3 CE
BeitragVerfasst: Mi 05.11.03 13:17 
Zitat:
du kannst ein 256 element großes boolean-array erstellen

Kann sein, dass cih da was falsch verstehe, aber meine tastatur hat keine 256 Tasten. Noch nicht einmal, wenn ich die verschiedenen Multimedia-tasten mit einrechne. Ungefähr 110 hat doch eine normale Tastatur, oder?

_________________
We are, we were and will not be.