About Archive Tag Cloud Translations RSS

You are writing a comment about Creating Slideshows with Cocos2d iPhone, here is a quick summary:

This article looks at the complete code for creating a slideshow with Cocos2d iPhone. For example, you may need to use a combination of screenshots and text to teach new players how to play your game, and this class will show you how to accomplish that.


You are responding to this comment written by Juan Sebastian Muñoz Arango on January 29th 2009, 11:26.

Hiya!, I've found this blog pretty interesting, and a log of articles very very usefull.

I want to point some things tho.

-(NSString *)fontName { return fontName }

there's a ; missing at the end of the return.

I think, you'll have to import "cocos2d.h" in the SlideShowLayer.h file, as it gives problems because it doesnt know what is the Director

And to finish (and I dont know how to fix this:P) there are 2 warnings on the dealloc function at:

[fontSize release]; //Warning: Invalid receiver type 'int' fontSize = nil;//Warning: assignment makes integer prom pointer without a cast

Even tho, after these little things, all I can say is Great Post!!! keep them like that!

your blog has been helping me a lot, thanks! ;)

Please also, let me know where you fix those warnings, or tell me how can i fix them :S!

regards!

Juan Sebastian


Please be aware that comment forms go stale after one hour.





Comments may make use of LifeFlow MarkDown. Raw html will be escaped.


Quick Introduction to LifeFlow MarkDown Syntax

A highlighted code block:

@@ ruby
def a (b, c):
  b * c
end
@@

Other common languages work as well: scheme, python, java, html, etc.

Other markdown syntax:

 ### This is an h3 title
#### This is an h4 title
**this is bold**
*this is italics*

1. This is an
2. ordered list

* And an unordered
* list too

[this is a link](http://www.lethain.com/ "Lethain")