oosyrag's Recent Forum Activity

  • It might be a CORS issue.

    The host needs to allow ajax requests from external domains (such as project preview from construct.net) to reply.

    Try to see if it works if you export your project and upload/host it on the same domain website (potato-time.jp). This will bypass any CORS problem.

    Otherwise, if you have admin access to the server or host, you can add

    Access-Control-Allow-Origin: *

    to the server header to allow ajax requests from any domain on the web.

    cors-test.codehappy.dev

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • What are you trying to do? Https:/ /test.php is not a valid URL.

  • What? The ListRoomState expression has always been available AFAIK. Compare the value ("available", "locked" or "full") to allow for joining or not.

    Alternatively, you can compare ListRoomPeerCount <= ListRoomMaxPeerCount as well.

  • There is often more than one way to go about doing any particular thing, some methods may make more sense for a certain person or project or workflow, so I wouldn't necessarily say pointless.

  • For each new scrollto object/instance you add, spawn or create it at the current viewport center, and tween or lerp it to the destination point. You can use an invisible helper sprite(s) and pin to the destination object after it reaches the destination.

  • You do not have permission to view this post

  • Well how do determine who shot it? Usually depends on which control input the shooting... What are you doing to have the bullet come out at the correct location?

  • You'll need one instance of your object in the layout editor somewhere to set defaults. Either destroy the original instance on start of layout, or put it on an unused layout.

  • By what method are you using to position the scroll to location relative to the ship?

    Ed: sorry didn't see you linked the project, I'll check that out.

    Ed2: nm you didn't bundle addons so I can't open it.

    Try setting the scroll to position directly with the system action instead of using a helper object and see if it makes a difference.

    Or set the helper object position manually instead of pin, if you're using that.

  • Try turning pixel rounding off

  • There are various color effects you can use, but this can be rather wasteful of processing power.

    There's also the set color action.

  • If you put scroll to on multiple objects/instances, the final position will be in the middle of them. After that, you can adjust scale until everything you want to be in the viewport is in the viewport.

oosyrag's avatar

oosyrag

Member since 20 Feb, 2013

Twitter
oosyrag has 38 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