OddConfection's Forum Posts

  • Zathan

    Do you mean a loading screen in-between levels? For example, something that says "Loading Level 2", Loading Level 3", etc. perhaps with an ad displaying, or hints and tips for the game?

    I believe Construct 2 shows the last view of the current layout while loading the next, so you could do something like saving the name of the layout/level you want to load to a global variable, go to the loading screen layout (which should have minimal objects to load quickly) and then on the loading screen layout go to the next level.

    If the levels are small and/or have few objects, the transition between layouts is so quick you won't even see the loading screen.

    In the example below I had to add a Wait so you would actually see the loading screen.

    https://dl.dropboxusercontent.com/u/905 ... evels.capx

    Click on the big blue Load button to go to the next layout via the loading screen.

  • You could look at using the Pathfinding behaviour - manual tutorial

    Or give the other car the Car movement behaviour and simulate control with events, although it might be slightly tricky to get it to follow the road or the player car.

  • Construct 2 is just dividing the image equally into 8 pieces, but you have too much blank space on the right hand side for the image to be split correctly.

    Use an image editing tool to crop the image to about 440x120 instead of the current 484x120, and then import it again.

  • mfusaro - if you post your capx we can take a look and see if we can fix the issue.

  • The "Discuss" link in the footer under the heading "Play Games" brings up the error "The forum you selected does not exist."

    The current link is:

    I'm guessing it was removed in the forum upgrade.

    Maybe it should link to a sub-forum under Completed Creations or just be removed.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • mfusaro

    To add a sub-event, right click the Event just to the left of the icon for the first condition and from the pop-up menu select Add->Add sub-event.

    If you right click on the text of the condition you get a different pop-up menu without this option.

    You can also drag events under and to the right of other events to make them a sub-event.

    It's also possible to do this as a single event with a single action, without needing the global variable:

    Keyboard->On Space pressed
    	swimmer->Set animation to swimmer.AnimationName = "swim1" ? "swim2" : "swim1"[/code:3i9n1x5x]
    but that is a slightly advanced use of [url=https://www.scirra.com/manual/78/expressions]expressions[/url]
  • Cute <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    Who says you can't make a cute game without any artistic ability? <img src="{SMILIES_PATH}/icon_razz.gif" alt=":P" title="Razz">

    And I find any time I've used System:Wait I've introduced subtle timing issues, so I'd be careful of that technique.

    Yes, System->Wait can sometimes be problematic as it's not always intuitive what it will do.

    I've made an alternate example using the Timer behaviour:

    https://dl.dropboxusercontent.com/u/905 ... Timer.capx

    It uses an extra event, but has the same number of actions as the previous example and should perform the same.

    Asking someone to build an apk for you because you don't have a license is not cool.

    I don't think Ashley would appreciate you trying to circumvent the license restrictions like that.

  • Nilo

    "dl.dropboxusercontent.com" is text/string, so you need to include the " " around it.

    Just whipped up a simple example.

    This is the exported file on dropbox:

    https://dl.dropboxusercontent.com/u/905 ... index.html

    Here is the capx:

    https://dl.dropboxusercontent.com/u/905 ... Check.capx

    Preview the capx to run it locally (i.e. not on DropBox) and you'll get a different message.

    For a proper site lock on a game, you just need to expand on the example and in the first Layout do a check for the domain in "On start of layout", if the domain is correct, load a different Layout with a lock message and maybe a link to the proper site.

  • Nilo

    Browser.Domain is one of the included values of the Browser object, same way a Sprite has Sprite.X and Sprite.Y, but is a text/string value.

    So you need to insert the Browser object first before you can access the Browser.Domain value for comparison.

    If you already included the Browser object but you renamed it, you'll have to access it via the new name, e.g. NewBrowserName.Domain

  • SgtConti Ashley

    There is also the Steamworks Web API which allows you to make HTTP calls to do things like:

    • Set or retrieve a user's stats, achievements or leaderboard scores
    • Execute an in-game purchase (using Steam Wallet)

    That might be an option rather than using the Steamworks C++ API, although they are protected methods that require authentication and are intended to be accessed from trusted back-end applications.

    Bl4ckSh33p

    There are at least 5 Construct 2 games released on Steam, see here

    In-game purchases for games on Steam would most likely require the use of the Steam Wallet, which you need to access via the Steamworks API (either Web or C++).

  • Here's a simple left/right patrol example, with the guards waiting a random time before turning around:

    https://dl.dropboxusercontent.com/u/905 ... atrol.capx

    It incorporates the Wait and invisible patrol markers mentioned above.

  • Tetriser

    I also have a Greenlight collection for Construct 2 games:

    http://steamcommunity.com/sharedfiles/f ... =103535227

    There might be a few games there you'd consider adding to your collection.

  • You do not have permission to view this post

  • It's fun and addictive.

    Didn't notice any bugs or problems.

    It would definitely work well as a mobile game, although you might need slightly larger characters on the smaller phone screen.