Ashley's Recent Forum Activity

  • For #1: we don't want to do a script editor in the foreseeable future for two reasons - firstly, for HTML5 it would be snippets of Javascript, so suppose everyone uses snippets of javascript in all their games. If we made a different exporter that doesn't use javascript as a programming language, it becomes impossible to export all those games using code snippets to the new exporter, so it would make it impossible to use the new exporter for existing games. Secondly, scripting is a programming thing, and our focus is currently on the non-programming aspect.

    For #2: this is a common misconception. There is no code to look at. Construct 2 does not generate code for events - it generates a data model that is then interpreted. So you can look at what Construct 2 generates for events, but it's just a big block of data. Here's a small snippet of what Space Blaster's looks like without minification enabled (which deliberately makes the code unreadable):

    "Game events", [
         [
         1, "Score", 0, 0],
         [
         1, "Rockets", 0, 3],
         [
         0, [true, "Player and general"],
              [
                  ?[-1, cr.system_object.prototype.cnds.IsGroupActive,
                  ?null, false, false, false, false, [
                        [
                        1, [
                        2, "Player and general"]]
                  ?]]
              ],
              [],
              [
                  ?[
                  ?0, null, [
                        [-1, cr.system_object.prototype.cnds.OnLayoutStart,
                        null, true, false, false, false]
                  ?],
                        [
                             [
                             11, cr.plugins_.Sprite.prototype.acts.Destroy, null],
                             [
                             31, cr.plugins_.Audio.prototype.acts.Play, null, [
                                ??[
                                ??2, ["squaremotif1", false]],
                                ??[
                                ??1, [
                                ??2, ""]]
                             ]],
                             [-1, cr.system_object.prototype.acts.Wait, null, [
                                ??[
                                ??0, [
                                ??1, 1]]
                             ]],
                             [
                             31, cr.plugins_.Audio.prototype.acts.Play, null, [
                                ??[
                                ??2, ["mattoglseby - 3", true]],
                                ??[
                                ??1, [
                                ??2, "music"]]
                             ]]

    So I'm not sure you really want to do anything with that. From there C2 does call actual javascript functions which each plugin defines (@rexrainbow was describing this) but those are the code "inside" each condition and action and expression. If you like you can use Chrome's debugger and set breakpoints in these functions, but I still don't think there's much to gain from it - it tells you more about how each function works than what your events are doing overall.

  • Ah, it's a false positive, you can hit ignore and it works fine. Fixed for next build.

  • It sounds fine here, but in my testing I did come across something similar to what you describe - sometimes all the sound in Chrome is very stuttery, with lots of small gaps of silence. I think it's a bug in Chrome so we can't fix it ourselves, but I found usually just closing and reopening Chrome fixes it. Maybe they'll fix it in a future build.

  • Construct 2 should run fine without admin privileges. You can even install it from the setup program without admin privileges!

    If it's Windows 7 that's a bit surprising, my first guess would be it's an out of date version of Windows XP that isn't supported, but W7 should be fine. My next guess is the graphics card drivers - it might help to update the drivers, but you definitely can't do that without admin permissions... hmm!

  • This has been reported many times and the solution is always updating your graphics card drivers. It's a bug in the graphics card driver and usually it's fixed in a newer version of the driver. There's nothing we can do about it ourselves, we just have to put up with the fact the big graphics card corporations publish crappy drivers and don't make it easy to update :( what kind of graphics card do you have?

  • What browser are you using? Have you tried Chrome? It has the best audio support right now.

  • Construct 2 is a 2D game engine, it's really the wrong tool for making 3D games. You might come up with some cool experiments but I don't think you'll get as far as a full game.

  • Try the 'resize' tool on the toolbar at the top?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • How does an area of transparency look bad?

  • You do not have permission to view this post

  • You do not have permission to view this post

  • The Box2D engine that powers physics doesn't support setting some object properties on-the-fly, like density, friction, elasticity, immovable and some others.

    To get around this the physics engine resets the physics object when you set these properties, effectively replacing it with a new object. That causes it to lose its velocity, though. It's possible to work around it, if the replaced body gets the same velocity as it used to - I'll see if I can fix this for the next build.

Ashley's avatar

Ashley

Early Adopter

Member since 21 May, 2007

Twitter
Ashley has 1,772,216 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
  • x126
    Coach One of your tutorials has over 1,000 readers
  • x74
    Educator One of your tutorials has over 10,000 readers
  • x5
    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
  • x42
    Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

32/44
How to earn trophies

Blogs