All Questions
6 questions
1
vote
0
answers
317
views
Error OpenGL null Cocos-2D/Visual Studio [closed]
When I try to execute a game code fully functional on Visual Studio 2013, using Cocos-2D (3.8.1) library this error jumps on screen. (I'm working on a laptop)
OpenGL 1.5 or higher is required (your ...
1
vote
1
answer
433
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
1
answer
1k
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 ...
-2
votes
1
answer
2k
views
How to make Moving road/track for android game? [closed]
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
1
answer
904
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.
...
1
vote
2
answers
1k
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 ?