oosyrag's Recent Forum Activity

  • I seem to have a Store/Your licenses notification that won't go away. As far as I know nothing has changed recently regarding my license and I'm not sure how to get rid of it. Any remedy?

  • IIRC triggers don't necessarily follow the top to bottom flow of the event sheet. There is a possibility that the trigger for the timer ending might happen before the every tick event, setting the variable to 0, and then back to one in the same tick.

  • Check the following:

    Layout is linked to the proper event sheet

    Player sprite is created properly

    Markers are created properly

    Check visibiity of the player sprite (layers, zindex, visibility)

  • Use a timer behavior on your sprite. When you click it, start the timer. When the timer completes, destroy the object. If you let go of the mouse button or move off the object, stop the timer so it never completes.

    + Mouse: On Left button Clicked on Sprite
    -> Sprite: Start Timer "countdown" for 1.0 (Once)
    
    + Mouse: On Left button released
    + Sprite: Is Timer "countdown" running
    -> Sprite: Stop Timer "countdown"
    
    + Sprite: Is Timer "countdown" running
    + Mouse: [X] Cursor is over Sprite
    -> Sprite: Stop Timer "countdown"
    
    + Sprite: On Timer "countdown"
    -> Sprite: Destroy
    
  • My first approach would be to have all npcs created and handled by the host, with their own events. Copy whatever events you need to initialize them and set up their behaviors. Smart use of functions will allow some event logic to be used by both peers and hosts, but it's generally best to keep them separate.

    To answer your question specifically, you can set a flag/variable during an on peer connected event to signal that the peer object is being created for a player. Otherwise, you can use on peer object created (with the condition flag = false) to differentiate for npcs.

  • You do not have permission to view this post

  • Pin two helper objects on either side of your camera object at the left and right edges of your viewport. Where your camera goes, these boundary objects will go too, and make them solid so your player can't go through them.

  • There are two main ways to set up this sort of game, and the answer kind of depends on which method you use.

    a. Is the entire level created ahead of time and you're actively scrolling and moving through it? There are a few ways you can keep the UI in place, including the viewport expressions, anchor behavior, and layer parallax. Using the same idea of holding your UI in place, you can also place invisible helper sprites that define the edges of your screen. Those would be solid to prevent your character from moving through them, or maybe push out solids using custom movement with the character having the solid behavior.

    b. Does the character and viewport actually stay still and the objects/stage generated off the edge of the viewport and move past the character? See the space shooter template for this type of setup, I'd recommend this if you're trying to emulate Balloon Trip.

  • Assuming you are using an array to represent if block positions are filled or empty, loop through your array one row at a time. The condition would be that every spot in that row has to be filled, and the action would be to delete that row and move everything above it down one.

    The trigger to run this check should happen only when next block is spawned, using whatever logic you have in place to determine the previous block has been placed. This way rows won't get deleted as blocks pass by and "complete" rows.

  • Glad it was useful for you!

    Just as a disclaimer there are actually many different ways to format .csv, many programs output it differently. The example I made targets one specific way that .csv can be outputted, and is not universal.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Your layout is not linked to your event sheet.

    Select the layout, then in layout properties set "Event sheet" to Event sheet 1.

oosyrag's avatar

oosyrag

Member since 20 Feb, 2013

Twitter
oosyrag has 39 followers

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
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • Unrelenting Visitor Visited Construct.net 180 days in a row
  • Continuous Visitor Visited Construct.net 365 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

21/44
How to earn trophies