justifun's Forum Posts

  • Cool !

  • Problem Description

    If you select a frame of an animation, then switch animations in the animation list window, it appears as if the frame you selected is still selected (and would be editing) but in fact you are editing frame 0 instead.

    Attach a Capx

    https://drive.google.com/file/d/0B11XuymW_yFKNjZSMDZob1MwX2M/view?usp=sharing

    Description of Capx

    a single sprite with 2 animations (each having 2 frames)

    Steps to Reproduce Bug

    • Double click the sprite to open the image editor
    • select frame 1 of the "circle" animation in the frame timeline at the bottom
    • select the "star" animation from the animation list

    Observed Result

    Notice that the selected frame in the timeline window is still frame 1 but you are editing frame 0 or the animation in the image editor

    Expected Result

    selected frame in the timeline editor window should either default back to frame 0 as per what's being editted in the image editor, or the currently being edited image in the editor should match the selected frame in the time line window

    Affected Browsers

    • Chrome: YES
    • FireFox: YES
    • Internet Explorer: YES

    Operating System and Service Pack

    windows 10 64 bit

    Construct 2 Version ID

    R233 64 bit

  • I have tested it with version 3 of spine yet but it could be related to that. It hasn't been updated in a while.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • What does the localhost:9090 option in the photon cloud plug in properties allow you to do?

    Can you connect to a host locally over your Lan? And if so do you need to be running a local photon server? Or is that built into the plug in?

  • 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.