Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / [DBP] Speedometer, tachometer dials

Author
Message
Visigoth
19
Years of Service
User Offline
Joined: 8th Jan 2005
Location: Bakersfield, California
Posted: 17th Aug 2009 22:37 Edited at: 18th Aug 2009 04:32
Function to create evenly spaced tickmarks for tachometer or speedometer display. Function uses sprites positioned on screen, and after you run the code, just do a print screen and paste it into your favorite art program.
Can control the total rotation of the tickmarks, the start location of the tickmarks, and the number of major ticks, up to 16.(counting zero).
I needed to do this because I want to make my own textures for the 3D speedometers/tachometers.


requires media in the attachment

Attachments

Login to view attachments
Visigoth
19
Years of Service
User Offline
Joined: 8th Jan 2005
Location: Bakersfield, California
Posted: 17th Aug 2009 22:37
screen shot

Attachments

Login to view attachments
Dark Dragon
16
Years of Service
User Offline
Joined: 22nd Jun 2007
Location: In the ring, Kickin\' *donkeybutt*.
Posted: 17th Aug 2009 23:01
Sounds Cool, By DPB Did u mean playbasic Or DBPro?

(\__/) HHAHAHAHAHAH!
(O.o ) / WORLD DOMINATION!!!!!!!!!!
(> < )
Visigoth
19
Years of Service
User Offline
Joined: 8th Jan 2005
Location: Bakersfield, California
Posted: 18th Aug 2009 02:38 Edited at: 18th Aug 2009 04:06
sorry, a typo, should be [DBP], maybe a mod can fix?

and fix my spelling of speedometer, as well? Sorry, I have no excuse for this sloppy typing.

Login to post a reply

Server time is: 2024-05-04 22:31:28
Your offset time is: 2024-05-04 22:31:28