johnkx's Recent Forum Activity

  • Oh my! How could I not think of that?! Thanks alot for helping out!

  • I'm sorry, what do you mean "on tap"?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi guys, I'm trying to whenever i touches the screen, the bullet will be spawn from the player, and the bullet will be destroyed on where I touch. To do that, I tried

    Touch, on any touch start

    • Player spawn bullet
    • set x (instance variable) to Touch.X
    • set y (instance variable) to Touch.Y
    • Bullet set angle towards (Touch.X, Touch.Y)

    Sub-event

    • Bullet X = x and Bullet Y = y, destroy bullet

    Below is my capx file

    https://www.dropbox.com/s/56io2ckgi36qf ... .capx?dl=0

  • Kyatric , whenever I touch the screen after setting set angle toward position (Touch.X, Touch.Y), the sprite upper side(head) do not face where I touch, instead the right side of the sprite face where I touch, do you know why..?

  • Kyatric ok, thank you for explaining, i'll try to work it out!

  • Kyatric, no I'm not using mouse input, i type wrong, I just correct it back, below is my sample cpax file.

    https://www.dropbox.com/s/56io2ckgi36qf ... .capx?dl=0

  • Hi guys, as mention in the subject, I'm trying wherever i touch the screen, my player sprite would remain at its position and look at that direction, therefore I tried using set angle toward position (Touch.X, Touch.Y). The result was my player sprite automatically rotate to left for 90 degrees. Do anyone know how to solve this? Or is there a better solution??

  • Hi LaDestitute, it works! I'm actually trying wherever i touch the screen, my player sprite would remain at its position and look at that direction, therefore I tried using set angle toward position (Touch.X, Touch.Y). Since it does not work, do you know any other way I can do it?

    Thanks!!

  • Guys,

    I added the 8 direction behaviour to my player sprite, by default it is disabled. After entering the game and enable the behaviour, my player sprite automatically rotate 90 degree to the left, why will it rotate automatically? All i did was just enabling the behaviour, help please...

    Thanks.

  • Matija, thanks for replying! I tried your method, it works! But there is still something I'm not so sure about,

    I currently did not click the SIGNED and did not choose a developer certificate, after I build the project, i use apk-signer to sign and align my app. Based on what you said, if I click SIGNED and use a keystore in Intel XDK, does it mean I do not have to use apk-signer anymore?

  • I had found out the reason, to run a apk, I have to sign first, since I untick Signed in the first place, that why my apk can't function normally. Which lead me to another question,

    What's the difference between ticking the Signed at building settings and sign myself after building the project??

  • Hi guys,

    I had just tried to install my first game after building it with Intel XDK. But the installation failed for reason I do not know. Therefore, I will describe the steps I made to export and build the game. Please tell me what I've done wrong, thanks..!

    • Export the project from Construct 2 by using Cordova
    • Open the exported project with Intel XDK

    At PROJECTS

    • At Build Settings, tick Optimize with Crosswalk
    • Fill in App ID, App Name, App Description, Author, App Version
    • White list, as default, selected Cordova Whitelist, leave Network Request, Instent, Navigation blank
    • Inserted Developer Certificate
    • Untick Signed
    • Added launch icons and splash screen

    At TEST

    • Push files to server

    At BUILD

    • Select CORDOVA HYBRID MOBILE APP PLATFORMS
    • Select Android
    • Start build
    • Download the apk

    Tried to install the apk with my phone, but it failed..

    Tried again using Bluestacks, it shows "INSTALL_PARSE_FAILED_NO_CERTIFICATES"

    Help please...

johnkx's avatar

johnkx

Member since 18 Aug, 2016

None one is following johnkx yet!

Trophy Case

  • 8-Year Club
  • Email Verified

Progress

9/44
How to earn trophies