![gideros change color of sprite gideros change color of sprite](https://discuss.cocos2d-x.org/uploads/default/optimized/3X/0/f/0f9c21c9c6df675d1911e52a40f4386e0438f798_2_1380x954.png)
![gideros change color of sprite gideros change color of sprite](https://i.ytimg.com/vi/11gajSBSO6Y/maxresdefault.jpg)
Shape:setFillStyle(Shape.SOLID, 0xff0000) Then we can begin drawing arbitrary shape and once we've done, we simply set position of the text and add it to the stage to be rendered local shape = Shape.new()
GIDEROS CHANGE COLOR OF SPRITE FULL
We will use a solid red color the fill style and 5px width blue line with 1 alpha (or full opacity) To accomplish that, we need to create Shape object and set its fill and line styles. Local text = TextField.new(tahomaFont, "Hello World!!!") Then we create TextField object by passing Font object and text that we want to display.Īfter that we simply set position of the text and add it to the stage to be rendered local tahomaFont = TTFont.new("fonts/tahoma.ttf", 20, true) We provide path to the font file, size of the text and optional boolean parameter which indicates if the image should be filtere (anti-alised) To display text, we firstly need to create Font object, in this case we will use TTFont. Then we create Bitmap object, position it at some coordinate (default are 0,0) and add it to the stage to be rendered local bmp = Bitmap.new(Texture.new("images/ball.png", true)) To display image, we firstly create the Texture object by providing path to the image file and optional boolean parameter which indicates if the image should be filtere (anti-alised) That's why I've prepared 10 simple steps you can take while trying to learn more about Gideros and evaluate it as your choice for cross platform mobile development tool 1. But what you usually can't evaluate from the first sight, is the learning curve and the feeling of the tool while developing/managing project When evaluating them, you can usually check the feature list, supported platforms and prices, all the information that can help you decide.