Coder Social home page Coder Social logo

smoothdrawing-x's Introduction

SmoothDrawing-x

Draw smooth lines on Cocos2d-X.

This project is an extension to the excellent tutorial posted at [drawing-smooth-lines-with-cocos2d-ios-inspired-by-paper] (http://merowing.info/2012/04/drawing-smooth-lines-with-cocos2d-ios-inspired-by-paper) by Krzysztof, to Cocos2d-x (a cross-platform game engine framework for mobile). Rather than attempt to divert from the original and be different, it follows throughoutly the concepts and theories in the tutorial so that students are able to cross reference both materials (at least it is truth for the moment of writing).

I thought it can be an interesting educational walk-through to demo certain programming concepts adopted in cocos2d-x framework and the new C++11 to build a platform neutral application, in particular apps inspired by arts.

Sample image

alt text

Issues

As always all software projects are considered W-I-P (Works-In-Progress). Please check the Issues link for any known issues reported so far. I would also be happy to hear from you what you might have to say about the source as I am still learning how to code properly in the new world.

Cheers!

smoothdrawing-x's People

Contributors

bennyk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

smoothdrawing-x's Issues

can't compile with cocos2dx 3-13

Hello, I'm currently doing something simillar

Interesting project, but I can't compile it with cocos2dx 3-13.

linedrawer.hpp(369): error C2668: 'cocos2d::TrianglesCommand::init': ambiguous call to overloaded function
2>  c:\work\awesomenode\cocos2d\cocos\renderer\cctrianglescommand.h(74): note: could be 'void cocos2d::TrianglesCommand::init(float,cocos2d::Texture2D *,cocos2d::GLProgramState *,cocos2d::BlendFunc,const cocos2d::TrianglesCommand::Triangles &,const cocos2d::Mat4 &,uint32_t)'
2>  c:\work\awesomenode\cocos2d\cocos\renderer\cctrianglescommand.h(71): note: or       'void cocos2d::TrianglesCommand::init(float,GLuint,cocos2d::GLProgramState *,cocos2d::BlendFunc,const cocos2d::TrianglesCommand::Triangles &,const cocos2d::Mat4 &,uint32_t)'
2>  c:\work\awesomenode\classes\linedrawer.hpp(369): note: while trying to match the argument list '(float, int, cocos2d::GLProgramState *, const cocos2d::BlendFunc, cocos2d::TrianglesCommand::Triangles, const cocos2d::Mat4, int)'

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.