Ashley's Recent Forum Activity

  • Please note suggestions in replies to this thread will not be considered. See the original post for details on posting suggestions.

  • What about the other cases I pointed out, like when combining with multiple conditions from the same object type, or involving system conditions that don't do any picking?

    TBH I don't think this is going to happen, realistically. The event engine involves a large amount of complex code, internally there are several different types of conditions that work differently, many important conditions have custom coding for them, and code for OR blocks is highly complex and spread through it all. Even after many years we still occasionally get bug reports and have to tweak the implementation. The idea of adding even more OR logic to all that fills me with dread. Then there's the fact that it's adding a second alternative to an existing feature, which I generally think is the way to end up with messy and complicated software. Add on top of that that I get the impression different people have different views on how this should work, and it seems likely an alternate OR implementation will not fulfill everyone's wishes in every case, and so could end up as something people end up avoiding anyway. Altogether this kind of adds up to a worst case scenario for a feature suggestion.

  • It's still not clear to me how any new OR feature should work. There are lots of awkward combinations of different types of conditions that need to be properly thought-through with specific results defined. It definitely can't just be a logical OR, because it needs to involve picking somehow. You can't just say "make a true OR" without explaining exactly what that means.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It's possible that the browser logs its own messages automatically, without involving JavaScript calls to the Console API. There is no way to access those messages from the page content. However if intercepting calls to the Console API is enough, then as noted there are libraries that can do that.

    • Post link icon

    Please contact supportfps@construct.net for any questions about subscriptions.

  • FWIW the editor should support emoji anywhere (in expressions, object names, etc). If it doesn't, please file an issue. Supporting emojis is more or less a similar technical problem to supporting different languages like Japanese or Greek, so an emoji problem is probably also a language problem. And we want to fully support emojis anyway as it's kinda fun 😀

  • In the event system function parameters only exist for the duration of the function call. (It's not like JavaScript where you get a closure.) Therefore if you call setTimeout, the callback will run after the event sheet function finished and so the function parameter no longer exists.

    I think you can work around it by copying the local variable though and using a JavaScript closure, e.g.:

    let ind = localVars.ind;
    
    setTimeout(() => /* can use 'ind' here */, 300);
    
  • -----> Audio: Add remote URL FileChooser.FileURLAt(0) (type "audio/mpeg") as name "LocalMusic"

    -----> Audio: Play FileChooser.FileURLAt(0) looping from Music at 10 dB (stereo pan 0, tag "")

    If you add a URL with the name "LocalMusic", then you need to play audio named "LocalMusic", not pass the URL again.

  • I'm not clear what you're doing or if you're even using Construct? If you're not getting help you should provide more information and details to ensure others can help you, rather than just constantly bumping the thread.

  • The tutorial Offline games in Construct covers this. You can use the Browser object to detect update events and auto-update, and you can also look in the browser console to see what's going on as Construct logs update events there too.

    FWIW Wordle isn't uploading new content every day - it's just one app with a database of words for all the future day's puzzles. So it can load new puzzles every day without needing to update or load any new content.

  • That's how it's always worked - Sprites all share the same source set of textures.

  • If more than 1 collaborator adds a new behavior, effect, object type, family, layout, event sheet, script, or timeline, it modifies the .c3proj and creates a conflict.

    This should not create a conflict as long as separate parts of the file were modified. It should only be a conflict if two people both try to commit changes at the same time that both affect the same line (e.g. both adding an object to the same folder).

    That really is just how source control works - I suppose Construct could load things some other way, but that doesn't prevent conflicts. You'll still get conflicts if two people modify the same image, edit the same comment, change the same instance variable, etc. etc. The best approach to avoid conflicts is to assign clear roles on the team - for example we have clearly assigned code areas for working on Construct itself, so we rarely have to modify the same thing and rarely ever get conflicts.

    Again, not the expert here, but sequential UIDs might not be the safest approach.

    It's true sequential UIDs don't work well for merging, and it's been a problem before. However I think there's a smarter way to solve this than just adding a whole new kind of UID: in r348 there's a new project property you can change that assigns all UIDs as random numbers with at least 6 digits. Therefore if two people add new objects, the chance they are assigned the same UID is negligible. I think if you set your project in to this mode it should avoid this type of problem happening.

Ashley's avatar

Ashley

Early Adopter

Member since 21 May, 2007

Twitter
Ashley has 1,530,749 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
  • x69
    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
  • x38
    Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

32/44
How to earn trophies

Blogs