lamar's Recent Forum Activity

  • There's a known bug with the layout grid where you have to click into the grid width, and hit enter for the height value to be saved.

    Well that helped me out. I don't use snap to very often and couldn't figure out why I couldn't get a 16x16 grid and numbers kept going back to 32. Just have to remember to hit enter.

    Thanks!

  • Hmmm?

    You can create a global variable that reads max speed.

    MaxSpeed = player max speed

    Then add whatever speed you want to increase that to.

    On bullet collision with player: Set player max speed= Maxspeed+500

    Something like that but not sure if it is the effect you want. It would depend on if you want that a sustained change or just temporary effect.

    If temporary add in a wait for so many seconds and then reset the player speed to Maxspeed.

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

  • Thank you Lamar...

    guess I'll have to reinstall C2

    Before you go that far check your audio card has not crashed and maybe try it on a different computer.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It is so strange... why in my C2 when I go back from Layout2 to Layout1 the music stops (without restarting, can't hear it anymore)...

    Maybe something to do with the C2 version I just bought? Release 239 64bit thanks

    I just checked your CAPX again to make sure I wasn't hearing things (I'm old) and it seems to work fine.

    The music starts in layout one automatically. You left click on the man sprite and it goes to layout two and music still playing. You click on layout sprite fish and it goes back to layout one and restarts the music.

  • You do not have permission to view this post

  • lamar, thx 4 deleting that last post. Appreciated.

    As i said, i dont know how to stop postponed actions. But you can stop timed conditions.

    https://www.dropbox.com/s/h3f1i61ohw40r ... .capx?dl=0

    To complicated? Plz give me a better way, would really like to know.

    A postponed action never happens if that event or sub event is dependent on a trigger variable.

    I removed the post that showed how to do it because I want you to try and explain a better way?

  • > That scale feature is a bit wonky. I remember using the first few times trying to use decimal numbers and nothing fit. It only works with whole numbers or you get strange results

    >

    > That may be causing problems with paralaxes if they are not in multiples of 8 bits. You might resize them to a multiple of 8 and see if that works?

    >

    Yeah, I thought the switch to WebGL2.0 sorted out most of the non-Po2 problems?

    Eh- webgl and canvas still experimental and have issues with scale. If you scale everything by multiples of 8 at the same time you scale the window it works but you have to do some calculations.

  • Hi Lamar,

    Starting from the layout 1, when I go to Layout 2 and then return to Layout 1, the music stops.

    Isn't that happenning to you? thanks

    No it worked fine and clicked on sprite and music started and it went to layout 2 and music was still playing?

    The music did restart after going back to layout 1 because you have that in your on start of layout events.

    If you don't want it to restart remove that from your on start event and use a global variable to trigger it which will keep it looping if you want.

lamar's avatar

lamar

Member since 11 Feb, 2014

Twitter
lamar has 8 followers

Connect with lamar