jobel's Recent Forum Activity

  • fremachuca no the problem still exists.. I don't think anyone is working on it. I don't think "the powers that be" totally understand why it's necessary. I've stopped pursuing the issue since I view it as a limitation. The browser based audio lib was never meant to have multitrack capabilities - not that it can't, it just wasn't configured that way.

    eli0s you don't have any sync problems because you are loading the music fully into memory. Try streaming it and by the 3rd loop it will be totally out of sync.

  • Kyatric thanks, that helps.. all I'm trying to achieve is a short delay before displaying an achievement. When my player collects items I have sfx and particle fx... when the player collects a rare and special item I want to display an achievement banner but I don't want it to interfere with the normal effects of picking up an item...hence the delay. Conceivably, a player could pick up two specials consecutively which I'd want to account for...

    I messed around with making the object invisible (OnCollision) and shutting off collisions then destroying it later, but that feels a tad messy...

    the lifo approach seems like overkill but it may be the best option...thanks!

  • I have a related question Kyatric

    if you use a Wait in a function and call the function with a param, does it asses the param source after the wait?

    i.e.

    Player OnCollision with Item

    Call Function ShowItemAchievement(Item.text)

    delete Item

    Function ShowItemAchievement

    Wait 1

    Set DisplayText to Function.Param(0)

    My code always shows the item text as 0 even though I am passing it string. My guess is the Param reference doesn't happen until after the Wait and since it has been destroyed it takes empty memory which is zeroed out. Can you confirm this?

    Maybe I need it to hold the param in memory.. I could probably use a local variable in the Function, but not sure how that would respond if I had 2 Item Collisions in a row (would it stack up? or overwrite the local variable?)

    +1 to this.. I plan to release on Steam next year as well...

    as far as I know NW 10.5 works with the current greenworks plugin.. can someone confirm this?

    also as far as I know every C2 game on Steam is using NW 10.5

  • awesome job on the videos.. I know how much work that is! great to finally see the game in action..

    I can't believe you only had 200 objects on that screen and your MEM was only 150! I'm used to my unbound layout which can be a bear..

    keep it coming..

  • great suggestion fisholith

    although this assumes your shield is circular right? if you had oblong shields (like in star trek) you'd probably need to do some sort of animation frame swapping..

  • unless your only condition is Trigger Once, but then it triggers right away...without a condition

    or the only other way is that your condition can never be untrue, and then true again...

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • ah right.. yes.. so I guess in the case of a true Trigger ONLY Once, you have to set it up yourself?

  • hey all,

    Trying to trigger a Once While True only the first time something happens, and then never again for that layout.

    Other than setting a flag variable is there a better way to do this?

    PlayerHealth < 10

    NoAudioIsPlaying = true

    Trigger Once While True

    ----------------PlayAudio "Blue wizard is about to die.."

    Since the NoAudioIsPlaying variable changes throughout the layout the only way I see to make this happen once is to make yet another variable "PlayOnce"

    PlayerHealth < 10

    NoAudioIsPlaying = true

    PlayOnce = 0

    Trigger Once While True

    ----------------PlayAudio "Blue wizard is about to die.."

    ----------------PlayOnce set to 1

    I only ask because I have a whole mess of these conditions (and I'd have to create a unique flag for each) that I only want to happen once in a layout.. was wondering if there was a cleaner way...

    thanks...

  • Hey all I'm showing my C2 game "Alpha One" at the 2015 BFIG this saturday (9/12).

    I know there's not that many New Englanders here, but if so, come visit! it's at MIT in Cambridge, MA 10am-4pm

    http://bostonfig.com/

  • Thanks R0J0hound I'll check it out! (I very much appreciate the help!)

  • okay, update..

    I was able to make it better, but it's still not quite right.. it's definitely better.. but there must be a real way to do it.

    Every Tick Set Pointer.angle_diff_to_x to anglediff(Self.Angle,angle(self.X,self.Y,PointToThis.X,PointToThis.Y))

    T=min(abs(self.anglediff_to_x - 180) * (0.02/180),1)

    Pointer Set Angle: anglelerp(self.Angle,angle(self.X,self.Y,PointToThis.X,PointToThis.Y),T)

    This is nightmarish.. I'm spending days and days just trying to get the movement right... ready to scrap it a design a different movement...

jobel's avatar

jobel

Member since 27 Jul, 2013

Twitter
jobel has 8 followers

Connect with jobel

Trophy Case

  • 11-Year Club
  • 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
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • x4
    Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

18/44
How to earn trophies