Tagged Questions
1
vote
1answer
248 views
Adjust sprite bounds of the visible part of texture
Is there any way to adjust the boundaries of the visible part of the sprite? To make it easier to understand: I have a texture, such as shown at figure 1. Then I break it into pieces and fill the ...
0
votes
1answer
531 views
glBlendFunc transparency in cocos2d?
GL_ONE, GL_ONE
This makes the flamingoes transparent on:
http://www.andersriggelsen.dk/glblendfunc.php
but not in cocos2d using:
sprite.blendFunc = (ccBlendFunc){GL_ONE, GL_ONE}
How can I achieve ...
-1
votes
1answer
813 views
How to make Moving road/track for android game?
I am very much new to Android game development. and i have little idea about the canvas and open GL. in one of my requirement i wanted to draw a moving road/track(Jazzy). how should i start. please ...
1
vote
1answer
431 views
How can I place a ProgressBar in Android using Cocos 2d?
I want to place a horizontal progress bar in my Android application and I want to change its progress color. I used the following code, but the progress bar is not being displayed.
CCProgressTimer ...
1
vote
2answers
483 views
How can I disable/dim the screen when I click the pause button?
I am working in an android game using cocos2d. I want to dim the background screen when I click the pause button.
How can I do this ?