Gmoney's Forum Posts

  • This might help.

  • The star status then must be stored via LocalStorage plug-in.

    https://www.scirra.com/tutorials/1461/h ... age-plugin

    The player won't need to play the levels played previously, nor need to collect all the stars again; even after closing the game and re-opening it later.

  • Fixed.

    I disabled 'PotatoHenchman' -> 'Set Platform Disabled' under Collision event sheet.

    Please remember to enable the Platform behavior for PotatoHenchman on the start of a new game. <img src="{SMILIES_PATH}/icon_mrgreen.gif" alt=":mrgreen:" title="Mr. Green">

    https://www.dropbox.com/s/c7z2vo07l1os0 ... .capx?dl=0

  • That's because the Line of Sight's Cone of View is set to 360. <img src="{SMILIES_PATH}/icon_mrgreen.gif" alt=":mrgreen:" title="Mr. Green">

    I've made an example with a Cone of View of 180.

    https://www.dropbox.com/s/ck98498wwpbqw ... .capx?dl=0

    Please try the following

    1. Jump up to the top of the obstacle and be seen by the enemy with a Cone of View of 180.

    2. Enemy doesn't follow the Player.

    3. Hit the button to change the Cone of View to 360.

    4. Enemy follows the Player.

  • Gmoney Amazing! Thanks for the plug in repository and capx! I downloaded everything I needed and updated them all. Rex Spline is great! This is exactly what I needed. I imagine I can create some sort of Donkey Kong style tram car ride or something similar very easily with this!

    You're always welcome, heyguy. Rexrainbow's Spline will make a great roller coaster or rail system.

  • It seems to be working. <img src="{SMILIES_PATH}/icon_mrgreen.gif" alt=":mrgreen:" title="Mr. Green">

    https://www.dropbox.com/s/fbitk47n9vs85 ... .capx?dl=0

    I found 'mirroring an object via obj_gravity.X > (some X doordinates)' method didn't work, because the object had a bullet behavior.

    So I added barriers to overlap and manually mirror the obj_gravity.. and it worked. <img src="{SMILIES_PATH}/icon_mrgreen.gif" alt=":mrgreen:" title="Mr. Green">

    In a game, I would make those barriers invisible and maybe shrink their width to 1.

    After that I'd line them up against the wall to give players an illusion of flying objects bouncing off the wall, and automatically changing where they're facing.

  • You're welcome, amitkuliyal. The method will also work on other events such as Physics based objects. It's all up to finding a way to disable the source.

  • Use this method, amitkuliyal. <img src="{SMILIES_PATH}/icon_mrgreen.gif" alt=":mrgreen:" title="Mr. Green">

    https://www.dropbox.com/s/fgw67t9mqovdo ... .capx?dl=0

  • This is how to check the angle of motion. <img src="{SMILIES_PATH}/icon_mrgreen.gif" alt=":mrgreen:" title="Mr. Green">

    https://www.dropbox.com/s/whc6ptt0h21m1 ... .capx?dl=0

  • There was a thread similar to this in the past.

    The idea was to embed the setting (or save status) to an URL, so other people can continue with the progress.

    [quote:3lmfnduv]- uppon sharing via twitter or facebook this app will also save the picture and related data to a server and give out a custom coded random number/letter id whithin a link which will direct the user to a finished postcard with the settings all set. This postcard includes a button that will in turn return a user to the main webapp site with the editing functions cleared so they can make their own postcard.

  • Gmoney I think I do have them installed. I'm actually able to use MoveTo and Spline within the editor. I have both MoveTo and Spline installed into my C2 behaviors folder. I can add those behaviors to sprites in-game. I just can't seem to open the the capx for some reason. Do I have to drag and drop something into the C2 editor to fully install it?

    edit: forgot the capx! Thanks Gmoney will download the newest versions and try again!

    You're welcome, heyguy.

    I always use Rexrainbow's Plugins repository v2 to install bahaviors and plugins, but copying and installing them to the C2 behaviors folder will work as well.

    Please let me know if you're still not able to open the capx document. I'll post screenshots, copy and paste the event sheet details, and upload the final result animation.

  • Gmoney Hey I tried to use your capx example but it won't open. It's giving me an error saying I'm missing "Behavior "Line" by Rex.Rainbow. I have the folders for both MoveTo and Spline in my behaviors folder.

    Please try again after downloading and installing the latest version of Rexrainbow's MoveTo and Spline behaviors.

    Mine were last updated yesterday by using Rexrainbow's Plugins repository v2.

  • I made an example game capx of a fake game crash on level 2, Second Shelf. <img src="{SMILIES_PATH}/icon_mrgreen.gif" alt=":mrgreen:" title="Mr. Green">

    https://www.dropbox.com/s/r29huq91ungv7 ... .capx?dl=0

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Agreed. Rexrainbow's Spline is the best.

    I always make moving platform games with Rexrainbow's MoveTo behavior, because it's easier to use.

    Here's an example that utilizes both behaviors.

    https://www.dropbox.com/s/19f5nvibm1fxr ... .capx?dl=0

    Rexrainbow's MoveTo - behavior-moveto_t63156

    Rexrainbow's Spline - behavior-rex-spline_t178563?start=40

  • 1. Make a global variable Totalstarscollected = 0.

    2. When Level 1 ends, add a system Event to add TotalStars variable's number to Totalstarscollected.

    3. When Level 2 starts, reset TotalStars variable.

    4. When Level 2 ends, add a system Event to add TotalStars variable's number to Totalstarscollected.

    5. When level 3 starts, reset TotalStars variable and so on.

    6. After all the levels are cleared, Player will be able to see how many stars were collected in total, by observing the Totalstarscollected variable.