TheWyrm's Forum Posts

  • I found it also occurred on a project folder, which was also on Google drive. So I'll try it offline. Here is me hoping for a lazy backup system. :/

    Thanks.

  • GeometriX

    Nah, it's not my antivirus. However, I am using Google drive. So it could be the sync thing?

  • Hi guys,

    I regularly experience an error when I save in R168, which results in my capx getting deleted. If I am working on a game for the night I normally get this issue at least once.

    To get around it I have to 'save as single file' and increment the file name to something like file2.capx.

    I thought I better write about it here to find out if it is a known issue, before creating a bug. I would expect it to be since its a pretty serious issue.

    Anybody else getting this? Is it a known issue?

  • Problem Description

    I have a large layout with a logo in the centre. The project is set to letterbox scale and the logo sprite has the 'Scroll to' behaviour.

    As you can see from the following URL, http://www.thewyrm.co.uk, the layout is being centred everywhere except Safari mobile browser.

    This is either an issue with letterbox scale or the scroll to behavior.

    Attach a Capx

    site.capx attached.

    Description of Capx

    Centres a layout on a sprite.

    Steps to Reproduce Bug

    • Open www.thewyrm.co.uk on a Safari browser. Observed Result On ipad2 landscape half the sprite appears on the right side of the screen. On ipad2 portrait only the black background can be seen. On iphone5s landscape only the black background can be seen. On iphone5s portrait only the black background can be seen. Expected Result I expect to see the layout centred on the logo sprite. Affected Browsers
      • Chrome: NO
      • Chrome mobile: NO
      • FireFox: NO
      • Internet Explorer: NO
      • Safari: NO
      • Safari mobile: Yes Operating System and Service Pack Windows 8.1 Construct 2 Version ID R168
  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Ah, ok. I didn't know that regarding Google play so thanks. I will probably just cut tweets until I get a response about a fix. Which is a shame.

  • I'm going for complete cross platform. So HTML, Android, iOS, windows phone and blackberry. So want a service that functions across the board. So google play wouldn't cut it.

    I've got clay.io workin. You need to copy the contents of the plugin into the exported zip. All the functionality works except for tweets. So either I drop twitter or I find a new plugin.

    Thanks for the reply.

  • Hey guys,

    I have the following clay.io stuff working:

    Login,

    Facebook posts,

    Highscores.

    This was done by including the clay.io plugin files into the exported cocoonjs zip.

    However, tweets aren't working? Anybody have and fixed this problem? I'm asking here, since I posted at clay.io but there doesnt seem to be any community response.

    Note: I may also consider moving away from clay.io. Is there another plugin that offers facebook posts, tweets and highscore tables?

  • I made a new variable called GlobalFullVersion and used that instead. It must not like the variable name GlobalUnlocked.

    Very strange

  • I understand you get a NaN when setting a string to a number. However, I am not doing that. The only time the value is set is when the global is declared with a default value of 0. What is interesting is the second time I run the layout, i.e. title screen to game back to title screen, It is no longer a NaN and set to 0.

    The capx was something I created instead of providing my whole project. It wasn't the problem I thought it was and that capx proved it. After debugging I found that the last global variable in my layout was returning a NaN. On the second time the layout ran it returned 0.

  • ...and before you ask the only time the value is set is when it is created i.e. Global number variable1 = 0

  • Hi guys,

    My layout starts and creates a bunch of global variables. The last of which is instead of setting to 0 is being set to NaN.

    Anybody know what this is and how to stop it?

  • So I found out the problem. Its nothing to do with the sprite font. Its to do with a global variable for some reason being set as NaN instead of 0. I'll start a new thread for it.

  • It's a strange one. It just starts working after I flick between the layers a few time.

  • I created this one.

    http://www.FilesOverMiles.com/07e4235ae ... a9bb45ed2e

    However, as you can see it works. So I must be doing something stupid.

  • I basically have a count down shared between layouts. There is nothing but the include in layouts eventsheet to call the SetTextEventSheet.

    Within the SetTextEventSheet I call set text every second.