Mayfly's Forum Posts

  • Started a 2D physics bmx racer. If I can optimise it enough it will be released for mobile as well as PC.

    dl.dropboxusercontent.com/u/63142990/RIDE/index.html

    Basic gameplay now sorted so I am cleaning up the code and putting the game engine together. The idea is a simple two button control. (Pedal and brake) These controls then tilt you forward and backwards in the air.

    If anyone is interested in helping test / feedback that would be really appreciated!

  • Thanks for the reply R0J0hound,

    I managed to add gyro effect like you said. I put together a very simple level just to test the physics out. Not too bad, but a little bouncy in places =( Hopefully can get it more robust with some tweaking. When I used to use MMF products I always stuck to platform movement for this kind of game due to funny physics.

    https://dl.dropboxusercontent.com/u/631 ... index.html

    (W, S, A, D are keyboard controls to move and lean) and also touch controls for mobile devices.

    I just need to sort the most optimised way of handling the physics so I can start making proper levels that also work well on mobile devices =)

    Youtube clip below:

  • Just started a 2D BMX physics racing game. Fancied a change from my Bowls app I made!!

    W, S, A, D are the current controls. Mobile version uses the two touch buttons. Idea will be to make it 2-4 players online racing when it is made.

    Can be played here:

    https://dl.dropboxusercontent.com/u/631 ... index.html

    Youtube clip below:

  • I've been trying to make my own 2D bike physics game. It is now coming along quite nicely but I am after a few tips and advice if people are able to help:

    1) Adding Gyro effect in the air (brake / accelerate to tilt - doesn't seem to be automatically supported with the physics)

    2) Tips and Advice on mobile performance. Any advice on how to handle player collisions / settings to help keep a good fps on mobile devices. Currently I have setup with physics behavior. Body parts are pinned together with revolution joints at the start of the level. I have turned off all sprite collisions to reduce the no collision checks per tick.

    3) Best way to scroll to player. Currently the bmx frame sprite has the scroll to behavior. This works fine, except it creates jerky movement sometimes when scrolling.

    4) Most efficient way to handle collisions with the track. Currently I have over 8 points on the collision polygon. I tried a whole single track sprite but with around 40 collision points it phew the collisions off. I have now broke down into smaller / reusable track parts.

    Any advice wold be appreciated. I've seen a couple of games out there that look like they use physics and have a few particle effects and seem to run pretty smooth on mobile devices. (Mine runs ok but slight stuttering when scrolling at the moment. FPS goes from 30-60 fps

  • thankyou for the help. Got it updated =)

  • Because I tried to upload a different apk previously at the lower number which although deactivated I cannot remove, I am now getting this:

    Upload failed

    You need to use a different version code for your APK because you already have one with version code 60005.

    =(

  • I'll give that a try. Thanks. Do I need to set the target android value at 14 too?

  • Hi,

    I am having trouble trying to update my google app I created in Construct 2. I have not updated in quite some time so this is the first time since the new XDK builder. I had to create a new project in it as my old projects would not compile after the XDK software updated.

    When I try to upload the new APK file I get this error in google play developer console:

  • I got Android multiplayer working using the PeerJS plugin and compiling with XDK.

    https://play.google.com/store/apps/deta ... smbf&hl=en

  • I have not tried to go back to a CJS afterwards but I did get the same issue with save games. Not quite sure why this happens =(

  • Is it possible to interact with word and excel files through Construct 2?

    I am looking to generate 2 word documents and one Excel document as outputs.

    All three files with repeat some of the information hence I was hoping to have one file with all the info and then spread it to each file as required to build up the reports.

    I've had a search but couldnt find anything on the forum, manual or tutorials. I understand that maybe construct 2 is not the best application to attempt this in but I don't really have any programming knowledge.

  • You can remove the signature on the .apk exported by XDK. I had the same issue updating a CSJ app after updating and repackaging it with XDK to add online game modes.

    I did it by opening the .apk from XDK with winrar. Deleting the 'META-INF' folder.

    Then going through the usual steps of sign / aligning with old old keystore files from previous builds....

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi,

    I am currently making a Soccer game based on the world cup. I have an issue when I set the CPU 'Cap' positions at kickoff. I am creating a random number, then depending on this number the CPU has several set formation positions for the 3 Caps. I then simply set the x and y position of each Cap. For some reason doing this forces the Caps to spins with an angular rotation velocity of around 2600. I cannot work out what sets this off and I have tried to replicate with a simple CAPX to show what I am doing?

    Does anyone have any idea what might set this off?

    https://dl.dropboxusercontent.com/u/631 ... error.capx

  • The launcher app will be on google play store or appstore. It will let you check for any errors. Have you tried using the C2 debug mode and checking something like the Splashdown value isnt changing to 1 before its called the goto layout?

    Otherwise if you can post a CAPX /example CAPX of the same thing someone can have a look to check.

  • Have you tried in the CJS launcher app to see if any errors are displayed in the console. Usually a white screen is something not working in CJS such as a plugin. What plugin's do you have in you app?