Gmoney's Recent Forum Activity

  • Try this method to stop/pause the game.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You're welcome, GAME MOEIN. <img src="{SMILIES_PATH}/icon_mrgreen.gif" alt=":mrgreen:" title="Mr. Green">

    If you want to learn the rest of process in making the Airscape type of a game, then check out this tutorial below.

    https://www.scirra.com/tutorials/273/ho ... platformer

  • You could make the code like my example below. <img src="{SMILIES_PATH}/icon_mrgreen.gif" alt=":mrgreen:" title="Mr. Green">

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

    Explained

    1. There are 3 characters:

    a. Player (Sprite)

    b. Enemy (Sprite)

    c. Geyser (Particle)

    2. Player will lose a cookie only when it collides with Enemy or Geyser when the Geyser is turned on.

    3. Geyser gets automatically activated in every 5 seconds and lasts for 3 seconds.

    4. Enemy is equipped with a Line of Sight behavior, and chases Player when it approaches closely.

    If you want the enemy to trigger a cookie loss even when the geyser is turned off, then change Line 3's [System] -> [GeyserIsOn] to 0 and add another [System] -> [GeyserIsOn] to 1 below.

    Then you'll notice [System] -> [GeyserIsOn] is no longer needed.

    Then you can just add [System] -> [Subtract 1 from cookies] beside the initial [OR] statement.

    I arranged the code this way for you to learn an easier and better way of arranging conditions. <img src="{SMILIES_PATH}/icon_mrgreen.gif" alt=":mrgreen:" title="Mr. Green">

  • You're welcome, BaronLuke89.

  • You're always welcome, gameba.

  • Gmoney

    Thanks for your reply. You misunderstood my question. I want to ask the way to create a fx effect, not run it <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy">

    Sorry, my poor English is main cause for misunderstanding <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    You're welcome, gameba. <img src="{SMILIES_PATH}/icon_mrgreen.gif" alt=":mrgreen:" title="Mr. Green"> Oh, no. It was me who misunderstood. (Sorry about that. <img src="{SMILIES_PATH}/icon_mrgreen.gif" alt=":mrgreen:" title="Mr. Green">)

    Both .fx and .xml files can be opened by Notepad, and you'll notice the .fx file is basically a programming code.

    Here's a tutorial that explains how .fx and .xml files work, and how other pre-existing codes can be converted to C2's fx and xml format.

    https://www.scirra.com/tutorials/4900/shader-toy-to-c2

  • 1. You need to install those two effect files to "Program Files\Construct 2\effects" folder. For example, C:\Program Files\Construct 2\effects.

    2. Once installed, you can access the effects in event sheets. Go [System] -> (Under Layers and Layout) -> Look for entries that have purple FX icons.

    Try downloading Alpha Threshold Effect and experiment with it.

  • You're welcome, J8U5.

    You can also check out this tutorial (links in the description of the game).

    Does not require a third-part behavior.

    Great tutorial, Kyatric.

  • This thread might help.

  • Double click your object and check your Set Collision Polygon located right underneath the Set Origin and Image Points.

  • I would go to my Event Sheet and look at Line 34 to see if anything is wrong.

  • Anubis13, open Construct 2 and go to [File] -> [New].

    In the search field at the top, type number 8.

    You'll find 8 direction behavior examples.

    Open the first example '8 direction behavior part 1' and click 'Run layout' button located at the top.

    You'll see the player moves when you use the keyboard move keys.

    Under [Projects] -> [Object Types], find an object called [Player].

    Click [Player] and you'll find the [Player] has a behavior called [8direction].

    Go down and click [Behaviors] located next to [Add/Edit].

    That's where we add behaviors.

    Please visit [How do I...?] forum by clicking the link below, for the assistance, as there are a lot of people willing to help new users.

Gmoney's avatar

Gmoney

Member since 7 Nov, 2015

Twitter
Gmoney has 1 followers

Trophy Case

  • 9-Year Club
  • Email Verified

Progress

10/44
How to earn trophies