Ashley's Recent Forum Activity

  • This is a fairly complex and subtle part of the runtime - and as far as I know, it'd be very difficult to change, so it'll most likely stay the way it is.

    The way it is, though, is that when you create an object, it doesn't really exist until the end of the next top level event or trigger. If you create an object in an event, as everyone knows the actions following it apply to the newly created object - but other actions won't apply to it until the current top-level tree of events or the current trigger finishes. (A top level event is anything which is not a subevent of anything else - I can't remember if events in groups of events count)

    So a potential problem would be creating an object in a subevent, then trying to use it in another following subevent. However, it's still picked in subevents to the event it was created in! Confused yet?

    Then triggers make it a bit more complicated - triggers are allowed to trigger any time they want, at any stage in the runtime. So what I suppose is happening, is the trigger is firing between running events and drawing the screen, so it goes:

    Run events (no objects exist so the action to make it change colour)

    -> 'on button clicked' fires: creates an object with default colour

    Display rendered, showing the default colour

    Run events again - this time changes its colour

    Nothing triggers this time around

    Display rendered, showing the changed colour

    That's why you see it a different colour for one tick - you're assuming the trigger fires before the events. They're allowed to trigger any time, so you shouldn't rely on this kind of behavior. You should set up your object in its initial state in the event that creates it.

    If you've made it this far, the collisions and key press events (and a rare few others) aren't real triggers. Real triggers show with the green arrow icon; the fake triggers like 'on key pressed' actually just have a built-in 'trigger once' to a 'is key down' test. So they run where you expect them to in the event list - and you can guarantee events after them will run after it. You can't guarantee that with real triggers - their position in the event sheet has no meaning except in relation to other triggers.

  • Search the tracker for known issues.

  • Voting closes tomorrow! Make sure you get your votes in!!

  • I'll see if we can stick it on CVS at some point.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • But ... this release of construct should be a patch.

    If you have a poor internet connection, re-download 50mb is long. . .

    It's only 13mb

    was hoping it would be 0.99.41

    I'm sorry to crush your hopes and dreams of there ever being a 0.99.41, but I thought the "2" made it clear it was the next version

  • I think each new release (with a large changelog) will add 0.00.1 (eg. 0.99.3 -> 0.99.4) then if there's anything wrong with that build then minor fixes to that changelog will increment 0.00.01, like this build. This build definitely isn't enough to warrant being called 0.99.5 - and hopefully from now on, the first build in 0.99.x0 will be unstable, and the last build under 0.99.x will be stable.

  • Well, maybe, but as I said it can all be done via events on meshes, so it's potentially a lot of effort for something that can already be done another way... you won't get a performance boost the same as with pixel shaders, vertex shaders are fairly light on CPU when done in software.

  • There's no way to use vertex shaders yet - before meshes, there was no reason to (what can you usefully do with four vertices?). However, you can do anything a vertex shader could via events, and it probably won't be a bottleneck unless you're doing really insane stuff.

  • Download 0.99.42 now!

    Link to 0.99.4 changelog

    Edit 26th July 09: Marked stable.

    Since I moved to a new computer the build configuration changed which caused some problems with people installing 0.99.4 - so this build mainly aims to fix that startup issue. Click the link above through to the 0.99.4 changelog for more info on what's new in 0.99.4. This build is fairly minor so the new version numbering (0.99.42) reflects this (plus we're running out of numbers )

    Changelog:

    [ADD] New 'Copy collision mask to all frames' item when you right click on a frame, allowing you to give the same collision mask to all the frames of an object. Useful for platform games

    [ADD] New 'Auto rotate' to platform movement, so if you press left or right it auto rotates

    [FIX] Construct not starting up due to configuration issue

    [FIX] Collision bug in runtime

    [FIX] Panel object now edits the image when you double click it

    [FIX] Platform movement controlled animations (tagged animations) would be stuck on the first frame

  • OK, well I think I figured out the issue, so there can be a new build later today

  • Ah, actually I just realised, maybe the redist has changed...

    If you're having startup problems can you install this and let me know if it fixes it?

    http://www.microsoft.com/downloads/deta ... 9c36f85647

  • And you're installing the Visual Studio 2005 redist every time? That's the crucial thing to enable the IDE to run. Apart from that, this is bad, I have no idea what would cause that, I can't think of anything I've changed at all related to this problem since 0.99.3...

Ashley's avatar

Ashley

Early Adopter

Member since 21 May, 2007

Twitter
Ashley has 1,444,015 followers

Connect with Ashley

Trophy Case

  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Forum Wizard Made 5,000 posts in the forums
  • Forum Unicorn Made 10,000 posts in the forums
  • Forum Mega Brain Made 20,000 posts in the forums
  • x109
    Coach One of your tutorials has over 1,000 readers
  • x63
    Educator One of your tutorials has over 10,000 readers
  • x3
    Teacher One of your tutorials has over 100,000 readers
  • Sensei One of your tutorials has over 1,000,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • RTFM Read the fabulous manual
  • x36
    Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

32/44
How to earn trophies

Blogs