6 years ago
[disclaimer]
This is a personal blog. The opinions expressed here represent my own and not those of any of my employers or customers.
Except if stated otherwise, all the code shared is reusable under a MIT/X11 licence. If a picture is missing a copyright notice, it's probably because I'm owning it.
Showing posts with label chipmunk. Show all posts
Showing posts with label chipmunk. Show all posts
Thursday, March 14, 2013
Await in the Land of iOS - Collisions in Chipmunk
Friday, March 1, 2013
Working around the reverse callback limitation on Xamarin.iOS
There's one annoying technical limitation of Xamarin.iOS if you have to pass a C# delegate instance to unmanaged code. It's not new, and it's well documented.
But still, having to flag the callback with an attribute and no instance method makes an API hard to use if you don't care that much about the internals of the library you're consuming.
I'm currently polishing the Chipmunk binding for Xamarin.iOS, and the cpSpace has some functions taking callbacks, like cpSpaceEachBody or cpSpaceAddPostStepCallback.
But still, having to flag the callback with an attribute and no instance method makes an API hard to use if you don't care that much about the internals of the library you're consuming.
I'm currently polishing the Chipmunk binding for Xamarin.iOS, and the cpSpace has some functions taking callbacks, like cpSpaceEachBody or cpSpaceAddPostStepCallback.
Monday, February 11, 2013
Chipmunk bindings for MonoTouch
![]() |
| (c) S. Delcroix 2013 |
At this point in time, the ~2000 lines of manually crafted lines of code can be found
Tuesday, February 5, 2013
Our business app doesn't need your game development skills (using damped springs to place labels on a map)
The problem
Positioning labels on a map, a chart, a plan is a problem every UI developer face at one time or another if he has the chance to work on rich business app. This problem is NP-Hard for non-trivial cases. I faced that issue twice. First while building a silverlight charting library, and then very recently for positioning labels around a pin on a plan. This post isn't about how we solved those two cases. For the charting problem, we went for an algorithmic solution which was working but not optimal. For the second, I don't know how they solved it as I didn't took the job.
Subscribe to:
Comments (Atom)



