austinpayne26's Forum Posts

  • 6 posts
  • I have release r119.

    when I open the project, i'm being told that this project was made using r121 version, and can't be opened.

    Could you just tell me what's being done in the project ? What behaviour or settings are being used? I just need to know that little bit.

  • Thanks. I'll look into it and tell you later how useful was it.

  • Thanks for the reply :)

    Actually I didn't understand the first approach - can you elaborate it a little more?

    And the second one - comes as no surprise that it's a standard way. I myself thought of it the day after I posted this. Seems easier too.

    Anyways, thank you so much!

    And hey, also, can you tell me why Scirra doesn't alert me with an email when I get replies to my questions? I've checked my settings, and I should be getting mails. I would always check for any mail related to my question being answered, and I got pissed. Finally I decided to come to the forum myself and here I found your answer already.

  • Here goo.gl/RNBEI, I've learned how to make the user jump etc.

    What now I want to do is, make the screen scroll vertically, and also, not make the user the center of attention.

    Kind of like Doodle Jump, if you have ever played it.

    What I want to do is, the screen will be scrolling upwards, irrespective of the user's position. My game would be to kill the user if he gets to the bottom edge of the layout. So the fun would be to keep jumping up and up.

    How can I do that?

    There's no example of that. I checked the example folder. The parallax one only moves the screen according to the user, and places him at the initial position again if goes off the layout.

    I want to do exactly the opposite - the user goes off the layout in the bottom edge, he dies. And he can be anywhere in the layout, but the screen won't center down on him. Please see the image.

    <img src="http://s22.postimage.org/jptcx1ne9/For_forum_ascension.jpg" border="0" />

  • I know how to provide control from keyboard keys.

    I have this sprite which consists of a turret base, and a turret head (sort of a pistol barrel) which I want to rotate when shooting at enemy.

    Now I want to rotate the turret head about the point where its base lies in the turret base.

    Please look at the image

    <img src="http://s7.postimage.org/6nq9qstnf/Untitled.jpg" border="0" />

    The circled part is about which I want to rotate the turret head, using left and right arrow keys.

    I tried to add 'Rotate' behaviour to turret head, and I also use 'Pin' and pinned it to turret base, and then I applied keyboard event to make smooth clockwise and anti clockwise rotation of the turret head about the point.

    But what happened wasn't what I expected. The turrethead's end completely goes off the turret base, the rotation isn't smooth (i tried different speeds and acceleration values).

    I just don't know how to do this simple thing.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I compiled my game for Android using cocoonjs, and then I signed the release package with a key created, according to the instructions on developer.android.com

    Now I don't have an Android phone, and so I don't know if this problem persists on devices. I have given the APK file to my friends who own Android devices, they haven't responded yet. So instead of bugging them, I went on to install the game on the emulator. I do have an Android development environment setup.

    I put the game in the same directory as adb.exe, then I ran the adb install command, in 2 ways:

    1)adb install <mygame>.apk

    2)adb install -s <mygame>.apk

    The 2nd one forcible tries to install the app onto the sdcard.

    Problem is, I'm getting this error after I execute the command:

    pkg: /data/local/tmp/<mygame>.apk

    Failure [INSTALL_FAILED_CONTAINER_ERROR]

    For the 2nd command, the first line of the error is

    pkg: /sdcard/tmp/<mygame>.apk

    if that's any help.

    What can I do? I searched on StackOverflow, seems like doing this will solve it:

    ==============

    Change the install location from

    android:installLocation="preferExternal"

    into

    android:installLocation="auto"

    in you AndroidManifest.xml.

    =============

    But I don't have access to the xml file! Atleast in readable form! When I extract the AndroidManifest.xml file from the signed release version of my app, and open it, I get to see mostly garbage I can't edit.

    Now cocoonjs directly compiles into APK. What can I do?

  • 6 posts