Paradox's Recent Forum Activity

  • Your capx is actually a caproj. (a project with all the files saved separately.

    Could that be the problem? you saved as a project by mistake, and then moved the caproj file not realizing the project files and folders were there too?

  • Link to .capx file (required!):

    https://static3.scirra.net/uploads/articles/629/SpriteFontExamples.capx (the actual project where it happened, my Sprite Font tutorial)

    Steps to reproduce:

    1. Swap the FontFamily in the first trigger event (the whole event)

    2. Hit undo where it should switch the triggered event back.

    Observed result:

    It pops up an unhandled exception:

    ---------------------------

    Construct 2 Check failure

    ---------------------------

    Check failure! This is probably a bug:

    Caught XML exception when undoing an action, this is a bug

    Condition: false

    File: Undo.cpp

    Line: 154

    Function: void __cdecl UndoBuffer::Undo(unsigned int)

    Build: release 140 (64-bit) checked

    Component: Construct 2 IDE

    (Last Win32 error: 0)

    You are using a 'checked' release of Construct 2, intended for testing, which causes certain errors to be reported this way. Hit Ctrl+C to copy this messagebox - it's useful information for the developers, so please include it with any bug reports! Click 'Abort' to quit (unsaved data will be lost!),'Retry' to turn off messages for this session and continue, or 'Ignore' to continue normally.

    ---------------------------

    Abort   Retry   Ignore   

    ---------------------------

    (I hit retry)

    it closed, and another popped up saying:

    "Error performing undo: Event block has two triggered conditions. This is a bug. Please report it!"

    I suspect it's trying to add the original trigger back before removing the modified one.

    Expected result:

    the original object would be placed back in the whole event.

    Browsers affected:

    n/a

    Operating system & service pack:

    Win7 64 bit

    Construct 2 version:

    r140

  • Change the Set laser width in the Else event (#5) to

    min(self.Width + self.increment,distance(laser.X,laser.Y,target.X,target.Y))

  • Before you do too much math to get it to stop short, wouldn't it be easier to set the z-order and have the laser behind the obstacles? It would look like it hit the side.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I think I got a solution, I added a "On Start of Layout" Event at the top, and added the "cubes_level_01=3" there.

  • Xionor what he was trying to say was, if you never use the manual setting, there is no need to check it.

    If the setting started as a variable, all you have to do is check the variable.

  • I think we would tune in to a stream if it was just a chug cam. (putting people in front of it and making them chug their beer.)

    Or maybe like a reality show, a confession cam, where people go off and talk about the other people who came in private. Heh heh.

  • Sorry, the 1 + int(NumberKilled/5) should have been 1 + int(Kill/5) if "Kill" was the name of your global variable.

    Here is a quick example playable game I made up, using the Health instance variable, and the Kill to count the sprites destroyed.

    It speeds up the falling apples (slightly) as well as adding to the health.

    https://dl.dropboxusercontent.com/u/85412219/forumposts/AppleShootGame.capx

  • Blacksmith

    Vegas!

  • You need a global variable to keep track of how many you killed, and then when you spawn a new one add that variable divided by 5 to the health value.

    Health = 1 + int(NumberKilled/5)

    (the int will drop the fraction, so the partial number isn't greater than your less than or equal zero check.)

    Edit: This way it increases every 5 killed. If 25 are killed, the health will be 6.

  • Blacksmith LOL Probably not.

    I did drive 2500 miles to Alaska in April. I got paid to help convoy some Jeeps and Tour buses for a friends Tour business.

    Maybe I just need to find someone to pay me to drive to England? <img src="smileys/smiley2.gif" border="0" align="middle" />

    Looks like there are enough takers to fill half the Pub, sounds like it's going to happen.

  • Why did I even check...

    Distance from Evansville, Indiana to London, UK is:

    4146.1 Miles

    ( 6672.6 Kilometers / 3600.5 Nautical Miles )

    Approximate flight duration time from Evansville to London is:

    8 hrs, 37 mins

Paradox's avatar

Paradox

Member since 29 May, 2012

Twitter
Paradox has 16 followers

Connect with Paradox

Trophy Case

  • 12-Year Club
  • x2
    Popular Game One of your games has over 1,000 players
  • Famous Game One of your games has over 10,000 players
  • x2
    Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

19/44
How to earn trophies