R0J0hound's Recent Forum Activity

  • Ashley

    Confirmed. The expression editor won't take an expression like

    "red"="red"

    It says "type mismatch, = does not work with 'integer' and 'string' (use & to build strings)"

    dcrew

    You can use a private variable to combine picking across events to do an "or".

    http://dl.dropbox.com/u/5426011/examples%208/or_example.capx

  • Also when in the event editor click on "events" on the top ribbon and use search.

  • The timer behavior works fine. "on timer" is a triggered event, so it will be evaluated out of order of the rest of the event sheet. You also can't see how much time is left on the timer.

    You can also use a variable. Set it to the number of seconds you want and subtract TimeDelta from it every tick. The timer is done when it's less than or equal to 0. The main advantage this has over the behavior is you can see how much time is left.

    The only inaccurate way is using "every x milliseconds" to decrement a timer when x is close to 1000*TimeDelta.

  • Eh, I'm no Yoda but here is a way to do tweening:

    /examples%208/tween.capx

    https://www.dropbox.com/s/pqhq1wzc04ch3 ... .capx?dl=1

    In a nutshell I used another sprite to act as a keyframe. In the events the two closest keyframes are selected and the Sprites are linearly interpolated from key to key.

    EDIT:

    Here is an simple example just doing what you asked:

    /examples%208/tween_simple.capx

    https://www.dropbox.com/s/yp9gjzezwxxyr ... .capx?dl=1

    and for fun I was tinkering with my original example:

    examples%208/tween2.capx

    https://www.dropbox.com/s/rsxqjsna0yo7x ... .capx?dl=1

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Check "Force own texture" for layer 1

    and uncheck "transparent" for layer 1 and make it white.

  • "Stop Loop" just keeps another loop from being done, it doesn't stop at the current event.

    Try using "wait", it's much simpler.

    Every 1.0 seconds

    -objPushClick | Set Invisible

    -Wait 0.5 seconds

    -objPushClick | Set Visible

  • If you've seen it done in some 2d game it should be doable in Construct.

    The main difference between top view movement and isometric(2:1) movement is when moving vertically it is moving half the speed of when it's moving horizontally.

    Camera movement is done the same way as top view just gradually move the camera ahead of the direction the player is going.

    Ex:

    /examples%208/isoracing.capx

    https://www.dropbox.com/s/imp0a38pctqnl ... .capx?dl=1

  • The Audiere library stores it's volume in a "float" (32 bit floating point number) which only keeps track of about 7 significant digits. I switched my code to do calculations with "double" (64 bit floating point number) which keeps track of about 16 significant digits. But after calculation the value is rounded to a "float", so adding a very low number will have no affect. I'll have to come up with another solution.

    In the mean time you can fade volume with a time expression:

    clamp(((timer-start_time)/(second_for_fade*10), 0, 100)

    There is no limiter that I know of. The plugin for the most part is just a wrapper for the Audiere library.

  • I just released 1.4 on the first post. I switched to using a higher precision floating point number type so most of those rounding errors should be eliminated.

  • Here is a way to do a spline though waypoints:

    https://www.dropbox.com/s/lnim2ur10r5ua ... .capx?dl=0

    /examples%208/catmullrom.capx

    A plugin could be made to hide the formula, but there isn't a way to make an in IDE node editor at this time.

  • I haven't opened you cap but are you sure you are resetting the global variables "count" and "schaum" when you reset?

  • When using the forum search you can change "All forums" to select only the Construct 2 forums.

    ince I'm a C2 user I don't really care about the previous creation tool.

    Except many of Construct Classics examples provide a starting point to do stuff in C2.

R0J0hound's avatar

R0J0hound

Member since 15 Jun, 2009

Twitter
R0J0hound has 155 followers

Connect with R0J0hound