Borgi's Recent Forum Activity

  • IN CASE NOTHING ELSE WORKS:

    Or an awful solution could be if you use the "name" property of the browser object and -> if firefox -> reposition texts.

    It even hurt writing this all down

  • I am sure text obejct might not be rendered pixel perfectly on different browsers. Can't you use spritefonts?

  • Creating obejct every second or so should not make your game lagg. I made bullets spawning a lot faster than that with 2 animations without any lagg.

    Do you have any oncreate with foreach? Are you sure that you are just spawning exactly one obejct?

    Can you share your capx so we can have a look?

  • This should work for you:

    and please use PickedCount = 1, not 1 = Pickedcount, I realized that looks pretty ugly

  • I have complete 0 knowledge about audio visualizing, so take that account in my reply <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    https://www.scirra.com/manual/109/audio

    You might use some of these:

    AnalyserFreqBinAt(Tag, Index, Bin)

    AnalyserFreqBinCount(Tag, Index)

    AnalyserPeakLevel(Tag, Index)

    AnalyserRMSLevel(Tag, Index)

  • The overlapping with offset condition may be true for more than one Lshape, that's why more of them getting destroyed. You should pick the one LshapeinBg which is the closes to Lshare. There is a "Pick nearest/furthest" in system.

    How did you changed the angle of LshapeinBG? If you set it precisely ->set it to a number and you dont rotate them in the layout editor, it should work.

    And I think as the way you did this, you do not need the "for each" loop.

    Can you share capx?

    keep up the good work

  • You have got teleported into the ground which is solid

    One solution could be:

    You could disable player input for a short duration of time and make your character jump.

    Even set jump strength/gravity to different from the standard one you use otherwise.

  • When testing overlapping add condition:

    System -> Compare two values -> Lshape.Angle = LshapeInBg.Angle

    Also a foreach might be needed for Lshape

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • This works like that you descripbed.

    A solution could be to move the player further then the other door when moving through the door. Like teleport him to in front of the other door. not inside it

    Event - Player on collision with Door 1

    Action - (move position-player moves to Door 2 + SOME_MORE)

    Event - Player on collision with Door 2

    Action - (move position-player moves to Door 1 + SOME_MORE)

    Or set a flag 1 when the player has moved through the door and set it to 0 when its not overlapping door, and only let it move through when this flag is 0.

    Event - Player on collision with Door 1

    Event - AND MoveThrough = 0

    Action - (move position-player moves to Door 2)

    Action - Set MoveThrough = 1

    Event - Player on collision with Door 2

    Event - AND MoveThrough = 0

    Action - (move position-player moves to Door 1)

    Action - Set MoveThrough = 1

    Event - NOT(Player overlapping with Door1)

    Event - NOT(Player overlapping with Door2)

    Action - Set MoveThrough = 0

  • To jump on random Layout you could use "Go to layout (by name)" -> name them with a string + (number from 0)

    But, your platformer map loading makes a lot of sense, why can not you use it like that in your minigolf game?

  • A possible solution:

    create an instance variable for the obect, for example -> DeleteOrder

    On start of layout, set all of the instance of these object DeleteOrder to floor(random(Object.Count))

    Create a local variable, for example, NumberToDelete = 5

    Now use an ordered foreach based on DeleteOrder on the object you want to delete and add an other condition here, where NumberToDelete > 0

    action: delete Object, Subtract 1 from NumberToDelete

  • Check your mouseY -> that cos sohuld be sin there!

    It sohould not move less and less.

    If you can not find a souliton share your capx and we will heve a look

Borgi's avatar

Borgi

Member since 15 Aug, 2015

None one is following Borgi yet!

Trophy Case

  • 9-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

11/44
How to earn trophies