I'm drawing a shape. Each time the shape intersects / overlaps with itself it inverts the color (black-white). I want stop it doing this! It should draw the shape entirely black, as I intended to do.
I believe the fill style is the problem. Type in this to fix it: shape:setFillStyle(Shape.SOLID, color, opacity) I think that's right. LMK if not. Hope that helps!
@jack0088 have you installed 2012.2.2? previously cmd+s didn't work on your mac. I've done some modifications on keyboard shortcuts. can you try again?
But currently I'm working in TextMate anyways - with the help of my own TextMate GiderosMobile Bundle (actually it's just one function, that allows files to run through GiderosMobile - no API implemented yet)
While I find the native IDE nice, lately I am missing a function list to navigate to much. So any 3rd party IDE is great that provides something like this.
I'm not a TextMate guru, but I can try to implement the API and auto-completion, as well as some regular expressions for folding code and such gimmicks.. But currently there is no time for this. You will have to wait a bit
Owltwins. Smart design and creative code. »Gideros Illustrator« - [svg|xml] scene designer using Adobe Illustrator®™ Within one line of code!
Comments
shape:setFillStyle(Shape.SOLID, color, opacity)
I think that's right. LMK if not.
Hope that helps!
... again, didn't worked:
»Gideros Illustrator« - [svg|xml] scene designer using Adobe Illustrator®™ Within one line of code!
I don't know much about drawing shapes but that seems to keep a solid fill with intersecting lines. Check the Shapes project in the Example folder.
»Gideros Illustrator« - [svg|xml] scene designer using Adobe Illustrator®™ Within one line of code!
But currently I'm working in TextMate anyways - with the help of my own TextMate GiderosMobile Bundle (actually it's just one function, that allows files to run through GiderosMobile - no API implemented yet)
Likes: atilim
»Gideros Illustrator« - [svg|xml] scene designer using Adobe Illustrator®™ Within one line of code!
While I find the native IDE nice, lately I am missing a function list to navigate to much. So any 3rd party IDE is great that provides something like this.
»Gideros Illustrator« - [svg|xml] scene designer using Adobe Illustrator®™ Within one line of code!
try IntelliJ Idea (free) with lua Plugin...
it's really nice... (a little bit slow anyway)
code completion, folding, function list, code formatting, color themes and many many features...
www.tntengine.com