09millarda's Forum Posts

  • Does anyone else get audio lag with intel XDK when exporting to android? If so, how do you fix it?

  • I want to be able to get the mobile numbers of the user for both ios and android. I know it is possible to do this in Eclipse and Xcode but i was wandering if it was possible to do it with construct 2.

  • up

  • rezagamertag I know about this but don't know how it could make the player movement smoother.

  • Basically, I need to know how to tell if one object is facing another object. This is so that I can rotate an object smoothly until it is facing another object, whilst still moving, to make player movement less jaggedy.

  • I am creating a mobile game but need to know how to make the player with the 'Pathfinding' behaviour actually stick to it's path. Here is a screen-shot of what I don't want to happen:

    Look at the text on the image... I want it to follow the straight line from point 7 to point 8 without cutting corners... Help with be appreciated!

  • zenox98 You are a godsend! Thanks a crap-ton mate!

  • It works but the player does not follow the line smoothly...

  • You've all heard of the popular game 'Flight Control'? Well, you may have forgotten but here is a picture to jog your memory:

    The aim of the game is to guide planes into the airport without them crashing. You do this by drawing a flight path for each of the planes on the screen.

    My question is, how can I draw a line similar to the one in the picture above (the dashed line) and then set a sprite to follow it?

    Please note, I am not making a clone of this game but need the feature I have just written about... Thanks for reading!

  • I don't really understand the way you explained the tank object but i would go about like this...

    Make a tank body. Use the body as a base sprite.

    Next, make the turret and pin this onto the tank body in the correct place and add the 'pin-to' behaviour and 'turret' behaviour.

    Pin the turret to the tank but only set it to 'pin to position' not angle. This will mean that the turret will follow the tank body but can rotate at it's own accord.

    This does mean that when you turn your tank you turret won't rotate but, if you want, you can sort this out by pinning the turret (position and angle) to the tank body when the tank is turning and then just pinning the turret (position only) when the tank is not turning!

    Hope this helps!

  • I have created a mobile game and will release it soon but I want to know how to update games and then push this out to people who have downloaded it. I want them just to download the additional stuff, not just install the whole new game, and allow them to keep their scores etc. Thanks for any help...

  • I have created a game and have created a function that allows the user to unlock an item if they rate the game on the android or ios store. How do I direct them to the store so that it opens the actual google play app or apple store app and then know if they have rated the game?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • ggibson1 Probably why then! Thanks a lot! At least it is running poorly not due to my poor optimisation...

  • Right, I have created a mobile game, I won't bother explaining it, and when I test it out on my phone it has a really poor FPS (around 22FPS)... I export it using cocoonjs and test the app using the cocoonjs launcher app for iphone. I run my game on an iphone 4 as a sort of benchmark so that i know it will run smoothly on other devices that are not so modern.

    In the construct 2 editor it says the estimated memory use is 9.6mb. I think that is low? I have done all I can to remove possible problems such as adding tiled background instead of a large image, set transparent background to no, removed as many transparent objects as possible etc. Why isnt it running smoothly.

    I am using 3 or 4 'every tick' commands but this shouldn't really affect the performance, should it? I have run the game in debug mode and it is calculating only 400 collisions per second, There is no physics in the game, there are only 14 objects on the screen, at the moment. I don't think I am doing anything wrong.

    Is it just the fact that testing the app on on the cocoonjs app slow it down? Please help!

  • I am making a game (no need to explain what about, it's pretty obvious) An d i have come across a problem.

    Download Herehttps://www.dropbox.com/s/0jb8guw7ohoglvn/PhysicsGame.capx

    The problem is that when you rotate an object (do this by clicking on an object for 0.5 seconds and then it will rotate to your mouse/touch input) and then slide your cursor onto another copy of the object (import new copies of the object by clicking the platform button at the top and then clicking where you would like it to spawn) that starts to rotate to your touch/mouse input as well.

        I want it so that you can only rotate one instance at a time and that when you slide your mouse/finger over another copy of the object whilst rotating another, it won't start to change the angle of it.

       Thanks in advance if you have any helpful suggestions:)