codah's Recent Forum Activity

  • The expression 1 - Sprite1.AnimationFrame

    If the animation frame is currently 0, then 1 - 0 = 1 and so the frame will change to 1 (checked)

    If the animation frame is currently 1, then 1 - 1 = 0 and so the frame will change to 0 (unchecked)

    As you saw I made the 2 states as frames in the one sprite rather than 2 sprites, and turned animationspeed to 0 in properties, so they didn't animate between the frames when we didn't want them to.

    You can add an instance variable to track state (checked/unchecked) or just continue to use 'Sprite1.AnimationFrame'. If the latter, I suggest you create 2 constant global variables

    UNCHECKED = 0

    CHECKED = 1

    and use those instead of 0 and 1

  • Here's a start

  • Do you have the full licence? Sorry it's off topic. I guess you don't or you could use a Family and more than halve those events.

  • > How about have a dummy invisible object that you move to that location and see if there's an overlap? The above code won't work properly (although the idea is valid) because X and Y will rarely be an exact integer number, plus what if there are other object types that you want to check for?

    >

    System: pick overlapping point might do it too.

    Never used it Now I know

  • How about have a dummy invisible object that you move to that location and see if there's an overlap? The above code won't work properly (although the idea is valid) because X and Y will rarely be an exact integer number, plus what if there are other object types that you want to check for?

  • This is closer to what a container would do for you, because you just create one of the object instances and the others get created for you. You can't directly find out the types of object in a Family AFAIK. However there *are* ways of doing it indirectly. If you want to go 3rd party you could use the Nickname plugin.

  • Well done, nice art style and fun

  • I've just tried to publish a test app that simply has a single sprite on a layout.

    I've read lots of tutorials. Using XDK v 1621

    I have a Developer account

    I have an app ID, call it com.company.product

    I have a registered device (iPad)

    I have an ad hoc provisioning profile showing the same App ID, 1 certificate and 1 Device

    I have another provisioning profile (how can you tell which is ad hoc or not, only by the name I gave it??) showing the same App ID, 1 Cert and 0 devices

    I have no development provisiong profiles, as per what I've read, but I wouldn't thought I'd need one? (judging by the name)

    In the XDK I created a new project for the test app

    App ID set as above

    Version 1.8.2 (as per my existing Android version)

    Full screen

    Landscape

    iOS target 5

    Provisioning profile Ad hoc

    Ad hoc provisioning profile: set to the adhoc xxx.mobileprovision file

    Production provisioning profile: set to the other xxx.mobileprovision file

    As a first test I did not add any icons or splash screens

    I did not alter the plugins

    Build tab, build, upload

    Build page says iOS CERTIFICATE: Step complete. If i choose Edit, it says 1a: "Your CSR has been generated..." etc. and 1b: Certificate uploaded..." etc.

    I get all warnings about "no images provided" and "no splash screen".. and "An unexpected error occurred"

    Next step I will add icons and splash screens and re test.

    Thanks for any help.

    Edit: added icons and splash screens, got the errors about some further splash screen sizes, so added those images and added them to the 'intelxdk.config.additions.xml' file. No warnings now, just the same error at the end.

    imaffett can I send you the build log?

  • You do not have permission to view this post

  • Yeah I have the same version, but some splash screen sizes are not listed. Anyway I have no errors from splash screens. I'll try again tomorrow

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • So I had another go at doing my iOS app. Now it won't even build in the XDK. Instead of using a separate XDK project for iOS I'm now using the same one as I use for Android and of course setting the iOS properties including splash screens (plus the 'additional' splash screen stuff). That should be ok, right? Then I revoked my certificates and re-did them, and the provisioning files. I'm not sure what I'm doing wrong. Maybe I will submit my build log to Intel to have a look.

  • Many thanks for the help, it now builds successfully ! As you highlighted I had to create a mobileprovision from the certificate.

    Didn't know they had to be related to each other !

    Hi Rable could you please explain this? It seems you were missing the provisioning files, but how did you do a build in the XDK without them? Thanks.

codah's avatar

codah

Member since 30 May, 2014

Twitter
codah has 1 followers

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies