newt's Forum Posts

  • In game ads don't work that way.

    You need an ad service, some script provided by the service, and a way to display html content within the game, such as the iframe, or div plugs.

  • If you put your collision check in a sub event of a variable comparison, you can make it so that the collision events only happen when the value of the variable is what you want.

    But, that only works if you have events that check for collisions on the tilemap, which Im guessing that you don't.

    If that is the case, then that can't be your issue, since there would be no collisions happening.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Other than changing a tile, or using a variable comparison, no.

  • I wasn't aware that 3d asset theft was a thing.

    I can only speculate, but the only market that comes to mind that might be profitable for that kind of piracy would be CSgo gambling.

  • It might have gone differently if they had gone for a bigger market.

    Then again they might have been bankrupted by nonsense lawsuits, or excessive charges from corrupt agencies.

  • It's like how a hash works.

  • There's different scenario's. The one that's the problem is where the portal has an iframe that points to my hy game, on my server.

    That has the advantage of saving them bandwidth, and allowing me to make updates easily, however that also allows anybody to also show my content on there site.

    Browser.domain only returns where the content is stored, not the site that's showing it.

    So no, I can't use that method to allow just a specific portal, and it's really not in their interest to keep people from stealing that content, since it's not their bandwidth.

    Browser.referrer gets the site that's showing it, but the information that's returned is not just the domain of the site, but the entire url.

    We need exact strings to match, like scirra,com, not , which obviously you couldn't possibly know beforhand.

    I might add all that all someone has to do to get my url is search the page source of the portal for "iframe".

  • Well getting these portals to change their servers will go over about as well as getting them to use a diferent tag than iframe.

    Creating our own method is fine, except we don't have that many options from within C2.

    That does bring up something else to consider.

    What would be good to have are some parsing methods other than regex.

    Right now I could just get the domain from referrer, and I would be happy, but there's no simple solution to get that.

    Another issue we have is getting information from external third party api's, but as is we have a hard time just figuring out our own json files we get from C2.

  • Same reason companies pay millions of dollars for ads on the Super Bowl.

    It pretty much guarantees someone will see it.

  • We need better methods to protect html5 exports.

    As it stands we have two expressions from the Browser object, those being domain and referrer.

    There are issues to using both of those.

    Browser will work if, and only if the page is by itself on a host, however a great many portals require you to provide a url so that they can embed the game in an iframe.

    This means that browser.domain will only return the source of the iframe, and not the url of the page where the iframe is hosted.

    That makes it useless for this case.

    We also have browser.referrer, which is a step up, but it also presents an issue as most portals will have diferent reference urls, based on search queries, member details, cdn, etc. Then unfortunately these portals are not in the habit of providing what all these urls will be, let alone any method to protect your games.

    We need a way to get the parent domain.

    • Post link icon

    Im gonna say don't get your hopes up for Christmas kids.

  • You mean works fine except the last one?

  • Perhaps I didn't make it clear that the source texture needs two extra pixels added to its width in order to work.

  • I think we need something like https://developer.mozilla.org/en-US/doc ... ent/domain

    Ashley for the browser plug.