VoyForums
[ Show ]
Support VoyForums
[ Shrink ]
VoyForums Announcement: Programming and providing support for this service has been a labor of love since 1997. We are one of the few services online who values our users' privacy, and have never sold your information. We have even fought hard to defend your privacy in legal cases; however, we've done it with almost no financial support -- paying out of pocket to continue providing the service. Due to the issues imposed on us by advertisers, we also stopped hosting most ads on the forums many years ago. We hope you appreciate our efforts.

Show your support by donating any amount. (Note: We are still technically a for-profit company, so your contribution is not tax-deductible.) PayPal Acct: Feedback:

Donate to VoyForums (PayPal):

Login ] [ Contact Forum Admin ] [ Main index ] [ Post a new message ] [ Search | Check update time | Archives: [1] ]


[ Next Thread | Previous Thread | Next Message | Previous Message ]

Date Posted: 09:52:54 10/12/02 Sat
Author: webwarrior
Subject: Re: Tastertur
In reply to: Stefanie 's message, "Re: Tastertur" on 04:31:04 10/08/02 Tue

>>hi ich wollte erst mal nur einen buchstaben über die
>>tastertur bewegen damit ih erstmal ne basis für die
>>spiele habe-
wenn du es für die spiele möchtest dann benutze gleich SDL (www.libsdl.org). c/c++ stellt keine fertigen guten funktionnen zur verfügung wie du die tasten lesen kannst; du solltest so oder so nicht jedes einzelne zeichen lesen, sondern nur den status der taste, also ob gedrückt oder nicht.
>>
>>Also:ich möchte wenn ich die pfeiltasten drücke ich
>>ein buchstabe in die richtung bewegt und weiß nicht
>>wie.
http://cone3d.gamedev.net
lies mal die ersten 3 tutorials aus der gfx with sdl series, das hilft dir bestimmt weiter
>>
>>Wenn ich kbhit() nehme dann nimmt er jede taste!! muss
>>ich was in die klammer schreiben?
kauf dir mal ein referenzhandbuch für c/c++, dann kannst du kbhit() nachschlagen und siehst ob du was schreiben must :)
>>
>>Sorry dumme fragen aber ich bin neu in c++!!
>>
>>THX
www.webwarrior.ch

[ Next Thread | Previous Thread | Next Message | Previous Message ]

[ Contact Forum Admin ]


Forum timezone: GMT-8
VF Version: 3.00b, ConfDB:
Before posting please read our privacy policy.
VoyForums(tm) is a Free Service from Voyager Info-Systems.
Copyright © 1998-2019 Voyager Info-Systems. All Rights Reserved.