justifun's Forum Posts

  • Stumbled across this new service called FGL Enhance that helps make adding ads easier into games, not sure if someone smart out there can get it to work with construct games.

    anywhoo

    http://www.airapport.com/2016/09/tutori ... admob.html

  • you could use "left(word, len(word-1))

    it will only keep all of the letters except the last one.

  • Sadly no you cannot covert sprites to spine animations. But you can use the same artwork that you already cut apart.

  • Ah. It's the paralaxing messing things up. Is there any way to calculate the edge with paralaxing?

  • I'm using scroll to to move the virtual camera around, and i'd like to figure out what the left edge of the visible area is.

    The right side is simply "LayoutWidth", but what's the left side?

    thanks

  • I'm trying to figure out how to spawn objects in front of the camera. They all seem to appear in the exact same place if i use the co-ordinates of the camera. Any ideas?

  • totoyan - it seems like the plugin doesnt like being fired off before anything else. so try using system wait(0.1) seconds before destroying it.

  • also adding a "Browser On Update" event -> Browser Reload

    is supposed to refresh it.

  • Ok so i think i figured out "part" of the issue at least.

    Still cant get the plugin to work, but using the tutorial method to manually inject the google tracking code. I found out that was i putting it in the wrong location of the html file. it should be in between the <body> </body> area, not in the <head> where i had accidentally put it.

    The next issue though, is that it seems to work on my computer, and on my android phone, but on my iphone, it registers that theres a user, but the buttons dont send events.

    hrmmm.

    edit: Ok, it seems like on the iphone it will only register with "On touched" commands instead of the mouse "on object clicked" command i had before. However android/pc worked with either.

  • I've been wracking my brain trying to get analytics to work with C2

    I've tried suntemple's google analytics plugin ,

    plugin-google-analytics_t110497?

    along with the tutorials on the subject in the tutorials section.

    https://www.scirra.com/tutorials/4862/a ... -your-apps

    The furthest i can get is for google analytics to register that someone is currently on the site. And it will track the event that i made ONLY if its the very first one to be sent (on start of layout).

    But other then that i cant for the life of me get any further events to show up in google analytics.

    Has anyone had any luck getting google analytics working properly in C2?

    thx

  • suntemple - Arg for the life of me i cant get this working.

    When using your example file and entering in my tracking ID (i tried setting it up as both a Web page and mobile app)

    I see on the analytics page that there is 1 user on the page, and the Event Category has "Game" listed with "Event Action "StartLevel" triggered each time i refresh the page

    but no matter what i try when adding new events in the test scene, those events wont show up at all in google analytics.

  • X3M - google chrome wouldnt even let me download it. warned me of a virus.

  • This wont help with the loading times, but i read a trick somewhere someone suggested about waiting for the game to be "playable" before going to the layout.

    Basically you add a check that watches the frame rate of the game. (while its loading its going to be really low), but once everything is loaded and the game starts to run smoothly, THEN you hide the fake 100% loading screen.

    So its loading everything behind it, and only once its ready to play smoothly you show the player the game and begin.

  • Warning: Virus Detected

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • When using the "initialize tween" action is there any way to type a variable in th target fieldor system expression?

    right now the only work around i can figure out that works is to add 2 additional actions (set target x, set target y) after it.