Jump to content


DJking

Member Since 21 Apr 2008
Offline Last Active Oct 05 2012 11:51 PM

Posts I've Made

In Topic: Rotating The Hud With The Camera?

27 May 2010 - 01:32 PM

Thanks for the help (even though I feel like an idiot for not knowing this...) i've got it working now!!

In Topic: Rotating A View Around An Off-center Position

27 May 2010 - 01:31 PM

Nice example! its helping me loads!

In Topic: Rotating The Hud With The Camera?

26 May 2010 - 08:27 PM

Why dont you rotate it by whatever variable rotates the screen?


I didnt use a variable to rotate the screen, just the built in function...

In Topic: Rotating The Hud With The Camera?

26 May 2010 - 07:37 PM

Nope, the problem still persists. here's the code so you can help out more...

draw_text_transformed(view_xview[0]+32,view_yview[0]+16,"Lap",1,1,sin(degtorad(view_angle[0])))
draw_text_transformed(view_xview[0]+96,view_yview[0]+16,my_laps,1,1,sin(degtorad(view_angle[0])))

draw_text_transformed(view_xview[0]+32,view_yview[0]+448,round(spd*10),1,1,sin(degtorad(view_angle[0])));
draw_text_transformed(view_xview[0]+96,view_yview[0]+448,"K/mh",1,1,sin(degtorad(view_angle[0])));

draw_text_transformed(view_xview[0]+576,view_yview[0]+448,score,1,1,sin(degtorad(view_angle[0])));
draw_text_transformed(view_xview[0]+480,view_yview[0]+448,"Score",1,1,sin(degtorad(view_angle[0])));

In Topic: Rotating The Hud With The Camera?

26 May 2010 - 06:04 PM

Well, what you need to do is use sin() and cos() on degtorad(view_angle[0]) to work out the correct positioning.


i'll try that...