cvp's Forum Posts

  • I actually first started using it for the games I made for Tizen. (it is not in my current android published games)

    On Tizen it is enough to close the game, I have not tried it on other platforms.

  • you can use the "browser" object. it has an "on back button" condition.

    On the browser object there is also a "close" action which should close the game.

    (havent tried this on Nokia though. But it works on other platforms)

  • I am currently not home. But you can have a look at the .capx linked in this topic.

    https://www.scirra.com/forum/viewtopic.php?f=147&t=88746&p=702329&hilit=calendar#p702329

    I know it uses the date plugin.

    Let me know if that does not help you, then I can throw something together sometime this evening.

  • Yes that is what I am suggesting. You can use webstorage to persist the value between game sessions.

  • You can add the "browser" object to your project.

    the browser object has an event called "On back button" which will work on mobile devices with a back button.

  • You have to supply the icon when you compile your app in the cloud compiler (Cocoonjs) that icon will show on the main screen

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • if you want it to keep counting while you are out of the app you need to consider the system day and time instead.

    Save it when he clicks and then compare it to what it is when the users clicks again.

    Rexrainbow made a nice plugin for date and time you can use.

    https://www.scirra.com/forum/viewtopic.php?t=63492&start=0

  • Have a look at how containers work.

    Think that can do the trick for you.

    When you create one object the other objects in same container are created and if 1 is destroyed so are all the members of the container.

    https://www.scirra.com/manual/150/containers

  • Yann Sorry for the lack of clarity in my explanation. I was trying to keep it simple, but it probably got to simple.

    Enemy2 is actually a wall.

    if you run the capx you can see that the shooter will move forward until it find its first target which will be enemy1.

    The thing is that i only want the shooter to stop and shoot enemy1(the red ball) if the wall(enemy2) is up. If the wall is gone/destroyed then the shooter should continue through the gap between the 2 enemy1's.

    Hope that made it a bit more clear. otherwise let me know

  • Just a quick look at it.

    It is your conditions that are messing with you

    Your whip animation is never shown because you only run it if: "is animation "standwhip" playing" it true, which is never is as you start it inside that block.

    So invert that and your whip animation will run.

    The reason why your knife animation will not play when you are standing still is because of the:

    Invert "Platform is moving" condition you have. you check for that every tick. If he is not moving you set the animation to stand.

    Try to disable that and run it and you will see you can throw a knife standing.

    So basically its because the conditions you have for run, walk, stand etc. is interfering with your other animations because those conditions are true at the same time and the actions will be run every tick.

  • Have you looked at the example "rotating platformer" which is in the Construct 2 templates and examples when you create a new project?

    It shows you how to set the angle of gravity etc.

  • I made a small example. Maybe that can help you understand.

    https://dl.dropboxusercontent.com/u/2560922/mobiledev/forum/platformerStopAtRange.capx

  • There is also the distance() function you can use to compare the distance between 2 coordinates

  • Yes that is possible.

    The reason why every object is pinned is because, if you do not pick an object before you pin it, it will pin every object of that type. (there is a lot of information about picking in the [How do I]Frequently asked questions section (the top link in the how do i forum) )

    So you need to pick the object before using the pin action on that object.

    I have tried to create a small .capx to explain

    https://dl.dropboxusercontent.com/u/2560922/mobiledev/forum/pinOneOrAll.capx

    If that does not clear it up for you please do not hesitate to ask further questions.

  • There is a tutorial on tutsplus about exactly that. And the tutorial is using construct 2

    http://gamedevelopment.tutsplus.com/tutorials/make-a-match-3-game-in-construct-2-the-basics--gamedev-8071