Ashley's Recent Forum Activity

  • Well, previewing should look the same as when you press Export. Otherwise you design your game and then you export it and it looks different, which is annoying. So shouldn't it stay this way?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Try adding a layer and using sprites with an effect on it. The 'Lighting.capx' demo in the examples directory might help show the idea.

  • Always, always animate objects by moving/rotating/resizing rather than making a sequence of animation frames. Doing it by animation frames will waste tonnes of memory unnecessarily! It's much better to do it by events, and it usually looks smoother too.

  • You might be interested in the Function plugin (third party), but we were going to add official features along those lines eventually anyway.

  • That's a good point Yann, using families as a second independent object-picking list is probably the best unintended feature of families!

  • Try "Every 60 seconds" instead of "Time = 1 minute". Alternatively try storing 'time' in a global variable on start of layout and checking if the time is 'time + 60'. The game time is from the very beginning of the game, so the second time around the time will be 2 minutes and counting, which will not satisfy the "time = 1 minute" event ever again.

  • Are you literally typing in: Health + 1 ?

    You know instance variables have to be accessed with a dot?

    These all work:

    Self.Health

    Sprite.Health

    Family1.Health

    if you just type in "Health" it will look for an event variable by that name, and none exists, so the error is correct.

  • You have a weird collision polygon on the object: there seem to be *three* collision points on top of each other on the long edge of the triangle. This is crashing the physics behavior - I'm not sure why it does, it's the Box2D library that can't seem to handle it. I don't think there's anything I can do to fix it myself, but you can easily work around by deleting the point on the collision polygon that's in the middle of the long edge of the triangle (you need to delete it 3 times) then it works fine.

  • If you do not enable a fullscreen mode, it is by design that it appears with the border: it's displaying the canvas inline in an existing HTML page.

    I'm not sure why the canvas appears at the wrong scale in Safari, but I noticed you're checking in preview mode, is it the same after you export?

  • This probably won't be fixed because if you want to reference one layer no matter where it is, as suggested you should use its name. Using a number is for referencing a layer by index regardless of its name. For example you might want to spawn an object on layer 0 to always spawn it on the bottom layer regardless of what layers you move around in the layers bar. So I think this behavior will stay.

  • You do not have permission to view this post

  • ranma, I'm confused, what about the "Error: this.xa.hq is not extensible"? Where does that occur?

Ashley's avatar

Ashley

Early Adopter

Member since 21 May, 2007

Twitter
Ashley has 1,773,424 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