Multiple view support (AKA multiple directors) experiment

Forums Programming cocos2d support (graphics engine) Multiple view support (AKA multiple directors) experiment

This topic contains 10 replies, has 3 voices, and was last updated by  TheBMan 1 year, 7 months ago.

Viewing 11 posts - 1 through 11 (of 11 total)
Author Posts
Author Posts
June 15, 2012 at 11:03 pm #242269

xdev
@xdev

Hi,

Here is my test:

https://github.com/kextdev/cocos2d-iphone-multiview

cheers

September 6, 2012 at 8:48 pm #380300

riq
Keymaster
@admin

interesting. Could tell us the the internals/design approach you took ? Thanks.

September 6, 2012 at 8:56 pm #380301

TheBMan
Participant
@thebman

Looks nice however it would be beneficial if you updated it for the latest Cocos2D 2.0 since many things have been changed since the 1.x days.

September 6, 2012 at 9:48 pm #380302

xdev
@xdev

The main idea is switching cocos2d context (CCDirector, CCScheduler, etc…) during execution in different views.

+(CCDirector*)sharedDirector;

replaced by in multiview mode:

+(CCDirector*)switchDirector:(int)index;

I have hard patched cocos2d 1.0 with multiview, without bugs (many time spent for it). I think this logic should work in 2.0. I can past it to github if have reason.

I use it for multiple windows for chat and animation in classic Cocoa. Here is video of last stage dev version http://exxdev.kazantipa.net/files/video – 1:47

September 7, 2012 at 8:13 pm #380303

TheBMan
Participant
@thebman

Since 1.x is about to be phased out (no more updates for it), could you just update it for 2.x? If this works well I think @riq can use it to be implemented sooner in a new version of Cocos2D than later!

September 8, 2012 at 12:08 am #380304

xdev
@xdev

I thinking about 2.0 update, no problem with logic update, but many time for debugging. I don’t have much time, maybe month or two-three required for development in my case. I can paste 1.0 on github, maybe somebody can help with this faster. I work for another cocos2d extension, that in progress – animation CPU, that can integrated in Cocos2d Builder, etc…

September 8, 2012 at 5:00 am #380305

TheBMan
Participant
@thebman

Thats alright. Please do update it though since many of us are on Cocos2D 2.0. :)

September 12, 2012 at 8:24 pm #380306

xdev
@xdev

Good things if cocos3d and cocos2d 2.0 will be in multiview. I’m don’t work with cocos3d, I don’t know, maybe this is not really.

September 12, 2012 at 10:13 pm #380307

TheBMan
Participant
@thebman

Don’t do Cocos3D support just Cocos2D 2.0 support! For those using Cocos3D, they should be experienced enough to handle this situation on their own.

September 13, 2012 at 1:51 am #380308

xdev
@xdev

Hmm… I don’t understand about cocos3d, this is 90% of different architecture or something else?

September 14, 2012 at 5:01 am #380309

TheBMan
Participant
@thebman

Not sure I don’t use Cocos3D. I would focus on getting Cocos2D 2.0 support then we can worry about Cocos3D later.

Viewing 11 posts - 1 through 11 (of 11 total)

You must be logged in to reply to this topic.