Kyatric's Recent Forum Activity

  • Moved the topic to a more appropriate forum, because the OP can't be bothered apparently.

    Why propose to sell a game source code in a dedicated store ? Maybe because it is a dedicated store, and the more places you propose your code, the more potential customers you reach ?

    Why pay a fee ? Well if you read the seller agreement you will know why.

  • You still have to pay attention to the memory usage of your game. So make sure whether loading a video in memory is more efficient then doing the "cut scene" within Construct 2 itself.

    Depends also on the devices you target. Apple iphones don't like huge videos and you can't really navigate from a point to another within those videos.

    Plus, as always with Apple, to start playing the video you are required to have a player input. possibly on a DOM object like a button.

  • => Construct 2 Direct discussion channels in the forum "Construct 2 General".

  • From the "How do I FAQ"

    [quote:1q65lczx]

    Navigation through layouts/levels (single event sheet) - LINK

    Navigation through layout (with demo capx) - LINK

    This is a basic idea.

    In your case, you want the action of taking the pill to set a specific value for the "end variable" that determines what layout you are going to.

    So in pseudo code:

    Global Var EndLevel as number

    On collision with Blue Pill => Set EndLevel value to 1 ; Destroy Red Pill and Blue Pill

    On collision with Red Pill => Set EndLevel value to 2 ; Destroy Blue Pill and Red Pill

    On end of level => Go to "Layout " & EndLevel

    Considering your layouts are named "Layout 1"; "Layout 2", and so on.

    This way, when picking a specific pill, you set a value to a variable that will be "directing" toward a specific layout when the actions of end level happen.

    This is pseudo code (the actual logic supposed to happen), as the actual implementation depends a lot on what you actually already did in your project.

    If you have issues with concrete implementation, do post your existing capx it will be easier to let your know directly what implementation is appropriate in regards to how you did things so far.

  • As a newcomer to Construct 2 a single thing to do :

    Read The Fabulous Manual and learn what capx are, and more.

  • C2 does not contain ways to send an email "out of the box".

    You can add some third-part addons dedicated to this (example armaldio's "Send emails").

    Or you may use the data you get and send them through AJAX to a dedicated server (as you can see in the How do I FAQ section AJAX).

  • * The issue your describe sounds like you need to upgrade your graphic card drivers

    * At worst if you really need to get back to a previous version, see in the How do I FAQ

    [quote:qonbfkyz]How do I open a recent project in an older release - LINK

    * Be sure you use the backup option and at worst try to open a backup capx to see if you encounter the same issue.

  • Having an array to hold "initialisation variables" per phase sounds correct as well.

    In fact, you would pick the value from the array on creation of the enemy and fill their instance variable with it, accordingly to the current phase (you would then use an array with at least two dimensions, X being the phase, Y being each of the variables required).

    To store those kind of data, an array is one of the available data structure.

  • Events are read from top to bottom.

    Events are executed when all actions are true.

    The events in your original sequence check if the player has enough money and if the object is bought.

    In the first event, the player has money, and the object is not purchased. There "is_bought" is set to 1.

    Second event, the player has money and the object is NOW purchased (in the same tick). So the upgrade is completed as well.

    In order to "do the pause" as you intend, your second event requires to have a "Else" system condition.

    This way, it would only execute one or the other event, and indeed the behaving of those events would equal what you expected.

    Reverting events here will work, but is only a band aid that can go wrong if you were to attempt to add more upgrades later.

  • Wrong link.

    Consider posting a public link to your capx file.

  • Learn to use instances, your "Levelselect" events are not efficient and modular because of it.

    Capx fixed explanations in my previous message, read it again.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • When you execute C2 and make a new project, there is actually a template named "Microphone input" that already modifies the Audio Analyser to use the microphone as input instead of a sound.

    From there, according to the volume (the value of the RMS shown in the example: Audio.AnalyserRMSLevel("mic", 0) *2 or *4) you should be able to modify the Y position of your sprite.

    The actions that modify the sizes of the sprites in the event 9 is very close to what you are looking to get.

Kyatric's avatar

Kyatric

Member since 18 Aug, 2010

Twitter
Kyatric has 583,405 followers

Connect with Kyatric

Trophy Case

  • 14-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • x15
    Popular Game One of your games has over 1,000 players
  • Famous Game One of your games has over 10,000 players
  • x27
    Coach One of your tutorials has over 1,000 readers
  • x10
    Educator One of your tutorials has over 10,000 readers
  • x2
    Teacher One of your tutorials has over 100,000 readers
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

23/44
How to earn trophies

Blogs