DtrQ's Recent Forum Activity

  • It's nice plugin, but I prefer to don't use plugins if goal can be reached with events. I think there must be way to do it with pure Construct

  • > Lerpin angles is a bit complicated, might do an example of that.

    > lerp(sprite.angle, new angle,x*timedelta)= boo hoo when new angle is greater than 360, or is less than 0.

    >

    That's no problem with math prior to lerp. Set a variable (we call it 'm' here) to:

    m = (abs(new angle) % 360) * Sign(new angle) + 360[/code:1zzglhlo]
    
    then use lerp with:
    [code:1zzglhlo]lerp(sprite.angle, m % 360,x*timedelta)[/code:1zzglhlo]
    
    Whatever value 'new angle' has, it will be (mathematically correct) shifted to the range 0-360
    

    It still don't want to rotate correctly

    http://dl.dropbox.com/u/24325446/lerpangle.cap

  • Actually, you don't have to manually set bullet angle while spawning. Bullet will automaticaly get parent object's angle.

  • You also can create any object existing in your game on any layout from another layout via single eventsheet. Add new eventsheet and you will have access to all objects in game, then include eventsheet to layout you want.

    E.g. you have 2 layouts. There's SpriteA on first layout and no Sprite's instances on second. Add new eventsheet, add "<some event>-> create object SpriteA at x,y", include the eventsheet to second layout - now you can create SpriteA's instance on second layout

  • When create new condition - Not equal

    When copy existing condition - invert

  • DX9 needed, it's different dxs

  • Silent Hill series (1-4)

    Resident Evil series

    Castlevania series

    Indie:

    Cave Story

    suteF

    All Of Our Friends Are Dead \ Au Sable

  • Create new event sheet and include it to all layouts (right click - include event sheet)

  • Try put music files in construct's AppData folder (in win7 it's C:\Users\<ur name>\AppData\Roaming\Scirra\) where Temp.exe is (it's 'preview' exe, generated when you run game from construct editor). It sould works even if you didn't saves cap

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thought about that, but then it would also hurt any other enemies (namely ones that don't interact with solids) overlapping that solid object.

    How about that: instead overlapping use x,y comparsion, e.g.

    -enemy is frozen -> create solid at enemy's XY, disable collision mask for enemy

    -solid recieves damage

    ????-enemy's XY equal solid's XY -> substract enemy's HP

  • System -> On Collision (Advanced) -> Don't Pick

  • No feedback

    Looks like I only one who worries about lack of mod support in construct

DtrQ's avatar

DtrQ

Member since 1 Aug, 2010

None one is following DtrQ yet!

Trophy Case

  • 14-Year Club

Progress

14/44
How to earn trophies