Quantcast
Channel: cocos2d-x - Cocos Forums
Browsing all 2748 articles
Browse latest View live

Disable multitouch on scrollview only

@c_h_r_i_s wrote: In my app I have a scrollview element. I have multitouch enabled and I want to keep this. If I touch the scrollview with 2 or more fingers then the amount the scroll view moves by is...

View Article


Image may be NSFW.
Clik here to view.

HIGH energy consumption and GPU load on empty cocos2d-x starter project

@Frogsy wrote: Hi Guys! After receiving a lot of complains for devices heating up, we have been running some tests one our games and noticed unusual high energy consumption on some devices. We have...

View Article


Child binds wrong parent

@slavikus wrote: Hi guys, I have project with hierarchy:->mainNode--> mapNode---> unitSprite--> cameraNode I have units which had added to mapNode in onEnter method when mapnode was...

View Article

Undefined reference to rand, atof and etc

@romase wrote: I've built my game with command cocos run -p android --ap android-21, it works fine, my game successfully started on 2 diffrent devices with android 5.0 and 6.0.1, but when I tried to...

View Article

Image may be NSFW.
Clik here to view.

Looking for a push notification service

@drakon99 wrote: Hi guys! I'm looking for a cheap push notification service for cocos2d-x.The ideal service for me should be:- Free (or very cheap)- Easy to integrate in iOS and Android Do you have...

View Article


Problem with SpriteFrameCache class

@Boby wrote: The SpriteFrameCache holds a list of sprite frames that have already been loaded and a list of .plist files that have already been parsed and 'transformed' to sprite frames and cached....

View Article

How to detect collision betwen sprite & drawnode (draw segment)?

@anggaaryas wrote: Hi, guus. How to detect collision betwen sprite & draw segment? I can create physicbody for the sprite, but still can not to create physicbody for drawsegment. I ever use...

View Article

Development process with cocos2d-x

@rnodal_cocos wrote: Hello, I'm new to cocos2d-x and I got a very simple small demo working under VS. I would like to now run that under my android phone. I have a created a few scenes and I'm...

View Article


JNI DETECTED ERROR IN APPLICATION using JNIEnv* from thread

@Basconje wrote: Hi i work on project writen on cocos2dx v3.0 alpha , android studio v 2.33 ndk v: 10.ein project i have to get value from c++ in java , the problem only then app run in dev version it...

View Article


How to detect collision betwen sprite & drawnode (draw segment)?

@anggaaryas wrote: Hi, guus. How to detect collision betwen sprite & draw segment? I can create physicbody for the sprite, but still can not to create physicbody for drawsegment. I ever use...

View Article

Transform matrix to scale children of a scrollview

@eudox wrote: I would like to make a scrollview that will scale the children based on their y coordinate (think the intro to the star wars movies). This means scaling the children based on their...

View Article

Game crashes after call to setPhysicsBody

@rnodal_cocos wrote: Hello, I'm getting this very strange crash after I try to add a physical body to my sprite. Exception thrown at 0x00E18D3D (libcocos2d.dll) in Game.exe: 0xC0000005: Access...

View Article

Is there a sample app or something similar for cocos socket.io

@ManaInfested wrote: I learn best from looking at sample code and was wondering is there any for the socket.io for cocos2dx? I have tried looking at the SocketIO.cpp File but it just isn't clicking...

View Article


Problem with Android-Studio

@zerodarkzone wrote: Hi,I just finished a test app to try cocos, I can build everything in Android studio but I have a little problem, when I run my app from Android-studio it works perfectly fine,...

View Article

Dt and frame rate

@elitdie wrote: Can I trust to update(dt) ?Is frame rate has no influence to computations?I preffer to do duration actions by cc.Action. But there are no instruments sometimes (like missing actions...

View Article


Changing parent-child structure at TMXLayer

@PaPiPuGames wrote: I'm trying to changing parent-child structure in TMXLayer(SpriteBatchNode).The code is below. TMXTiledMap *tmxmap = TMXTiledMap::create("sample_map.tmx"); TMXLayer* ObjectsLayer =...

View Article

Cross Platform Splash Scene

@sheshmoshen wrote: Hello I have been searching for a solution to create a correct splash scene that runs in the backgroundwhile all resources are loading. I'm running into problems, i have tried to...

View Article


Can I control mipmapping distance?

@dlquh wrote: HI I am making 3d project I need to change mipmapping distance. Can I control mipmapping distance ? Posts: 1 Participants: 1 Read full topic

View Article

Cocos2D-x tizen build for Tizen wearable

@himanshu_saini wrote: Hi, how to port cocos2d-x project for tizen watch .if anybody have idea please help me. Posts: 1 Participants: 1 Read full topic

View Article

Cocos2dx Socketio Server-side Example,Tutorial,Guide Needed

@ManaInfested wrote: Hello Everyone i learned how to handle network client for socket io from the socketiotest file. Is there anything anyone knows of that can help teach me the server side? Posts: 1...

View Article
Browsing all 2748 articles
Browse latest View live


Latest Images