GithubHelp home page GithubHelp logo

effectnodes-for-cocos2dx's Introduction

EffectNodes for Cocos2dx

by yang chao (wantnon), 2014-6-26

screenshot

EffectNodes for Cocos2dx is a collection of 2d special effects implemented with cocos2dx. i will add more when i got good effects.

EffectNodes is based on cocos2dx. there are branches for cocos2dx 2.x and cococs2dx 3.x:

on Github:
EffectNodes for cocos2dx 2.x (EffectNodes v2): https://github.com/wantnon2/EffectNodes-for-cocos2dx/tree/v2
EffectNodes for cocos2dx 3.x (EffectNodes v3): https://github.com/wantnon2/EffectNodes-for-cocos2dx/tree/v3

on git.osc:
EffectNodes for cocos2dx 2.x (EffectNodes v2): https://git.oschina.net/wantnon2/EffectNodes-for-Cocos2dx/tree/v2/
EffectNodes for cocos2dx 3.x (EffectNodes v3): https://git.oschina.net/wantnon2/EffectNodes-for-Cocos2dx/tree/v3/

executable program download(可执行程序下载): http://git.oschina.net/wantnon2/EffectNodes-for-Cocos2dx/attach_files

screenshots:

screenshot

screenshot

screenshot

screenshot

screenshot

screenshot

weibo: http://weibo.com/superGerm

qq group: 338565878

email: [email protected]
blog: http://user.qzone.qq.com/350479720/blog/1403785410

effectnodes-for-cocos2dx's People

Contributors

wantnon avatar wantnon2 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  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

effectnodes-for-cocos2dx's Issues

v3: pass uniform value should use cocos2dx 3.x style

currently in EffectNodes v3, because it's translated from v2, for convenience, i use a customCommand to pass uniform value, this is not efficient and comfortable to code, i should modify it to cocos2dx 3.x style: set uniform values to program and cache, but do not pass to glProgram immediately, actual
pass uniform values happens automatically when the command is being executed. reference to cocos2dx 3.x samples.

soft shadow is not working on real device

Hi, first thank you for your code
i found that soft shadow is not working on real device
im using iphone 6 ,OS 8.3
cocos2d-x 3.4
the game is not crashing but the shadow is not showing ,a rectangle body showed on the right side .
i attached Simulator and Real device Image
Thank you,
Kotaiba
ios simulator screen shot may 2 2015 12 30 33 am
img_0071

ripple特效,使用render texture截图的时候显示不全

在ripple demo 中,在ripple node 下添加一个背景

    auto bg = Sprite::create("demoRes/tableCloth.png");
    bg->setPosition(Vec2(visibleSize.width/2 , visibleSize.height/2));
    this->addChild(bg);

然后执行 render texture 截屏

   auto render = RenderTexture::create(visibleSize.width, visibleSize.height);
   render->begin();
   Director::getInstance()->getRunningScene()->visit();
   render->end();
   Director::getInstance()->getRenderer()->render();
   this->addChild(render,10,"render");

正常显示

12 47 03

使用RenderTexture 截的图
12 47 05

可以看出 图片的左侧和下侧 都没有显示全,
而在我自己的竖屏项目中,iphone基本可以正常显示,没有太明显的裁减的情况,但是在ipad上左侧被裁减的很严重

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.