Hello I'm stuck with doing something I thought would be trivial. I want to draw a colored rectangle representing the life points of the player. I did not find how to do it with cocos2D. I did not find any way to draw a colored rectangle. Sprites require an image, which can't be cropped or resized along one dimension only (scale affects both height and width). I'm quite surprised. Did I miss anything ? What would be the best way to do this?
Pascal -- You received this message because you are subscribed to the Google Groups "cocos2d discuss" group. To view this discussion on the web visit https://groups.google.com/d/msg/cocos-discuss/-/ew2cJ_y64PEJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/cocos-discuss?hl=en.
