mekonbekon's Recent Forum Activity

  • There's no link to the capx to check, but I imagine that you can achieve what you want using something like:

    repeat 5 times| System spawn roadSprite at (X + roadSprite.Width*loopindex), Y

    ...where X and Y are your starting points.

    At the last company I worked for we used Construct 2 near exclusively for creating B2B HTML5 games. Initially I was sceptical about using Construct over a bespoke JavaScript solution or a framework like Phaser. I was very glad to be proven wrong - over a three year period we produced around sixty titles and prototyped many more. I don't believe we would have come anywhere near to that output with other tools. In fact, we could have reached a much higher total catalogue had we capitalised upon the advantages to the pipeline that Construct offered earlier on in our production process.

    The sheer speed with which you can prototype a concept was invaluable. Often we would skip a pen and paper concepting stage and skip straight to producing a demo in C2 - the time difference was negligible and at the end of it we had something we could actually play. If approved, the prototype could be worked on directly by the coders and artists to produce the final product - no work thrown away. The ability to modify the tool with JS-based plug-ins and behaviours made it easy to adapt to our in-house systems.

    The fact that C2 could be learned quickly and easily by all team members meant that everyone was speaking a common language, improving communication about the project and giving us an immense amount of flexibility in how we assigned tasks.

    Obviously Construct isn't going to be suitable for all types of games/studios. I can see it being problematic for games with large teams where many people need simultaneous access to different parts of the project; graphically intense/processor heavy games may suffer. However, for a range of HTML5 and mobile products Construct is certainly a viable, and in many scenarios optimal, tool - sadly often overlooked in favour of more expensive or less flexible options.

  • I was wondering if anyone has been experiencing this issue:

    This started with the latest beta version (beta r249). My capx files are saved to a local folder that is backed up on Google Drive.

    Periodically, when attempting to resave a project I get the error message:

    "Error saving project 'myProject' - the project has NOT been saved to disk. We applogise for any loss of work. You may want to report this issue to Scirra.

    Message: Failed to move .capx.tmp to .capx!"

    When I check the save folder I can see: myProject.capx.tmp and myProject.capx.backup1, but myProject.capx has vanished!

    The .tmp file is ticked as saved on Drive but the .backup1 file is still marked as syncing.

    I can save the project file as a new name fine, but usually at some point this same problem will arise and I'll have to resave under a new filename.

    I have plenty of space on Drive so I don't think that would be causing a problem.

    It works fine if I save outside of the Drive folder, but ideally I'd like to be able to keep the current save location to ensure everything is automatically backed up.

    Any suggestions on what could be the problem? If this isn't an isolated incident I'll try and create a minimum reproducible and log it as a bug.

    Edit: I'm running Windows 10 on a PC

  • Search for "Parallax" in the tutorials section - lots of examples there.

    In a nutshell, you place background objects on different layers and then adjust the parallax values in the layer properties.

  • You might be able to use the system event "Compare two values" and then use:

    Audio.PlaybackTime(Tag)

    Get the current playback time in seconds of a sound with a tag. This starts at 0 and counts up to the duration, except for looping sounds which keep counting up past the duration.

    e.g.

    Compare two values: Audio.PlaybackTime("yourSound") > 2 |Trigger once : Your action

  • dop2000 , well at least Wossi won't need to ask why the sprite now only turns white!

  • Wossi

    I think it's because the color settings for SetColor range between 0-100, not 0-255. I've made the same mistake myself!

  • Would something like this work for you?:

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

  • jatin1726:

    The regex defines what can and can't appear in the email address; this part:

    ^[A-Z0-9._%+-]+

    ...defines what characters can appear before the "@". The "@" ensures that there has to be an instance of the "@" symbol.

    This part defines what can appear after the "@":

    [A-Z0-9.-]+\.[A-Z]{2,}$

    Note that neither of these parts allow "@"

    This isn't the only regex that can validate emails. If you google "regex" and "email" you will find a whole bunch of other examples, some more thorough than others.

  • The capx I shared above demonstrates this as described. Here's the link again:

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

    Type the email address into the text box, press enter. The text above the text box will change depending upon whether the email is valid or not.

  • Try Construct 3

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

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

    You can use something like this:

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

    The important bit is in function "AB":

    If (A=0 & B=1) show "TRUE", else if (A=1 & B=0) show "TRUE", else show "FALSE"

    At runtime click on the A and B values to toggle between 0 and 1

  • jatin1726

    In the demo I supplied the following shows as valid:

    ...and these all show as invalid:

    ex@mple@gmail.com

    example@gm@il.com

    ex@mple@gm@il.com

    example@@gmail.com

    Please can you supply an email address that is working incorrectly?

mekonbekon's avatar

mekonbekon

Early Adopter

Member since 9 May, 2014

Twitter
mekonbekon has 13 followers

Trophy Case

  • 10-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • x2
    Popular Game One of your games has over 1,000 players
  • Famous Game One of your games has over 10,000 players
  • Coach One of your tutorials has over 1,000 readers
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

18/44
How to earn trophies