Tuesday, September 27, 2011

Android/Eclipse: How to install Andoid SDK and Eclipse

Good morning, champs.
This will be a totally different post, till know you guys only saw iOS stuff and these things, from now on you'll have Android  (:


So for a good start, here's a tutorial, presented by a former coworker and JDS CEO, Jonathan Silva(@JonathanProfile), just press the little green fellow down here and turn on you Google Translation if you don't understand portuguese.



*If you guys have any problems understanding, please get in contact and i'll see if there would be any possibility in translating it.

Saturday, September 24, 2011

Pixelmator: Round Corners

Quick tip for those who do not use the Adobe Suit:


If you need to create round corners on a object, here it is:




Do not forget to "LIKE" this video.

App4U/Work: TwistMemory, SecretBalls, HungryFrog

*GREEN for English
*AMARELO para Português


Hi!


Here are the links for some of our apps:
Aqui estão os links para alguns dos nossos aplicativos:


#1 :  TWIST MEMORY:


http://itunes.apple.com/br/app/twist-memory/id457878965?mt=8




This is a memory twisting, psychedelic memory game. You just need to put up the pairs together as fast as you can in less then 5 minutes. Fun to spend you time and difficult stopping to play it.


Jogo que vai psicodelicamente pirar a sua memoria. Você só precisa juntar os pares o mais rápido possível, em menos de 5 minutos. Divertido para passar o tempo e difícil de parar de jogar.


*This was made with 100% legit code by Felipe Gringo(me) and Sergio Furlaneto Filho.


*Esse foi um código 100% feito por Felipe Gringo(eu) e o Sergio Furlaneto Filho.
        
#2: SECRET BALLS:


http://itunes.apple.com/br/app/secret-balls/id392074246?mt=8



This was the first app I put my hands on, so we worked like camels to do a new interface and bring some new stuff on it. It's just incredible. If you like a intelligent and nerdy game, this is the one for you. You just need to find out the right sequence and go to the next code, over and over!

Esse foi o primeiro aplicativo que me veio em mãos, então nós camelamos para fazer uma nova interface e trazer novas funcionalidades. Simplesmente incrível. Se você se interessa por jogos inteligentes e meio nerds, esse é pra você. Você só precisa acertar a sequência de cores e ir para o próximo código!

#3: HUNGRY FROG:



Wow, this kid here drove us crazy, it gave lot of work but the animations are spectacular, the game is fun and not so hard to play. You'll have to help this little green dude eat as many flies he can before the flies counter attack.

Wow, esse quase nos fez ir para em um sanatório, deu trabalho mas as animações ficaram espetaculares, o jogo é divertido e não é complicado. Você terá que ajudar esse carinha verde comer quantas moscas forem possíveis antes que as moscas contra-ataquem.


For more App4U apps go to: http://www.app4u.com.br/
Para mais aplicativos da App4U:  http://www.app4u.com.br/

If you want to get in contact with me go to CONTACT section.
Se quiser entrar em contato comigo clique na aba CONTACT. 

Cocos2D: How to create a "Credits" scene

How's it going, bros!?


Here's another fast a simple post to help you enhance you app and consolidate you name on the credits:




#import "cocos2d.h"
#import "CCLayer.h"
#import "MainMenu.h"

@interface Credits : CCLayer{
    CCMenu* GAME_CREDITS;
}

+(CCScene *)scene;
-(void)runAnimation:(CCNode *)node;
-(id)init;

@end






#import "Credits.h"


@implementation Credits

+(CCScene *)scene{
    
    CCScene *scene = [CCScene node];
    Game *layer = [Credits node];
    [scene addChild:layer];
    return scene;
    
}

-(void)backToMenu:(id)sender{
    [[SoundManager sharedSoundManager] playSound:@"TOUCH"];
    CCScene* _scene = [MainMenu scene];
    [[CCDirector sharedDirector]replaceScene:[CCTransitionMoveInL transitionWithDuration:1.0 scene:_scene]];
    
}

-(void)doIt{
    [self runAnimation:GAME_CREDITS];
}

-(void)removeMe:(CCNode*)node{
    //NSLog(@"ENTROU NO REMOVE ME");
    GAME_CREDITS.position = ccp(CENTER_X, CENTER_Y*(-1)+(-100));
    [self runAnimation:GAME_CREDITS];
}

-(void)runAnimation:(CCNode *)node{
    
    [node runAction: [CCSequence actions: [CCMoveTo actionWithDuration:15.0 position:ccp(CENTER_X,CENTER_Y*3+150)], 
                                          [CCCallFuncN actionWithTarget:self selector:@selector(removeMe:)],nil]];
}

-(void)credits{
    //NSLog(@"ENTROU NOS CREDITS");
    [self runAnimation:GAME_CREDITS];
}

- (id)init
{
    self = [super init];
    if (self) {
        
        CCSprite* background = [CCSprite spriteWithFile:@"SV-BACKGROUND.png"];
        background.position = ccp(CENTER_X, CENTER_Y);
        [self addChild:background z:1];
        
        CCLabelTTF* BACK_N = [CCLabelTTF labelWithString:@"+BACK" fontName:FONT1_1 fontSize:MENU_ITEM_SIZE]; BACK_N.color = ccBLACK;
        CCLabelTTF* BACK_S = [CCLabelTTF labelWithString:@"+BACK" fontName:FONT1_1 fontSize:MENU_ITEM_SIZE]; BACK_S.color = ccGRAY;
        CCMenuItem* iBACK = [CCMenuItemSprite itemFromNormalSprite:BACK_N selectedSprite:BACK_S target:self selector:@selector(backToMenu:)];
        
        CCMenu* back = [CCMenu menuWithItems:iBACK, nil];
        back.position = ccp(CENTER_X-115, CENTER_Y-150);
        [self addChild:back z:3];
        
   
        CCLabelTTF* LABEL_0 = [CCLabelTTF labelWithString:@"0" fontName:FONT0 fontSize:20];
        CCLabelTTF* LABEL_N = [CCLabelTTF labelWithString:@"N" fontName:FONT0 fontSize:20];
        LABEL_0.color = ccBLACK;
        LABEL_N.color = ccBLACK;
        
        CCMenuItemLabel* iLABEL_0 = [CCMenuItemLabel itemWithLabel:LABEL_0];
        CCMenuItemLabel* iLABEL_N = [CCMenuItemLabel itemWithLabel:LABEL_1];
        
        
        GAME_CREDITS = [CCMenu menuWithItems:iLABEL_0, iLABEL_N,  nil];
        
        GAME_CREDITS.position = ccp(CENTER_X, CENTER_Y*(-1));
        [GAME_CREDITS alignItemsVerticallyWithPadding:5];
        [self addChild:GAME_CREDITS z:2];
        
        [self performSelector:@selector(credits) withObject:self afterDelay:1.7];
    }
    
    return self;
}

@end


Monday, September 19, 2011

Cocos2D: How to install it?

Now that i successfully got it installed here's the step-by-step:


1)Get the Cocos2D stuff;
2)Open your TERMINAL;
3)Go to the directory you downloaded the Cocos2D stuff;
4)After that just bring the .sh file (install-templates.sh) in to the code line;
    4.1)if you're not an administrator, you'll neet to put sudo before everything in the line and after you'll need to put the admin password;
5)Open Xcode and be happy.


Good luck (:

Cocos2D: How to remove it?

Just a fast note on how to delete it.
I had to delete it because the installation got kind of crapy, so here it goes:


1) Open TERMINAL
2) Execute these steps:
    2.1) cd/
    2.2) cd Library/
    2.3) cd Application/
    2.4) cd Developer/
    2.5) cd Xcode/
    2.6) cd Templates/
    2.7) ls (just to confirm that the cocos2d is in there)
    2.8) rm -rfd cocos2d-iphone-1.0.1/
     2.9) ls (just to confirm that the work is done)
3)Open Xcode an the the little devils wont be there.




good night!

Thursday, September 1, 2011

Google Developer's Day: Task Accomplished

Yo, dudes!


It's time for a fiesta!
I'm in for Google Developer's Day 2011, how freaky can it get, huh?
Well, as soon as i have some time, i'm going to continue coloring the sacred code that made me get in but on the mean time i just have to thank Adonai for all the support and good code insights and to my company that held me warm for the 5 or 6 frenetic-coding-hours.


And here is the proof that i'm not playing you guys around:




So that's that and see yall next post.
Tweet