How come:
[self schedule:@selector(update:) interval:0.5];
isn't the same as:
[self schedule:@selector(update:) interval:1/2];
A fast, easy to use, free, and community supported 2D game engine
How come:
[self schedule:@selector(update:) interval:0.5];
isn't the same as:
[self schedule:@selector(update:) interval:1/2];
1/2 returns an integer value of 0 so it would constantly update... Try 1/2.0 to return the proper value of 0.5.
Thanks :)
You must log in to post.