Advertise Books Events Forum News Social Networking Support Us

sdkIQ for iPhone
($4.99)

Shape Up
($0.99)

Your First iPhone App
($1.99)

iVidCam Free
(free)

Kid Art
($0.99)

iPUBQUIZ
(£1.19)

ArtStudio
($3.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 06-01-2009, 09:53 AM   #5 (permalink)
iwind
New Member
 
Join Date: May 2009
Location: Beijing, CN
Posts: 23
Send a message via MSN to iwind Send a message via Skype™ to iwind
Default

The schedule and unschedule only work on classes who inherited from CocosNode, that make me very sad, even my own class interface inherited CocosNode:

Code:
@interface KAnimation : CocosNode {

}
@end
then i try to schedule a selector like this:
Code:
[self schedule:@selector(_playFrame:) interval:1];
Build and run the application, i found the selector _playFrame: never be called.

I think cocos2d framework still need to be improved for more easy-to-use.
iwind is offline   Reply With Quote
 
Enter the iPhone App Challenge!  Win $500!
» Advertisements
» Stats
Members: 24,212
Threads: 38,996
Posts: 171,042
Top Poster: smasher (2,569)
Welcome to our newest member, wardz
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 06:07 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.