Update from 6 to 7

Official forum for the Chipmunk2D Physics Library.

Update from 6 to 7

Postby KAMIKAZE » Wed Jan 21, 2015 10:02 am

Hello,

now, when chipmunk became free I decided to update my game for it.
Just replaced new lib and got this error that this class not found.
How now should I use autogeometry? Any new example?

Code: Select all
ChipmunkGLRenderBufferSampler *sampler = [[[ChipmunkGLRenderBufferSampler alloc] initWithXSamples:ws.width/downsample ySamples:size.height/downsample] autorelease];
KAMIKAZE
 
Posts: 4
Joined: Sun Jan 05, 2014 6:33 pm

Re: Update from 6 to 7

Postby ganesha » Wed Jan 21, 2015 10:59 am

It works as normal in 7.

You must import that class explicitly. Have you done that?
ganesha
 
Posts: 71
Joined: Mon Sep 06, 2010 1:29 pm

Re: Update from 6 to 7

Postby KAMIKAZE » Wed Jan 21, 2015 11:52 am

And can you please point me to this file in this github https://github.com/slembcke/Chipmunk2D
KAMIKAZE
 
Posts: 4
Joined: Sun Jan 05, 2014 6:33 pm

Re: Update from 6 to 7

Postby ganesha » Wed Jan 21, 2015 12:56 pm

Aha, I use the "old" commercial product Chipmunk Pro 7. I donĀ“t know how to find it in the repository.
ganesha
 
Posts: 71
Joined: Mon Sep 06, 2010 1:29 pm

Re: Update from 6 to 7

Postby KAMIKAZE » Wed Jan 21, 2015 1:11 pm

Because there is no such class)
KAMIKAZE
 
Posts: 4
Joined: Sun Jan 05, 2014 6:33 pm

Re: Update from 6 to 7

Postby KAMIKAZE » Fri Jan 23, 2015 5:47 am

So, I'm using cocos2d v2.2 and I need chipmunk autogeometry. In a past, I just downloaded trial version of pro and all works great. But now I want to update for 7 and I can't deal with it. Also 64bit is needed as well. And also of course for cocos2d 3.x.
KAMIKAZE
 
Posts: 4
Joined: Sun Jan 05, 2014 6:33 pm

Re: Update from 6 to 7

Postby AndyKorth » Sun Feb 01, 2015 3:29 pm

ChipmunkGLRenderBufferSampler is a utility class that isn't an official part of chipmunk.

I think the latest version is probably in Gemeralds:
viewtopic.php?f=1&t=2588

You can grab the utility class here:
https://github.com/slembcke/Gemeralds/b ... rSampler.m
User avatar
AndyKorth
Site Admin
 
Posts: 36
Joined: Wed Aug 15, 2007 3:56 pm


Return to Chipmunk2D Physics

Who is online

Users browsing this forum: No registered users and 3 guests

cron