oosyrag's Recent Forum Activity

  • Does anyone have any experience/tips regarding the preservation of the last MovingAngle for the 8 direction behavior? Upon coming to a stop, MovingAngle resets to 0.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Copy the event, invert "Has line of sight to player" by right clicking, then change your actions to how you would like it to wander when it doesn't have line of sight.

  • Generally speaking, massive sprites run into graphical memory issues. Best practice is to use a combination of tiled backgrounds and a variety of layered components (that can be resized, reshaped, or recolored for relatively low resource costs), or a tilemap.

    Another technique can include using a lower resolution "outline", resized to be massive, as a blending mask over a tiled background "texture" to create layers for things such as biomes.

    Read this article if you haven't already - construct.net/en/blogs/construct-official-blog-1/remember-not-to-waste-your-memory-796

  • Step 3: "leave as the host (peer now becomes host)" does not happen automatically, and is probably the source of any issues you are having. How are you handling this step currently?

  • It tells you how to approach the problem.

    First make your base game, with x number of inputs. This will run in the background, it is up to you if you want to make any of it visible.

    Then, make a copy of every object per input, offset by a certain amount based on the position of each player for their individual "viewports".

    Have each individual viewport on its own layer, so you can use blending modes to slice the total viewport into halves or quarters or whatever you want.

  • You do not have permission to view this post

  • "The Else event runs if the previous event did not run." As moon said, a subevent only runs if the parent event DID run, which is a direct contradiction.

    It would work however, if there was an additional subevent on the same level above it.

    The way it works and looks is unique to Construct's event sheet, so I would try not to get too hung up on what "correct" should look like using other programming languages as a standard (especially if you're teaching Construct).

    If I were to teach someone how to use the else event, it would be directly related to toggles as you have done, and I would explain it exactly like how it is explained in this article scirra.com/tutorials/292/guide-to-construct-2s-advanced-event-features.

  • Using a low resolution and scaling up to a high resolution/large display will result in lower quality visuals.

    Using a high resolution and scaling down will utilize more graphics memory (and overall download size), which may or may not be a problem depending on the scope and size of your project.

  • Does the built in sprite.asjson expression include the texture data?

  • Try request from url to get the file from the drive rather than the project file, which might be cached upon downloading/running the app.

    When I previously worked with dynamic files on the local system I used nw.js, and I know that worked, but I'm not certain if Ajax by itself can do it.

  • Localstorage should last forever, barring a significant update to the game that changes how saves are handled, reinstalling the browser (or changing browsers/computers), or manually clearing the browser cache. It is related to the "Cookies and other site data" option under the clear browsing data options in Chrome.

    For persistent storage, your best option is to use a cloud service or your own server to sync user data online in addition to using local storage.

    Alternatively, if your game is packaged as an app or executable, it should be significantly more difficult for localstorage to be unintentionally cleared.

  • You can:

    a. Place the entire layout in the layout editor.

    b. Create "pieces" of the terrain as you get to them by storing the level layout details in a data format and loading them in offscreen as you go.

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