Ashley's Recent Forum Activity

  • So you can go file - new template, and open and run the templates? Is it purely inserting objects that crashes?

    It would be useful to know your graphics hardware - if it's onboard, the GPU model or just motherboard model, too.

  • Microsoft do do some things excellently - in my opinion visual studio 2008 is the best code editing IDE out there, and I use it for Construct. Also, while it's no more likely than a Flash runtime, a Silverlight runtime for web games is something to think about and research (but I emphasise, no more likely than a Flash runtime, which is pretty darn unlikely).

  • Are you drunk?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Haha, I think I forgot to add that condition

    I'll put it in the next build. You can also make all the rest of the events in the group a subevent to a "group is activated" condition - when it's done - saving you repeating the condition in every event.

  • Well, the activation of a group currently acts like a big 'if' statement. The activation state of the group is only checked at the top of the group, and if it is activated, all its events get run. Consider the event:

    + Global variable 'Myvar' = 0

    Action 1

    Set 'Myvar' to 1

    Action 2

    Even though the action 'Set 'Myvar' to 1' makes the condition of the event false, this does not cancel the running of the event; Action 2 is still run even though the event is no longer true. It's simply because the conditions are checked once only, and all actions are run when that check is true.

    The logic is the same with groups, and I'm not convinced it should be changed, since this behavior exists in other places in Construct. You could work around it by adding 'Group is activated' conditions to the subsequent events after a deactivate.

  • Sorry to spoil the surprise, but it's a helicopter.

  • Very nice solution, textures pull this off nicely. Kudos for scaling smoothness too!

    Hint: Enable 'Force Own Texture' on the circle layer, and add the Erase effect to the green circle. You get just a nicely antialiased black ring which might be useful.

  • And congrats on being the first person I noticed to crop up on the birthday detector machine

  • Go File -> Save As, and at the bottom, there's a button that says 'Change' next to the Format. Click it and select 'PCM' as the format, and try to match the same bits per sample/frequency as the original file.

  • Directsound only supports PCM WAV files, and those files are ADPCM. You need to convert them to be able to play them. I wrote about this in the other sound thread.

  • As I said, try using 'Autoplay file' instead. It does all the channel assignment for you.

  • It's possible to control objects without affecting ones which have already stopped - use a private variable. For example, if you have a private variable called 'Is active', set it to 1 when you create it at the top, and set it to 0 when it reaches the bottom, you have a way of picking the four or so blocks that are falling. Eg.:

    + User presses spacebar

    + Sprite 'Is Active' equals 1

    : (actions to rotate the tetris block)

    This way the event's actions only affect the falling blocks, and not all the blocks that are sitting at the bottom.

    Events are a different programming paradigm than you are probably used to. It is most helpful to think of what you need to do in terms of which objects need to be picked, and in this case, what's unique about the objects you want to pick (ie. they haven't fallen to the bottom yet). Then, it's as simple as coming up with a condition to pick those objects.

Ashley's avatar

Ashley

Early Adopter

Member since 21 May, 2007

Twitter
Ashley has 1,763,158 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
  • x125
    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