 |
forums.ps2dev.org Homebrew PS2, PSP & PS3 Development Discussions
|
| View previous topic :: View next topic |
| Author |
Message |
Sid-Ali
Joined: 29 Dec 2005 Posts: 10
|
Posted: Fri Dec 30, 2005 5:52 pm Post subject: fillRect() |
|
|
hello, I like to have a rectangle with a alpha layer with the functions image:fillRect(x, y, width, height, [ color = transparency-black ]), but how to use it to have a alpha layer I tested its but its does not function?? | Code: | | color = Color.new(255, 0, 0, 155) screen:fillRect(10, 10. 200, 150, color) | is syntax good? thank you to help me:D _________________ Sid-Ali |
|
| Back to top |
|
 |
Slopey
Joined: 31 Jul 2005 Posts: 24
|
Posted: Fri Dec 30, 2005 11:03 pm Post subject: |
|
|
screen:fillRect(10, 10. 200, 150, color)
should be
screen:fillRect(10, 10, 200, 150, color)
You've got a period after the y coordinate which should be a comma. |
|
| Back to top |
|
 |
Sid-Ali
Joined: 29 Dec 2005 Posts: 10
|
Posted: Sat Dec 31, 2005 5:35 am Post subject: |
|
|
Hello, sorry for this error it is right an error of slap:D _________________ Sid-Ali |
|
| Back to top |
|
 |
Sid-Ali
Joined: 29 Dec 2005 Posts: 10
|
Posted: Sun Jan 01, 2006 5:58 pm Post subject: |
|
|
Wouldn't Shine have you an answer? _________________ Sid-Ali |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|