Giter Site home page Giter Site logo

cocos2d-x-extensions's People

Contributors

spalx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cocos2d-x-extensions's Issues

cocos2d-x 3.0 RC2 incompatibility

It would be great if CCGestureRecognizer could be fixed to work with the latest release of cocos2d-x (3.0 RC2)

Any adjustments in sight?

Compile Error on cocos2d-x-3.0alpha0-pre

Hi... the latest master branch does not work with the latest cocos2d-x code,

mainly it is because cc_timeval is no longer there... thanks!

1> c:\development\client\cocos2dx\include\ccdeprecated.h(781) : see declaration of 'cocos2d::CCPoint'
1>c:\development\client\cocos2dx\cocos2d-x-extensions\ccgesturerecognizer\ccswipegesturerecognizer.cpp(90): warning C4996: 'cocos2d::CCEvent': was declared deprecated
1> c:\development\client\cocos2dx\include\ccdeprecated.h(536) : see declaration of 'cocos2d::CCEvent'
1>c:\development\client\cocos2dx\cocos2d-x-extensions\ccgesturerecognizer\cctapgesturerecognizer.cpp(64): warning C4996: 'cocos2d::CCEvent': was declared deprecated
1> c:\development\client\cocos2dx\include\ccdeprecated.h(536) : see declaration of 'cocos2d::CCEvent'
1>c:\development\client\cocos2dx\cocos2d-x-extensions\ccgesturerecognizer\ccswipegesturerecognizer.cpp(92): warning C4996: 'cocos2d::CCPoint': was declared deprecated
1> c:\development\client\cocos2dx\include\ccdeprecated.h(781) : see declaration of 'cocos2d::CCPoint'
1>c:\development\client\cocos2dx\cocos2d-x-extensions\ccgesturerecognizer\cctapgesturerecognizer.cpp(67): error C2653: 'CCTime' : is not a class or namespace name
1>c:\development\client\cocos2dx\cocos2d-x-extensions\ccgesturerecognizer\ccswipegesturerecognizer.cpp(101): error C2079: 'currentTime' uses undefined struct 'CCSwipeGestureRecognizer::ccTouchEnded::cc_timeval'
1>c:\development\client\cocos2dx\cocos2d-x-extensions\ccgesturerecognizer\cctapgesturerecognizer.cpp(67): error C2065: 'endTime' : undeclared identifier
1>c:\development\client\cocos2dx\cocos2d-x-extensions\ccgesturerecognizer\ccswipegesturerecognizer.cpp(102): error C2653: 'CCTime' : is not a class or namespace name
1>c:\development\client\cocos2dx\cocos2d-x-extensions\ccgesturerecognizer\cctapgesturerecognizer.cpp(67): error C3861: 'gettimeofdayCocos2d': identifier not found
1>c:\development\client\cocos2dx\cocos2d-x-extensions\ccgesturerecognizer\ccswipegesturerecognizer.cpp(102): error C3861: 'gettimeofdayCocos2d': identifier not found
1>c:\development\client\cocos2dx\cocos2d-x-extensions\ccgesturerecognizer\cctapgesturerecognizer.cpp(68): error C2653: 'CCTime' : is not a class or namespace name
1>c:\development\client\cocos2dx\cocos2d-x-extensions\ccgesturerecognizer\ccswipegesturerecognizer.cpp(104): error C2653: 'CCTime' : is not a class or namespace name
1>c:\development\client\cocos2dx\cocos2d-x-extensions\ccgesturerecognizer\cctapgesturerecognizer.cpp(68): error C2065: 'startTime' : undeclared identifier
1>c:\development\client\cocos2dx\cocos2d-x-extensions\ccgesturerecognizer\ccswipegesturerecognizer.cpp(104): error C2065: 'startTime' : undeclared identifier
1>c:\development\client\cocos2dx\cocos2d-x-extensions\ccgesturerecognizer\cctapgesturerecognizer.cpp(68): error C2065: 'endTime' : undeclared identifier
1>c:\development\client\cocos2dx\cocos2d-x-extensions\ccgesturerecognizer\ccswipegesturerecognizer.cpp(104): error C3861: 'timersubCocos2d': identifier not found
1>c:\development\client\cocos2dx\cocos2d-x-extensions\ccgesturerecognizer\cctapgesturerecognizer.cpp(68): error C3861: 'timersubCocos2d': identifier not found
1>c:\development\client\cocos2dx\cocos2d-x-extensions\ccgestur

removing CCTapGestureRecognizer problem

CCTapGestureRecognizer* feedLayerDoubleTapGesture = CCTapGestureRecognizer::create();
feedLayerDoubleTapGesture->setTarget(this, callfuncO_selector(TAMainGameLayer::showFeedingMode));
feedLayerDoubleTapGesture->setNumberOfTapsRequired(2);
feedLayer->addChild(feedLayerDoubleTapGesture, 2);

This is how i add my gesture to a layer.

When i remove the gesture or the layer, my CCMenuItemImage just won't work anymore. Any advise is much appreciated

CCActivityIndicator doesn't show

Im trying to use the CCActivityIndicator but I can't see it when I execute my game.

I'm using this code to initialize it:
CCActivityIndicator *indicator = CCActivityIndicator::create();
indicator->ignoreAnchorPointForPosition(false);
indicator->setParent(this);
indicator->setAnchorPoint(ccp(0, 0));
indicator->setPosition(ccp(0, 0));
indicator->startAnimating();

    addChild(indicator);

Should I do any special settup?

In the console I can read:
Cocos2d: cocos2d: CCSpriteFrameCache: Trying to use file ccactivityindicator.png as texture

I also tried CCProgressLayer in order to confirm there isn't any other problem and it worked perfectly.

I'm using cocos2dx 2.2

Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.