TheWyrm's Forum Posts

  • vitorfgd Thanks, that is the information I am after. Now to research appMobi performance...

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • IntelRobert Any ideas?

  • Ashley The reason why I am interested is because if you can build all from phonegap then it makes things like advertising, IAP or any other platform specific plugins easier to use and to keep up to date. If they have depreciated it then it takes some of the shine away from their cloud builder as a one stop shop for the four main mobile platforms (iOS, Android, WP8, Blackberry) and pushes me closer to doing local builds.

    As for having a separate Blackberry exporter... it's not usable. The process has completely changed. See my post here about it => https://www.scirra.com/forum/viewtopic.php?f=146&t=115035. If you want help I can walk you through the new process, but I warn you it is a ball ache and involves a standard HTML export.

  • Ashley In case you're interested they said they only now support iOS, Android and Windows phone. Despite saying otherwise on their front page.

    If you want to use the other platforms you can do as they suggest on the above thread.

    [quote:tulcaegk]If you intend to use them, you would have to set your app version in config.xml to 2.9.0 using this code: <code><preference name="phonegap-version" value="3.3.0" /></code>.//Don't include code tag, it's just to allow the script show.

  • blackhornet Ah ok, after trying to recreate the problem I discovered where I went wrong. At first I uploaded a version of the sprites with a transparent background. I later updated it with a black background. The collision area was remembered from the first attempt. My own fault. Thanks guys.

  • I have posted the question on their forum => https://forums.html5dev-software.intel. ... =28&t=7425

  • Aphrodite I'm not really talking about transparency. It seems it's more C2 making an assumption that black should not be considered as part of the collision area of the sprite for touch events.

    For point 1 mentioned above lets say I have the following sprite animation.

    The collision area of each frame is automatically set to the planet by C2 for each frame. So it gets smaller the further along it is in the animation. This means if I tell it play once when the mouse is over it and to reset when not. Then only just touch the side of the planet, the collision area gets smaller and so the mouse is no longer in it. So it will keep animating and resetting in a loop. Whereas if I manually change the collision area to every frame so it takes up the whole sprite it solves the problem. However, this is a pain if you are using lots of animations with black backgrounds. So I would like to really turn it off, rather than assuming black is not wanted in the collision area.

  • Ashley Thanks. You have at least confirmed that its not something I need configure to setup. If that's the case they need to update their website so it doesn't say things like "Support multiple platforms. Maximize your productivity while minimizing production time. Target iOS, Android™, Windows® Phone, Blackberry® 5/6/7 and webOS all with a single codebase." I'll take it up with them.

  • vitorfgd You know that link has the same information that I posted above? I know the other platforms use Apache Cordova* 3.x APIs, but want to know if this is their own implementation or if they are using phonegap?

  • I just fixed point 2. It was partly my own fault and partly this black thing. When you create an all black sprite you will need to override the size it automatically sets to the actually sprite size. Then you just need to place it in the correct layer

    However, I still want to know how to change the colour so I can set it to something more obvious like pink instead. So if anybody knows put in a reply.

  • Hi guys,

    I have found that black is considered transparent in sprites. How do you change it to something else? As this is causing issues in my game.

    1. On sprite animations that shrink something. The black space gets bigger yet is not considered in the touch calculations. Work around is to change the collision area on all the animation frames.

    2. I added a pure black sprite. So when you place it it in the layout it doesn't show anything at all.

    Kind regards

    Wyrm

  • zenox98 it doesn't have to be by magic since it can be derived from when you set the values in the array. However, it doesn't bother me other than it not throwing an error when you're setting a value out of bounds.

  • Bump!

  • Bump!