Quantcast
Channel: Cocos Forums - Latest topics
Browsing all 17070 articles
Browse latest View live

Shader on Sprite makes it disappear

@brokenbeta wrote: Can anyone explain to me why the following sprite disappears? var shaderProgram = new cc.GLProgram(); shaderProgram.initWithVertexShaderByteArray(cc.SHADER_POSITION_TEXTURE_VERT,...

View Article


Cocos2d-x 3.11 and Spine error

@windbk wrote: Hello,I can't use Spine in my cocos2d-x version 3.11. I don't understand why but spine work well in the example code. Can't #include Can you help me? Posts: 1 Participants: 1 Read full...

View Article


Image may be NSFW.
Clik here to view.

Through the Playground

@Victor_K wrote: Recently I've participated in a game jam for the very first time. The jam was about adventures ( http://jams.gamejolt.io/adventurejam2016 ) and our team decided to make a classic...

View Article

Image may be NSFW.
Clik here to view.

Not hidden elements in ListView cocos2d-x v3.10

@you02 wrote: Also to scroll through the list and remains the element is displayed without hiding. auto* listNode = CSLoader::getInstance()->createNode("res/ListNode.csb"); listNode ->...

View Article

Image may be NSFW.
Clik here to view.

Cannot get a part of sprite correctly

@cthulhuu wrote: Hi. I've got a single 1024x1024 png file as a tileset (spritesheet) where each tile is sized as 32x32. I am trying to get one tile. I tried this first; Sprite *tile =...

View Article


Player rotates in slow motion with gravity

@lyinch wrote: Hey,I have a scene with gravity, a collision box on my sprite and one around my tile map. My problem is, that my player tilts very slow on edges, and it's like a slow motion movement:...

View Article

How to change volume with Simple Audio Engine

@komyg wrote: Hi, I am developing a game for iOS and Android using Cocos2d-X 3.10 and I am having trouble chaning the effects volume using the Simple Audio Engine. I've seen the documentation and the...

View Article

SDKBOX Play C++: NullPointerException after submitScore()

@Semiranis wrote: How to reproduce it:- Sign into Google Play- turn off internet connection- submit score My code: if (sdkbox::PluginSdkboxPlay::isConnected())...

View Article


[Paid] Job to redo a cocos2d v2.1 game in cocos2dx c++

@Iancu_Tudor wrote: Hey Guys, We have a game in cocos2d v2.1 that we want to bring to android, the best solution is to redo it in cocos2dx c++. We are interested in someone to do it, the job is a paid...

View Article


Compile Error [Build_Native.py] - NDK r9d - Please Help!

@itzo wrote: I am getting the following error when compiling build_native.py for an Android Project using cocos2dx 3.2. The NDK I use is r9d, but I also tested with r10e. Both are getting the same...

View Article

Image may be NSFW.
Clik here to view.

Cocos Creator 1.1.0 Beta on cocos.com

@luke2125 wrote: Hi, I went over to the below link: forum.cocos.com Cocos Creator 1.1.0 beta 内测版发布帖(5月19日更新beta.5) 5月19日更新 beta.5 Cocos Creator v1.1.0-beta.5 内测版发布: v1.1.0-beta.5 Windows 下载...

View Article

[Bug] Moving a font in the Asset folder view breaks the label connection to...

@coindrop wrote: I moved a TTF from one folder to another in the "Asset folder" view and that apparently breaks the connections to all label components that uses the font in your project. Luckily it...

View Article

Performance in Canvas

@k0rs4r wrote: Hi Guys!I just created empty project with Canvas size 480x640. And put a background image with similar size. And fps on my Android 4.4 and Default browser drops to 38 fps from 60 fps...

View Article


Modifying cocos source in a cocos creator project

@Alekhine wrote: Say I have a Cocos Creator project and I wanted to add a public property to cc.Sequence for instance. Which file should I delve into and start modifying, is it:A)...

View Article

Disable scaling for Sprite when it initialised with texture2d

@Igor wrote: I created texture with size 80x80 pixels. Than initialised Sprite with that texture. But when I add sprite as child to scene, I have 55px Sprite size ( the content scale factor is 1.5 )....

View Article


Compiling Android Studio on Mac uses wrong SDK Version

@lyinch wrote: Hey, I wanted to compile the project I'm working on fir Android Studio on OSX: cocos compile -s ~/Desktop/... -p android --android-studio I get the following error: FAILURE: Build...

View Article

Image may be NSFW.
Clik here to view.

Adding asio.boost to proj.win8.1-universal

@projectgoo wrote: Hi, I wanted to ask, how to add asio.boost lib into the proj.win8.1-universal project ?In the shared project, there is no option to link external lib ? Thanks Posts: 1 Participants:...

View Article


Compile error while building for android using cocos creator v1.0.3

@OmerAslam wrote: I created project using cocos creator v 1.0.3 and i am getting this errori think this error related to "org.apache.http.legacy.jar" but i don't know where to paste...

View Article

A simple way to loop animation for a duration

@jaman4dbz wrote: For my pathing of my character, I sequence animations and use callfunc to cancel the previous animation action, before starting a new one. This is just such a crummy way to switch...

View Article

Bouncing ball inside a circle without physical system

@Rodrigo077 wrote: I'm trying to make a game, and a essential part it is bouncing a ball in a circle. I thought I'd do without using physical system, I thought unnecessary.So I used the following...

View Article
Browsing all 17070 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>