Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - JensWinterstein

Pages: 1 ... 12 13 14 15 16
Old Bugs (1.x/2.x) / Re: Display/Stage loses focus after touching iAds [b46]
« on: September 28, 2011, 10:03:17 am »
When touching the iAd, the print command stops working and doesn't print any x/y touch coordinates to the console anymore.

Code: [Select]
  for (SPTouch* touchPoint in [Game game].startTouches)
NSLog(@"%@", [NSNumber numberWithFloat:[self getTouchX]]);
NSLog(@"%@", [NSNumber numberWithFloat:[self getTouchY]]);

Old Bugs (1.x/2.x) / Display/Stage loses focus after touching iAds [b56]
« on: September 28, 2011, 07:52:11 am »
After tapping an test iAd and returning to the app, I wasn't able to control anything anymore.

iPhone / iPad / Android / Re: Loony Box iOS
« on: September 28, 2011, 06:24:01 am »
I just uploaded the game to the App Store. Let's see what happens in a few days week :)

Chit-Chat / Re: Do you play sudoku?
« on: September 27, 2011, 06:16:41 pm »
I love it and play once in a while. There's also a little sudoku flashgame/iOS app I made some time ago:

Maybe you like it :)

Old Bugs (1.x/2.x) / set volume to x% - doesn't work [b48]
« on: September 27, 2011, 09:03:31 am »
Somehow the set volume block stopped working (for me).
Could someone confirm this please?

Edit: Fade In/Out works fine.

Thanks for the information, Jon.
I was able to reproduce the old behavior by exactly doing what you described :)

Since [b45], all the stuff my current game needs is now working.

Thanks for the quick reply.
It seems like the old behavior was part of the game mechanics from loony box :/

- dragging into/through a line of destroyable boxes to blow away all in one swipe
- dragging an actor slowly while your finger's still on it

It's still playable but really lost some of its fun elements.
Maybe we could have a codeblock or something for the old behavior :)

I'm a little confused, is the new version already up yet? [b45]

Edit: With the current "[b45] - not here yet" version, I'm having a little trouble with the <dragged - Self> Block. In case I drag an actor and my finger gets outside its hitbox while still touching, the focus on that actor isn't lost. It's also not possible to drag from one actor directly into another.

Beside from that, very nice work with the multitouch orientation stuff :)

I just tried out [b43] and can confirm that the multi-touch points and debug drawing are now correctly translated to the game's orientation.
About the broken actor touch-detection: It seems that this isn't really broken but instead using a different orientation now / being untranslated to the orientation. i.e.:

In case I click/touch the area of the black shape, the big grinning box responds and moves.

Frickin' awesome!
Can't wait to get the game out now :)

Old Bugs (1.x/2.x) / Re: Blurry GFX in Atlas [b42]
« on: September 21, 2011, 10:45:39 am »
Thanks for pointing it out guys. Did you autoupdate to 1.1.1 after downloading b42?
Because this time I didn't and now I'm able to see the "Resize Method" dropdown menu.

Also, the blurry stuff is gone :)

Old Bugs (1.x/2.x) / Re: Debug drawing aspect ratio
« on: September 21, 2011, 07:02:24 am »
Thanks :)
I can confirm that all Multitouch points/events stick to the debug drawing ratio.
i.e.: When you press the upper red debug box, the green guy will jump.

I'm checking the hitbox manually to increase the actor's touch-/clickradius by doing this:
Code: [Select]

for (SPTouch* touchPoint in [Game game].startTouches)
    if (((((touchPoint.globalX < ([mActor getX] + 64)) && (touchPoint.globalX > ([mActor getX] - 32))) && ((touchPoint.globalY < ([mActor getY] + 64)) && (touchPoint.globalY > ([mActor getY] - 32)))) && ([self sameAs:[NSNumber numberWithBool:_inAir] two:[NSNumber numberWithBool:FALSE]] && !([[self getGameAttribute:@"globalGoal"] boolValue]))))

Otherwise the game is nearly unplayable due to a too small hitradius (32x32).
I hope this information helps in hunting down the issue. :)

Ideas for another way of doing this are also welcome.

Old Bugs (1.x/2.x) / Re: Blurry GFX in Atlas [b42]
« on: September 21, 2011, 06:30:56 am »
That was quick!  :o
Thanks for looking into the issue. :D

Edit: After downloading b42 and auto-updating to 1.1.1 again, I can't seem to find an atlas option called "Nearest Neighbor". Am I supposed to auto-update? Am I going insane?  :-X

Edit2: fixed (see answer below)

Old Bugs (1.x/2.x) / Re: Self is on Screen - only for 320x480 [b42]
« on: September 20, 2011, 10:35:47 am »
can't wait :D

I tried to expand the touchable region of an actor and found the following after enabling debug drawing (landescape mode, 480x320):

It seems everything is rotated by 90° and I think this is closely related to:,3562.0.html
(and maybe already fixed in b42?  8) )

Multitouch points also seem to function only within the wrong aspect ratio.

Pages: 1 ... 12 13 14 15 16