dankhan's Forum Posts

  • Hi guys,

    Is there an easy way to scroll from one object to another? Like I want it so when the game loads, it focuses on object 1, and after 3 seconds it scrolls smoothly to object 2.

    Any help appreciated.

    Thanks,

    Dan

  • Thanks eli0s and Sargras, I got it sorted. I created another object, created many instances and pinned it to main object.

  • i eli0s thanks for that, your capx doesn't seem to work on my C2. It says I need to download the latest version. You must be using the beta.

  • My solution for this would to use a second object and mount them together.

    Make the red inside the gray a separate object so it handles it's own collisions.

    I would but that would contain to many collision points. The object is continuously rotating, I would make separate little objects but then I can't make them rotate together with the main object. I don't know any easy way of doing this.

  • Hey guys,

    I need to make the red area on this object (image attached) detect collision, is that possible? Collision polygon only detect collision around an object, not inside.

    Thanks,

    Dan

  • Hey guys, I've solved the white screen problem thanks to IntelRobert. The problem was my Project Path and Source Directory didn't match. They need to be the same. Now it all works fine.

    Thanks,

    Dan

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • and dankhan

    Let me know if you continue to have problems. I built several examples with beta 4.32.76.5 and tried on nexus 4 & nexus s and everything is working for me.

    is right, xdk signs and zipaligns the apk. You just need to submit to store.

    Thanks InteliRobert and ALI3D69. I've managed to get the beta option now but I still get the white screen when running the APK. I really cannot figure out what could be causing this.

    Dan

  • dankhan - it is strange, because sometimes that happens to me. Sometimes the code base is there to choose and sometimes it is not.

    Thanks, I'll keep trying.

  • dankhan - are you using XDK 505 version? If you are, maybe try deleting your current project and make a new one to see if those options are there.

    Yep I have version 0505. I tried deleting my project and creating a new one but unfortunately the problem remains. Thanks for your help anyway.

  • dankhan - when you do your Build, under the "App Details" step #1, way at the bottom it asks you to select your Code Base - either Gold vs Canary or Stable vs. Beta - make sure you pick Canary or Beta, and that fixed mine.

    Hmm I only get two options, "Full Screen" and "Splashscreen" under the Code Base bit.

  • dankhan - in XDK, pick the Canary version vs. Gold version (if you have that option in the 1st Build step).

    Thanks for that but how do I do that?

  • Yeah, can't get my head around the problem. I hope there's a fix as I was looking forward to testing my game.

  • I've been trying the Android Crosswalk export today. The export and build go smoothly but when I run the APK on my phone, there's just a white screen and nothing else happens. I've even tried exporting an C2 example but still have the same problem.

    What could be the problem?

    Thanks,

    Dan

  • That's so generous of you. Thank you very much. I tried that structure on my project but it still doesn't straighten when not going left or rights. Maybe it's got something to do with the followpath event.

    I kind of got it to straighten by using the events:

    Sprite TargetAngle = 20             Sprite Set TargetAngle to 0

    Sprite LastY < Sprite.Y

    Sprite TargetAngle = -20             Sprite Set TargetAngle to 0

    Sprite LastY > Sprite.Y

    It still doesn't work properly though, it doesn't straighten in some places and doesn't rotate it some places.

    Thanks again for your help though, I appreciate it.

    Dan

  • Yeah I did...

    Sprite.X=Sprite.lastx      Sprite Rotate 1 degrees towards 0

    But no success.

    Dan