newt's Recent Forum Activity

  • I think the usual method is to use a dummy sprite with multiple image points.

    If you give the dummy the movement behavior, and have 2 different image points, you can have the car pick via variable which image point it should set position to.

  • [quote:3i6kitfa]weakness

    1. some resources such as sound and music aren't kept in the project file

    Um..

    This is actually a strength. Makes it much easier to share caps.

    Sounds and music added from resources are included in the exe.

    You can load anything you need from an external source, and (via plugin) you can package anything with it as well.

    [quote:3i6kitfa]2.you"ll need multiple sound objects in order to play sound FX simultaneously with music.

    Might want to take a look at the wiki on channels in the xaudio2 object.

    There's like up to 64 channels so that should not be an issue.

    I will say the object's use is an issue.

    Its very confusing for new people.

  • Trying to think of something else, but I'm drawing a blank.

    <img src="http://dl.dropbox.com/u/666516/2010present.png">

    Edit:

    Updated, with a game using Tulamides music.

    http://dl.dropbox.com/u/666516/Santa%27s%20Package%20Handler.exe

  • Well I'm not sure how your events are set up, but usually it's something like:

    private variable is >0

    -on click

    Basically your checking that there is ammo, and allowing it to fire in a sub event.

    If the first condition is not met the second wont happen.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 2008 was a loooong time ago in terms of the project, so a lot of the older caps probably wont run.

    It would be better to send a private message to the original poster, rather than make a new post that really can't contribute anything.

  • Um..... its lite.

  • That and a variable blur on blur mask.

  • Blurs are nice, but they sure can take a bite out of fps.

    http://dl.dropbox.com/u/666516/field.cap

    What would be really nice is a gradient object that works like Tulamides Gradients shader.

    IE a radial gradient.

  • Look at it this way. Regardless of what makes up the formula, it will always have a total.

    He can figure that amount on the fly, and save it to a separate variable.

  • [quote:21s5xrmq]This is confusing more than helping. Please have a look at my long post about it. There are two variables that are related to each other and influence each other. Also, my expression never reaches frame 0, I think it is a better way to make sure you don't get unwanted values instead of hoping that Construct will catch the error.

    What ever.

    Still say it's a better way. He just needs to get the value of the variable before he even thinks about setting the frame.

    Then there's the lerp method. You can use 1-10, 1-11, 5-20, and change the modifier to n*0.1.

    And if your terribly worried about returning a zero, all you have to do is change the always condition to a comparison making sure its greater than 0.

  • Yeah^

    Int() just means that you want to use an integer, or whole number.

    Not 0.5, 1.98988, but 1, 2, 3....

  • Lets look at this in a more simplified way.

    If your max shield hp is 1000, and you have 10 different states, you can use that as a percentage.

    always

    ->sprite set frame to int(shields('health')/100)

    Note:

    Frame 0 is not possible, but the system will use the closest to it frame 1.

    http://dl.dropbox.com/u/666516/framepercent.cap

    And while your looking at the system expressions take a look at lerp.

    int(lerp(1,10, Sprite.Value('hp')/1000))

newt's avatar

newt

Member since 12 Nov, 2008

Twitter
newt has 27 followers

Trophy Case

  • 16-Year Club
  • Entrepreneur Sold something in the asset store
  • 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
  • Popular Game One of your games has over 1,000 players
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • Unrelenting Visitor Visited Construct.net 180 days in a row
  • Continuous Visitor Visited Construct.net 365 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

31/44
How to earn trophies