Triforce's Forum Posts

  • Still need help on this!

  • Hello Scirra people.

    I have a object that is moving with the Sine object.

    I want it to go back and forth.

    But in the same speed. currently the only way I know how to make it work is with sine is to have a random magnitude, but that makes the object move faster aswell.

    is there a way to always make a object move at the same speed but random length?

    For example.

    It always have a 50 magnitude.

    But first time it moves

    <------>

    Next sine, it moves

    <-------------->

    (random length)

    But always in the same speed.

    how do I achieve this?

  • On layout start -> Spawn X ?

  • Got it to workm no need for help

  • I saw this thread but I don't understand what Ashley means

    Lets say I want 5 objects spinning around a object (that is not moving) just to have a fixed circle movement?

  • after you have inserted Audio Plugin

    then

    >>>>>>>>>>>

    on start of the layout >>>

    sub event

    if "BG_Music" is not playing > play "BG Music"

    >>>>>>>>>>>

    Note: is not playing can be done by inverting the condition >> is playing

    This is neat, I always used "on start of layout -> Play X" but it didnt always work, thanks

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I don't know any setting in the editor that would let you do that. Why would you need it anyway?

    I find it perfect when I make different zones, so when you move between zones the thing you see changes, I have been doing this instead of having 50 different layouts in a game

  • I currently have a window size on 1280x720. I love the grid so you can see the first window.

    Talking about this one

    Sadly this is only in the top corner, is there a way to get this grid over the full layout? (I am not looking for "Show grid" as its not the same).

    Currently I have made backgrounds that show the tile but I wonder if there is any other way? Maybe smarter way

  • I have multiple layouts, with different background musics.

    Sometimes the music change work, sometime, it does not. What am I doint wrong?

    Here is for the first layout

    And this is when the new layout starts

    ---------------------

    And sometimes when I move the player, the animiation wont play? whats the reason behind this? Its like a gamble, if you move it works, then if you jump the jump animation works, but then when you are on the ground the movement animation wont work

  • I currently have a function that spawns creatures in a room with sound on spawn,

    it currently looks like this

    "Every X second, function call Creatures"

    "Function on Creatures...."

    Is there a way to start the System "timer" when the player colides with a certain object?

    (And have it paused when the player haven't entered the room yet?)

  • Search manual for Loops and loopindex

    [quote:6l0c9ggs]loopindex

    Get the index (number of repeats so far) in any currently running loop.

    repeatPAT.capx

    this can also be accomplished with nested loops ..but for now...

    Thats really nice, thank you so much, will definitely learn a lot from this, didn't knew about loops,

  • Lets say I have a boss that is supposed to shoot stuff from the sky, in a specifict pattern?

    Currently I have all sprites above the window size that activates after X happens, so they fall down.

    In my opinion this is not optimal since it takes up so much space in the game (Fill with sprites everywhere and it can only be launched once).

    This is how it looks right now (with sprites above window size)

    (All these are with the bullet behavior that activates after a few seconds) and that's it, then their gone

    Is there a way to spawns these on command instead of just having them falldown, and maybe being able to spawn multiple times?

    I know about the random behavior, (spawn at random) but that is not what I want, I need to have them spawn in a specifict pattern.

    Is that possible or should I just keep have them like this??

  • What's the difference with this plugin and "Admob" that is already in Construct2 ?

  • Look up sine behavior because thats what your going to need.

    How do you think it would look with Sine?

    one going Horizontal and one vertical? (This makes it go Diagonal)

    I mean

    That works sure, looks like a fish jumping but it also goes backwards then,

  • Triforce

    Try Bullet behavior, i use it in this game for the crickets and i think works for your case: http://tinyurl.com/hnf7wmf

    Josek5494

    Downloaded and tested, yeah that's what im looking for, do you only use bullet behavior? (+Physics?)