Bazinga-Productions Life of an Java/iOS-Developer

18Jan/120

Scoreboard for iPad 1.7

Scoreboard for iPadI just released another update of my score keeping app Scoreboard for iPad.

The update adds another optimized Scoreboard for Phase 10 and also a special feature to throw dices directly inside the app. The update is available immediately on the App Store.

Scoreboard for iPad allows you to save your results from all different kind of games in just one simple app. Within an clean and intuitive interface it offers a default Scoreboard with automatic calculation of the horizontal and vertical sum, a tallysheet, a simple scoreboard for games like foosball and optimized Scoreboards for Phase 10, Yahtzee and Thirty-One.
The update also adds another feature that allows you to throw some dices inside the app.

Scoreboard is the perfect combination of traditional gaming with new technology. You don't have to pay attention to the score anymore and you can be sure that always have the correct score, but you can still enjoy playing games with your friends and family! Thanks to the optimized input methods for some games it's fast and intuitive to enter the score.
You can also save all the different kinds of Scoreboards and continue playing another time. Scoreboard for iPad also enables you to share your results with your Friends and Family directly out of the App.

Features:

  • Default Score table
  • Optimized Scoreboards for the following games: Yahtzee, Phase 10, Thirty-one
  • Simple Scoreboard
  • Tally sheet
  • Unlimited amount of players
  • Save the Scoreboards and share them with your Friends
  • Roll some dices inside the app

Device Requirements:

  • Compatible with iPad
  • Requires iOS 3.2 or later
  • 3.8 MB
You can get Scoreboard for iPad here on the AppStore:
AppStore
For more Information check this site out:
Scoreboard for iPad
7Oct/110

iBombU HD

largeIcon

I just released my latest App yesterday!


The App is called iBombU and it's a multiplayer game for the iPad and your aim is basically to blow up your opponents.

You can play with up to 4 Players on one iPad and as I already said your aim is to blow up your friends and be the only player who survived.
There are also some Power-Ups spawning after you destroyed a block, so for example you can increase the Radius of your Bombs with a Power-Up or you could maybe get an additional bomb.

But don't forget to pay attention not to run into a bomb or fall into the water!

You can buy iBombU for just $0.99 on the AppStore: http://itunes.apple.com/us/app/ibombu/id464418092?l=de&ls=1&mt=8

 

Here are also some Screenshots:
    

 

I hope you like this App and if you buy this App and like it I would really appreciate a review on the AppStore.

 

Tagged as: , , , No Comments
16Sep/110

Scaling a CCNode centered

While working on my current Project (I will propably release it soon) I encountered  a Problem I didn't really expect:

When using the CCScaleTo-Action in cocos2d the CCNode is actually not being centered while scaling.
So for example if you have an CCSprite that is centered and you use  [CCScaleTo actionWithDuration:1 scale:2]; the result is actually not centered as I would have expected.

After reading a little bit about this on the cocos2d-forum I read that some other people had the same problem and I wasn't doing anything wrong, but this is just the way it works.

You could try to change the anchorPoint, since scaling seems to be relative to the anchorPoint,  but this didn't quite work out for me, so I just decided to write a new Action based on the existing CCScaleTo-Action.

Here is the Result:

CCScaleToCentered.h:

1
2
3
4
#import "cocos2d.h"
 
@interface CCScaleToCentered :CCScaleTo
@end

CCScaleToCentered.m:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#import "CCScaleToCentered.h"
 
@implementation CCScaleToCentered
+(id) actionWithDuration: (ccTime) t scale:(float) s
{
    return [[[self alloc] initWithDuration: t scale:s] autorelease];
}
 
-(id) initWithDuration: (ccTime) t scale:(float) s
{
    if( (self=[super initWithDuration:t]) ) {
        endScaleX_ = s;
        endScaleY_ = s;
    }
 
    return self;
}
 
+(id) actionWithDuration: (ccTime) t scaleX:(float)sx scaleY:(float)sy
{
    return [[[self alloc] initWithDuration: t scaleX:sx scaleY:sy] autorelease];
}
 
-(id) initWithDuration: (ccTime) t scaleX:(float)sx scaleY:(float)sy
{
    if( (self=[super initWithDuration: t]) ) {
        endScaleX_ = sx;
        endScaleY_ = sy;
    }
    return self;
}
 
-(void) update: (ccTime) t {
    [super update:t];
 
    CGSize winSize = [[CCDirector sharedDirector] winSize];
    float orgWidth = [target_ contentSize].width;
    float yScale = startScaleX_ + deltaX_ * t;
    [target_ setPosition:ccp(winSize.width/2 + ((orgWidth*yScale) - orgWidth)/4,
    winSize.height/2)];
}
 
@end

Here is an example of how to use it:

1
2
3
4
5
6
CGSize winSize = [[CCDirector sharedDirector] winSize];
CCLabelTTF* label = [CCLabelTTF labelWithString:@"Test" fontName:@"Helvetica" fontSize:24];
// Center it
[label setPosition:ccp(winSize.width/2, winSize.height/2)];
// Run the Action
[label runAction:[CCScaleToCentered actionWithDuration:1 scale:2]];

I didn't do any extensive testing, so you might have to change some stuff if it doesn't work for you, but in my project it works good and the CCNode stays in the center while scaling.

It shouldn't be too hard to change this to be working with CCScaleBy.

7Sep/111

Game Resources

I always have a hard time getting good Resources like sounds, graphics etc. for my games or other apps and since I really suck at creating graphics that are more complex than some rectangles or circles, I'm always looking on the internet to find some free resources and I thought I'd just share my list of sites with (free) resources with you:

Sounds

Graphics
3D-Models
I will expand this list over time when I find some new good resources!
4Sep/110

Greetings, stranger!

My Name is Dennis Franke and I'm currently living in Braunschweig, Germany and I study Computer Science at the TU Braunschweig.
In my free time I enjoy programming most of the time in Java or Objective-C and working on some new App-Ideas.

I'm planning for this Blog to write a little bit about the Progress of my current Projects (you can already see a sneak peek on my current project on the right) and also, if I'm stuck at a problem for a pretty long time, write a tutorial about it afterwards, so you don't have to suffer like I did.

Anyway, since I don't know what else to say in my first post I'll just leave it like this and will hopefully write pretty soon about my current Project.

Filed under: General No Comments