R0J0hound's Recent Forum Activity

  • Scidave, it seems fairly easy to reproduce the plugin without the source. Here is a tutorial on how to get it working http://msdn.microsoft.com/en-us/library/ms720163%28VS.85%29.aspx.

  • Pretty cool. The only problem I can see is that some areas have no access.

    To get it to work for 0.99.92 change the condition in event 3 from

    + System: For "filly" from 1 to layoutheight/Tile.height

    to

    + System: On loop "filly"

    as a workaround for now...

  • Here's a way to eliminate the jerk in the movement by using a variable that keeps track of the total angle change and reducing the variable whenever the object angle is changed. Hope that helps.

    req 0.99.92

    http://dl.dropbox.com/u/5426011/examples/angaccum.cap

  • Here's a way to do it with one global variable and two events:

    + Sprite: Pick closest to: MouseX, MouseY
    -> System: Set global variable 'notthis' to Sprite.UID
    
    + Sprite: [negated] Sprite: Unique ID is global('notthis')
    + Sprite: Pick closest to: MouseX, MouseY[/code:2uwyojk0]
  • I can see where path branching would com in handy for this if the cars can change lanes only at certain locations. Here's a way to do the lane changing at any point of the path:

    EX: http://dl.dropbox.com/u/5426011/examples/lanechange.cap

    The track is defined by one path and other lanes are defined by perpendicular offsets from the path, then the car's path is made as it goes.

  • Here's a stripped down example with some comments explaining what is being done:

    http://dl.dropbox.com/u/5426011/examples/sandbasic.cap

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I stumbled upon this freeware game creator called "Game Develop", that appears to have recently been translated from French to English. I was surprised how complete the program appears, and made by only one developer AFAIK. It has a WYSIWYG editor and uses an events similar to Construct and is able to make games for Windows and Linux.

    It's no replacement for Construct though, and it's ease of use and fast workflow. Yes, I'm biased.

    Link:

    http://www.en.compilgames.net/?file=kop1.php

  • If you only need to input numbers you can accomplish it with just the Mouse&Keyboard and Text objects and two events:

    + System: For "" from 0 to 9
    + MouseKeyboard: On key LoopIndex + 25 pressed
    + System: Trigger once
    -> Text: Set text to int(.Text & LoopIndex)
    
    + MouseKeyboard: On key Backspace pressed
    -> Text: Set text to int(left(.Text, len(.Text)-1))
    [/code:1u3t3ixj]
    
    Here is a more advanced example that works with multiple instances of the text object and shows a blinking cursor on the selected instance:
    [url]http://dl.dropbox.com/u/5426011/examples/NumberInput.cap[/url]
  • What it does:

    Replaces one color with another.

    How to use it:

    The "old" parameters define the color to be replaced, and the "new" parameters define the new color. Values are in the range from 0 to 255.

    Installation:

    Download "Color Replace.fx" and place it inside the effects folder.

    Download:

    Color Replace.fx

    old:http://dl.dropbox.com/u/5426011/Color%20Replace.fx

    EDIT:

    New version that works with transparency, thanks to tulamide

  • The "anglediff(a, b)" expression is a better way to calculate angle differences as is corrects for the 360 to 0 jump.

    Change this

    -> Sprite16: Set 'Angle Speed' to Sprite16.Angle - Sprite162.Angle[/code:3gwp2r86]
    to this
    [code:3gwp2r86]-> Sprite16: Set 'Angle Speed' to anglediff(Sprite16.Angle, Sprite162.Angle)[/code:3gwp2r86]
    and remove event 3
  • If those boss ships aren't animated set their animation speed to zero, that should reduce the number of times the collision mask needs to be recalculated, which will give you a speedup.

  • I used black (or 0) to be empty and every other color is a particle. Collisions are done by before moving a particle, check the destination. If the destination is empty, then move the particle. Else if the destination has another particle in it, then you have a collision and the particle isn't moved and you can define some reaction at that point.

R0J0hound's avatar

R0J0hound

Member since 15 Jun, 2009

Twitter
R0J0hound has 155 followers

Connect with R0J0hound