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.

AppGameKit Classic Chat / DrawEllipse Parameters Wrong?

Author
Message
MobileCreator
13
Years of Service
User Offline
Joined: 1st Jun 2011
Location: Ottawa - Canada
Posted: 22nd Nov 2014 05:32
The DrawEllipse documentation shows

DrawEllipse( x, y, radiusx, radiusy, color1, color2, filled )

but the field explanations says:

x - The X component of the center of the ellipse.
y - The Y component of the center of the ellipse.
radiusx - The radius of the ellipse in the X direction.
radiusy - The radius of the ellipse in the Y direction.
red - The red component of the ellipse color.
green - The green component of the ellipse color.
blue - The blue component of the ellipse color.
filled - 1=filled, 0=empty.

So it seems there are only two colours, or RGB?

Thanks

----------
Paulo
http://c64programming.wordpress.com
Hockeykid
DBPro Tool Maker
17
Years of Service
User Offline
Joined: 26th Sep 2007
Location:
Posted: 22nd Nov 2014 07:10
Use the MakeColor() command for color1 and color2.


Sean

easter bunny
12
Years of Service
User Offline
Joined: 20th Nov 2012
Playing: Dota 2
Posted: 22nd Nov 2014 07:34
Yep, it's actually a gradient.

Do it like this:




Audacia Games - Latest WIP - AUTOMAYTE 2.1, AppGameKit one click deploy to Android
"When you've finished 90% of your game, you only have 90% left"

Login to post a reply

Server time is: 2024-11-25 11:35:25
Your offset time is: 2024-11-25 11:35:25