Cocos2D Terminal Application
        Posted  
        
            by 
                Hasyimi Bahrudin
            
        on Game Development
        
        See other posts from Game Development
        
            or by Hasyimi Bahrudin
        
        
        
        Published on 2012-08-28T03:27:17Z
        Indexed on 
            2012/08/28
            3:53 UTC
        
        
        Read the original article
        Hit count: 242
        
cocos2d
|automation
Is it possible to create a terminal application which uses cocos2d? I've tried to make one using cocos2d 2.x, but it requires a MacGLView to be initialized.
I need it so that I could program a terminal application that generates a screenshot given a TMX file and an optional preferred width or height parameter (for resizing). Then I can automate the generation of map previews for my game, instead of manually taking screenshots. It's not practical to load the actual TMX and resize it inside the game (what I'm currently doing), because each TMX file has 7 layers, my tile sheet is huge, and I have lots of levels.
© Game Development or respective owner