hiya - i'm making a new game and want to know how to make a simple rounded race track. i've done everything else but want to know what to use.
I've tried g.fillRoundRect(left.x,left.y,left.width,left.height,left.arcWidth,left.arcHeight);
but an error pops up
can anyone help - i want to make a simple race track like this one.
with g.fillRoundRect() i can't seem to finish the last 2 options as an error pops up like this g.fillRoundRect(left.x,left.y,left.width,left.height,left.arcWidth,left.arcHeight); these last two areas i don't know how to complete. plus resizing the screen won't be an issue thank u. I want to make it through java in eclipse.
These two parameter define if you are getting circle or oval/ellipse shape. So if the width and height are equal you drawing circle, if they are of different size you get oval. More on topic can be found at Sun tutorial: Working with Geometry
" tried to help anywayz." ?
Odd way of thanking those who gave you information based upon your less-than-precise posts. If by "tried to" you mean "didn't write the code for you", then perhaps you misunderstood their intent.
For Each ctrl As Control In Me.Controls("pnlMainPanel").Controls
If ctrl.GetType Is GetType(System.Windows.Forms.Panel) Then
For Each subCtrl As Control In ctrl.Controls
If subCtrl.GetType Is GetType(System.Windows.Forms.TextBox) Then
If subCtrl.GetType Is ...