Forums » C++ Framework » DebugDraw - draw lines, points easy »
| YuLei Liao | DebugDraw - draw lines, points easy | ||||
|---|---|---|---|---|---|
|
Added by YuLei Liao over 1 year ago
DebugDraw.h
DebugDraw.cpp
How to use:
|
||||
| Minggo Zhang | RE: DebugDraw - draw lines, points easy | ||||
|
Added by Minggo Zhang over 1 year ago
Thank you for your contribution. |
||||
| Zhe Wang | RE: DebugDraw - draw lines, points easy | ||||
|
Added by Zhe Wang over 1 year ago
I've added the link to sticky FAQ. Enjoy Coding, Enjoy Life. |
||||
| Ro Siade | RE: DebugDraw - draw lines, points easy | ||||
|
Thanks! You forgot put some comment and name of the author PS: Can you attach files? (lazy mode on) |
||||
| Zhe Wang | RE: DebugDraw - draw lines, points easy | ||||
|
Well, found a programmer lazier than me :) Enjoy Coding, Enjoy Life. |
||||
| RavalMatic BCN | RE: DebugDraw - draw lines, points easy | ||||
|
Added by RavalMatic BCN 8 months ago
I'm using cocos2d-2.0-x-2.0.2, added DebugDraw to a node and couldn't make it work. Are they any changes on the way cocos uses opengl to draw lines and points? |
||||
| YuLei Liao | RE: DebugDraw - draw lines, points easy | ||||
|
Added by YuLei Liao 8 months ago
Enrique Garcia Blanco wrote:
for cocos2d-x 2.x, use CCDrawing. https://github.com/dualface/quick-cocos2d-x/tree/master/hosts/libs/CCDrawing copy CCDrawing.cpp/.h to your project. CCCircleShape* circle = CCCircleShape::create(100); scene:addChild(circle); |
||||
| RavalMatic BCN | RE: DebugDraw - draw lines, points easy | ||||
|
Added by RavalMatic BCN 8 months ago
Thanks Yulei! |
(1-7/7)
take some credits man!.