cvp's Forum Posts

  • Yes it is.

    Under System there is an event called "is on platform" under special conditions.

    In that you can choose between different platforms.

  • it is the newest stable release.... just download it.

    The example does what you describe.

  • Are you running it in a browser on your android device? or via cocoonJS or?

    As Ashley states here. there is really no option to look the orientation in a browser.

    But if you use one of the export mechanisms(cocoonJS, phonegap etc.) you can do it there.

  • This is a simple solution.

    .capx

    This uses velocity which is a constant pixel movement upward. You can play around with using impulse or force as well. Depends on what it is you want to achieve.

    Was that what you were looking for?

  • delgado YEEY <img src="smileys/smiley4.gif" border="0" align="middle" />

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I just tried your example in chrome. And it seems to work fine when you just resize the window. But if you maximize or minimize the window it looks like the browser-->resize is not called.

  • I am not totally sure i know what you mean about "create extension"

    I have made a small example of how it could be done.

    .capx

    Everytime you drag one of the balls into another ball both of the balls will shrink 25% in size.

    its a function call. So if you want it to be something else just alter the parameter going in to the function.

    Was that what you were looking for?

  • V is just a simple counter variable.

    It is set to 2 as that is the number of sprites in the bottom it adds together to make the wantedTotal.

  • Try to look at all of the nice tutorials and in the manual.

    There is also a post in the FAQ section about RTS games.

    And search the forum. There is a lot of post about it already.

  • Sure

    .capx

  • I mean in the function command to display the parameters, I want to be able to add visible quotation marks around Function.Param(4) as opposed to adding them to the function call itself (and passing in the quotation marks as part of the parameters).

    Is it possible to do this?

    Yes you just have to use the escape character as i mentioned.

    Something like this

    .....newline & """" Function.Param(4) """"

    Made a small .capx

    Was that what you are looking for?

  • If you want to shrink the sprite by 25% at each collision you could just multiply the with and height with 0.75 at each collision

    If you want it to shrink a % of the original size, then just store the original size in a instance variable. Then multiply the original size with 0.75 and subtract that from the current width and height.

  • Take a look at the pathfinding behavior. That could be what you are looking for. That can also help you move around obstacles etc.

    Manual entry about pathfinding

  • You can use the "set scale" on the layout to zoom in and out on the layout. If you just want to scale the button you can also use the "set scale" command.

    If you want it to be more smooth use it together with lerp(there are some good examples of how to use the lerp funtion in the FAQ section. Just search for lerp on that site.

  • I made an example.

    It might not be the most pretty example, but as far as i can tell it works <img src="smileys/smiley17.gif" border="0" align="middle">

    .capx