Hi iforce2d,
Awesome editor by the way! I am looking into drawing similar grid you have in your editor onto cocos2d-x, do you have any pointer doing it?
What I am trying to do is have a grid in background so a user can drag a body around and snap to a grid cell, similar to your editor but in iOS and Android.
Any suggestions would be great!
Thanks!
drawing grid
Re: drawing grid
What exactly are you stuck on? The drawing part is just drawing lines...
The snapping part is just rounding the coordinates of the dragged location...
The snapping part is just rounding the coordinates of the dragged location...
-
- Posts: 41
- Joined: Thu May 29, 2014 5:01 am
Re: drawing grid
You are correct. My bad I was over thinking it 
