anty21ro's Forum Posts

  • Ok, I'll try.

    Cheers!

  • Thanks for the example.

    I've just implement it in my game, that is made in Construct 3, but it doesn't work.

    When the layout starts and I try to pan the camera goes to 0 X/Y layout position and stays there.

    I've made an new project and start it from 0 after the one from C2 and it doesn't work.

  • Hello,

    I am trying to make a camera pan system using the touch controls, that can pan only inside a rectangle sprite.

    If possible, I would like it to function the same if I use the mouse, too.

    Do any of you has an example file?

  • Hi.

    I am trying to create an event that triggers an Ad to display in a browser game.

    The documentation for the SDK is only for the Construct 3 version but I need to do this in Construct 2, since my game is made there.

    I've used the browser plugin with the action "execute javascript" and I've easily manage to install the SDK and call other simple actions.

    The problem comes when I want to trigger this action, to display the Ad:

    "await crazysdk.displayAd('midgame');"

    The next action should be "Wait for previous actions to complete" and since C2 doesn't have that, I need a solution.

    Any of you happen to have a C2 game on crazygames platform and already done this?

    Would help me a lot, thanks!

    This is the SDK documentation for Construct 3:

    docs.crazygames.com/sdk/construct3

  • What is your logic for the spikes when falling on the ground?

    If you use bullet, then you could do it like this:

    Spike on collision with ground -> Set bullet speed to 10.

    You could add a timer and Start it for 2-3 seconds when Spike collide with the ground.

    Then add an event with the timer where you destroy the spike.

  • I knew I was doing something wrong by that but I couldn't find the correct logic and conditions/actions for this :).

    It works as I wanted to, thanks a lot!

  • Hi.

    I have a sprite that acts like a magnet when is created for a few seconds.

    He has LOS behavior and attracts all the physics boxes in its range.

    I want to know how can I create a sprite (that looks like an electric arc) for each box that is in the magnet range and:

    - is rotating and adjusting its length from the magnet to the box

    - is destroyed with the magnet

    I want to create the impression that electricity is pulling the box/boxes to the magnet.

    This is my attempt

    dropbox.com/s/d0paxhhojb0bjiz/ElectricArcForEachBoxInRange.c3p

    Tagged:

  • Well, yes, It's not what I'm looking for :)

  • Hi.

    Is it possible to add physics to my spriter character after I have it imported to C3?

    I want my character to have physics enabled only when he dies, so that it looks more realistic.

    I've searched for step-by-step tutorials on google and youtube... but there's nothing.

    Tagged:

  • Hi.

    When I preview my game in the editor, the sprites that have warpradial effect applied work ok.

    After I export my project to NW.js they move/deform much more.

    It is true that I've modified the xml file of this effect, from 25(I think) to 0:

    <!-- Extend the bounding box for effect processing by a number of pixels to show the edges

    of effects which go beyond the object edges, e.g. blur and warp. -->

    <extend-box-horizontal>0</extend-box-horizontal>

    <extend-box-vertical>0</extend-box-vertical>

    Is there a way to take a look at the parameters of the effect after I export it? Or is there another way to fix this?

    streamable.com/wfht1d

  • I think that tutorial doesn't work the same for me because it has to be adapted for my project. If you could take a look would be awesome.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Ok, but isn't the same thing?

    I mean, after collision, "system" events will trigger and 2 seconds later will quit the level?

  • Maverick1912 Which line of those saves the local storage?

    I made this save system after a tutorial I found on youtube.

    I tried to create an example of what I have in my big project.

    Curious is that in my example I don't get that value (Levels = NaN) at start of the level, anyhow it seems to work ...

    Could any of you look over this example and tell me or modify it the right way?

    And how to set ClearStorage properly so I can test it easily?

    I finished my original game project and I want to upload it on steampowered.com. I just have to get done a few things like the LocalStorage - that should save the level progress.

    dropbox.com/s/dlzlro4jyk9k7hn/LocalStorageTest.capx

  • I've tried that but I get the same result.

    The levels should be all visible in the MainMenu if Levels=18, when after finishing the first level it should be 2.

  • The problem is that it doesn't work properly.

    When I disable the group with the LocalStorage plugin, it work fine but it does not save the variable (obviously).

    When I enable it, when I'm in the MainMenu, Levels = 1, as it should. When I enter the first level, Levels = NaN. And if I go back in the MainMenu all levels are visible, when it shouldn't be like that.