Ashley's Forum Posts

  • Man that is awesome!

  • We have plans to expand the object bar significantly in future releases, so things like this are definitely on the agenda. In future the layer bar object list will be entirely moved to the object bar.

    (Moved post for you)

  • You can enable the attribute you've added on some objects, then test for it in object parameters (such as on collision with myattribute). You can also pass it to some plugins (such as RTS behavior - navigate around myattribute). This could be useful if you want to separate out different types of solid object, for example.

  • Nice update. Some excellent new features in there.

    Could you send your .cap to ? I'll see if I can do anything about it. Alternatively, you can try the old delete-stuff-till-it-works approach.

  • [quote:a6qq8pw5]This is one of our biggest releases ever, with the most changes - exercise usual caution if you have projects you are worried about (back them up, or wait a few days to ensure there arent any new bugs).

    Sorry, theres not a lot that can be done - I think you've learnt the hard way about backups! .cap files have never been backwards compatible, only forwards - there are usually subtle under-the-hood file format changes and we do some jiggery pokery to make old files automatically import. Still, that message could be friendlier...

  • Must be a bug in the UI library. I'll follow it up with the developers.

  • 0.97 introduces a 'qarp' (quadratic interpolation) expression which is like 'lerp' (linear interpolation) but for quadratic curves. Included is a demo showing how you can easily set up nice curves using the expression. The red dots are drag and drop.

    I think I got the formula off Drasa or someone, who pasted in its equivalent in lerps to the forum

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Cecil: that's not meant to happen, try deleting the HKEY_CURRENT_USER\Software\Construct\ folder in the registry and start up Construct again.

  • I think you'll have to put the Light (which draws the shadows) on layer 3, so it doesn't draw over the casters. You'll need a sprite with the white spot to do the lighting on the top layer.

  • Why are you trying to use mask? It's for cutting holes in things. I think you want to put on Multiply for lighting - and turn off transparency on that layer for it to work.

  • Download 0.97 now

    Construct 0.97 is a major update including theming, better family support, a new Plasma object, mesh distortion in Sprites, several other new features, and many significant bug fixes.

    This is one of our biggest releases ever, with the most changes - exercise usual caution if you have projects you are worried about (back them up, or wait a few days to ensure there arent any new bugs). However, I'm hoping everything has gone smoothly!

    Construct is developed free of charge by volunteers. You can support Construct's development by donating via the button on the main page.

    Here's the full changelog:

    Behaviors

    • [ADD] Turret: predictive aiming (uses the LinearAim engine to aim at moving targets)
    • [FIX] Physics: destroyed objects still colliding
    • [FIX] Physics: editing collision masks for rotated objects
    • [FIX] Physics: objects getting stuck when stopped and then using Set Velocity

    Families

    • [ADD] Family manager: can add and remove private variables to and from families in one go. This will be expanded in future to allow for the same thing with behaviors and effects.
    • [ADD] When adding an object to a family, you are prompted to add the family variables to the object. This prevents objects with no variables wiping out family variables when adding them to a family.
    • [ADD] Add/remove variables dialog: when removing private variables, you are prompted if any families are using the private variable.
    • [FIX] Expression type checker could have accepted non-existant family private variable names in some circumstances
    • [FIX] You now cannot mix plugin types in a family. If you try to add a button to a family of Sprites, a warning is displayed and the object is not added.

    General

    • [ADD] Theme selection from Preferences dialog. Affects entire interface. The three coloured 2007 themes are not yet finished - some dialogs will appear unthemed and there seems to be a drawing bug with the ribbon - but the other themes work OK.
    • [ADD] Application properties: Text rendering mode (Aliased, Antialiased, Cleartype). Cleartype seems to produce the best quality results, especially for large font sizes.
    • [ADD] Ribbon 'Events' page: Find
    • [FIX] Properties bar: Locale settings where comma was the decimal separator always was interpreted as an integer. Comma is now supported as a decimal separator as per locale settings.
    • [FIX] More consistent theming of dialogs throughout the IDE
    • [FIX] Undoing an add/remove private variable to an object corrupted the application. These actions cannot be undone until a solution is found.
    • [CHANGE] Ribbon: Removed add/remove layout buttons (they did nothing and you may as well use the project bar)

    Event sheet editor

    • [ADD] System object: LayoutName, LayoutNumber, Sign, Qarp expressions
    • [ADD] System object: On Collision (advanced) and Is Overlapping (advanced) conditions. Allow you to specify the exact objects being picked.
    • [FIX] Passing private variables to plugin expression parameters was sometimes rejected as invalid expression
    • [FIX] 'ceil' expression was not working
    • [FIX] Find & replace dialog: Event numbers of results were sometimes wrong, and dialog did not resize properly. Slightly tweaked layout of dialog.

    Layout editor

    • [FIX] Grids: snap movements/snap resize now working properly
    • [FIX] Grid settings are now saved

    Picture editor

    • [ADD] Status bar tips for all buttons/tools
    • [ADD] Toolbar button for "wrap mode" (allows easily drawing seamless tiled images)
    • [FIX] Some tools not working properly (eg. Flip)
    • [FIX] Problems with opacity
    • [CHANGE] Shift+Crop leaves a 1 pixel transparent border around the image. This improves image quality for rotations & scaling.

    Plugins

    • [ADD] Plasma object
    • [ADD] Sprite: mesh distortion (enable with set distort map size action)
    • [ADD] DirectSound: Set/Get Master volume
    • [ADD] Window: Get window client X/Y
    • [ADD] Particles object: Can now scale and rotate individual particles (construct only uses the fast method if theres no scaling and rotation)
    • [FIX] DirectSound memory economy: frees memory when an autoplayed channel stops (this was not a memory leak, but the memory would still be in use until another sound was played on the same channel).
    • [FIX] Particles object: respects timescaling properly
    • [FIX] Combo box: sort and type options were not working correctly
    • [FIX] 3D Box: crash when using 'Change display resolution'
    • [FIX] List box: 'Add line' did not accept numerical expressions
    • [CHANGE] Default image size for Sprite is larger
    • [CHANGE] DirectSound: Positional sounds engine now more realistic, obeying the inverse square law. New rolloff controls and minimum distance to customise.

    Runtime

    • [ADD] New runtime application properties under 'Advanced': Override TimeDelta, and Timer FPS. If override is enabled, TimeDelta returns a constant value, regardless of the real value. The value given is 1 divided by the Timer FPS (eg. if you enter 50, TimeDelta is always 0.02).
    • [FIX] 'FPS in caption': gave multiplied framerate values when motion blur enabled.
    • [CHANGE] System: 'Timer' expression now respects timescaling, incrementing more slowly with lower timescales. Timer is now higher resolution (previously was to nearest ~10ms, now to 1ms) and more accurate.
  • Attributes are kind of an even more general form of families. Families all have to be the same plugin type eg. Sprites - Attributes don't have to be. They are literally an on/off flag - like you can set a bunch of any old objects to "Solid", and then make an event "Bullet collides with solid". Then "Solid" can refer to boxes, sprites, tiled backgrounds, or anything, which it couldn't if it were a family. However, you can't use events to relate to an attribute in general like you can with a family.

    You can edit attributes by the 'Edit attributes' link in object properties (at the bottom of the list of checkboxes), or in application properties.

    The built-in attributes usually have an effect on various behaviors or plugins. The Platform movement won't fall through 'Solid's, the screen centres on objects with 'Centre view on me', and some plugins like the RTS movement allow you to pathfind around objects of a certain attribute.

    And on second thoughts, I think I'll go paste this on the wiki

  • I think this is a great idea. Construct doesn't ship with any graphics libraries at all. Sadly, I suck at art.

  • all plugins are Visual C++ 6.

    ...except 3D box, which is Visual Studio 2005, and a handful of others. Also, the runtime is built in Visual Studio 2008 (but could be back-ported to 2005 fairly easily).

  • Event 4 should read:

    Text: set private variable 'total' to 0

    This resets the counter 'total', because the next event does the counting.

    Then event 6 should read:

    Set text to Text('Total')

    ie. display the total found by event 5.

    Overall you're doing this:

    Reset count to 0

    Count the total

    Display the total

    Your current file omits the 'reset count to 0' stage, so the next time the events are read, it's adding even more to the old total.