pirx's Recent Forum Activity

  • Hi,

    So it seems that invisble layers in my game register touches/clicks all the same.

    Can I prevent it?

  • Hi, good points.

    So the cursor should be free to go anywhere, but once the object is grabbed it can be only dragged within a specified area (which preferably constitutes a sprite). When it reaches the border it just stops, i.e. stays grabbed but can't be moved any further.

    Here's a mockup:

    So in this example, say I want the bomb to be draggable over the red area, so that I can enable physics when it is dropped and have it fall on the island. Since the bomb explodes on-collision with the island I don't want the player to be dragging it around the menu, island etc. but only in the specified area. I hope it's clearer now.

  • Hi,

    I need a certain object to be draggable only within a certain area, as in an invisible rectangle.

    I'm not sure how to accomplish this. Any help would be appreciated!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks, this is exactly what I meant by 'a better way'. I'll go ahead and try it out!

  • So I have circles that need to bounce off each other. The problem is, a 10 point polygon isn't very precise for a circle and they end up overlapping a little. I can make more polygon points but C2 threatens me that that if I do that my game may run slower etc.

    So is there any better way of doing it?

  • Hi,

    Is it possible to access a C2 global variable using the Browser object's Execute java script action?

    I'm adapting a plugin to work in C2. The plugin gets a URL of an image from a function and then appends the document with an img tag.

    I would like to get the image URL form this function inside C2 and send it to a 'Load image from URL' action.

    Can it be done?

  • Hi,

    So do we have a working index.html modification? I've implemented everything into a plugin but can't get the onReady function to launch the game.

    It would be perfect if the modification could be inserted automatically by the plugin (so that it works minified etc) but let's start with it working at all...

  • Hi,

    Just to let you know: my games also failed the pause test, also some minor issues with ad closing and displaying.

    C2 games auto pause on lost focus in a browser by default so I supposed they would also pause when an app loses focus... apparently not.

    So do we have a working plugin for the 1.2 API? What do you use?

    I think it would be best if FGL developed their own - it would be sure to work and after all they want our games there, right?

  • Yeah, I know. Right now submitting the game via the offer in question is accomplished by submitting the game both to the FGL website via normal means and separately for the offer.

    You still need to implement the API though, because a) it is required by FGL and b) you need the API to display FGL Ads.

    I'm not sure about the branding portion - my first game submitted there had the leaderboard and ads implemented. Now there's also the More Games button so I can as well implement it if I finally manage to get the new API into my games. ;)

  • Yes they normally put the game on Amazon, Tizen and BigRebel and then they also proposed to put it on a mobile portal they are testing (I agreed). I'm not sure about the details concerning the latter.

    Honestly I'm not that good at self publishing and nagging sponsors, so a relatively small upfront payment + 70% of ad revenue is fine with me *shrug*. I heard about people selling games for a couple of k but I'm not even sure about how would I go about it.

    I have some more games for them but I need a way to implement the new API in Construct 2 so I'm stuck for now. Maybe it's time to learn to make plugins?

  • Nope, they've payed me for a game so I can confirm this is legit. Took a while with the payment though. Also they've been making some changes to the submission process so there might be a delay, too.

  • Hi... so do we have a reliable way to implement the new 1.2 api? Previously I used this: scirra.com/tutorials/790/implement-fgl-html-5-api-in-construct-2 and it worked like a charm. Now it seems we need another plugin?

pirx's avatar

pirx

Early Adopter

Member since 20 Aug, 2013

Twitter
pirx has 2 followers

Trophy Case

  • 11-Year Club
  • x3
    Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • RTFM Read the fabulous manual
  • Email Verified

Progress

15/44
How to earn trophies