Mathijs90's Forum Posts

  • I tried both, and both weren't working. Also, when I tested it locally, I made sure that it had a page to go back to.

    It's fixed now. I used the browser action go to URL, and used 'go to "/" (target self)' as a designation, so it always goes back to the webpage, even when the game changes websites or something.

    Not sure if this is the proper way to go at this, but at least it's doing what I want now.

  • not sure what you want to use this for, but it appears to me that using the following actions would be easiest:

    Spawn object (or set visible)

    wait x seconds

    Destroy object (or set invisible)

  • Doesn't the system set time scale action automatically pause all your audio?

  • Hey there,

    I'm creating a game where it is important for the player to be able to switch back and forth between a site and the game. However the browser - go back event is not working. It simply doesn't do anything at all, even though the browser can go back (and does) by clicking the back button in the browser itself. (using google chrome btw)

    The odd part is that the button works fine when I use it to navigate to a different layout, or even an URL.

    Does anyone have an idea what might be causing this problem?

    Any help is appreciated!

  • You'll still need the mirror action on your gun aswell. So like this:

    Event:

    On Right arrow pressed

    Action:

    player Set Not mirrored

    gun Set Not mirrored

    gun Set Not flipped

    Event:

    On Left arrow pressed

    Action:

    player Set mirrored

    gun Set mirrored

    gun Set flipped

    I think it should work like that

  • First of, the else condition for the S control seems unnecessary.

    Both problems can be fixed with the flipped action. Only use this action on your gun sprite, otherwise your player will flip upside down too.

    Hope it helped! Goodluck!

  • I'll be working on this with someone who can code for my own game tomorrow. If I can find a way I'll let you know.

    But if anyone already knows and can save me some work, that'd be great too.

    Edit: Keep an eye on this post too

  • lolpaca

    Wouldn't it be easier to just set the entire loading layer to invisible once the loading is done, instead of making each individual object on it transparent/invisible?

  • Thanks! What I've been looking for

  • Can you clarify it a bit more. What is supposed to happen after the score limit is reached before going to the next layout?

  • Not really sure what you're struggling with here. Are you trying to create your own tileable textures, or are you looking for the mentioned jungle tileset?

    If you're looking for the jungle tileset, I think you can download this for free once you've purchased a license for Construct 2.

    If you're trying to create your own tile-able tileset, just google: "tileable texture tutorial" and pick one you understand/like.

    This is a good one to start with:

    Subscribe to Construct videos now
  • You do not have permission to view this post

  • Have you tried it like this:

    Condition: When (disk) is overlapping with (player)

    Action: Destroy (disk)

  • Hi McDonald & fisholith,

    Apologies for the late response, I wasn't near a computer for the last couple days.

    I think you both meant the same thing and were both right, because it's working now. I'm not very good at math or programming however (being a designer rather than the former), so the very detailed description from fisholith was extremely helpful. Couldn't have done it without all the explanation, thanks to the both of you!

    Cheers & have a great weekend!

  • Hi

    I'm creating a top down racing game, and everything is working great. The only problem I have is that the car steers very abruptly. I know the steering can be edited by changing the steer speed value. Setting the steering speed to a lower value causes the car to have a huge turning radius tho, which is not what I want since this makes maneuvering between objects to hard for the player.

    Is there a way to have the car steer faster the longer the player holds the key down?

    Thanks in advance

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads