AlexFrancois's Forum Posts

  • I experience a lot of popping when fading audio via a lerp event, and also popping/cracking when moving towards/away from positioned audio, anyone else?

  • Great to see this has been fixed, sorry to moan but it did seem to help get the job done! The reason I didn't send a capx is because I was 99% sure the problem was with WKWebView mode and not my game, though next time I will send one. I haven't had a chance to test WKWebView yet but at least my UIWebView builds are working with iOS 10 now which is great!

  • I would pay a LOT for an engine with C2's event system and native export.

    Totally agree with this, the brilliant event system is only let down by the exporting, would be near perfect otherwise.

    I unfortunately had the same results after setting this.isWKWebView = false;

  • So, I've got about as far as I possibly can on my own trying to fix this issue, so I really need some help. I ask that we try and have a discussion about possible causes for these errors rather than filing a bug report, I've wasted days trying to fix this and if I hear the phrase 'file a bug report' I'll probably have a mental breakdown...anyway...

    My game (https://itunes.apple.com/gb/app/the-sla ... 1056603685) is unplayable using WKWebView. Before iOS10 was released, I got around this by compromising and using UIWebView. With iOS10 this is no longer an option as my game simply wont run. I'll talk you through what happens when I try to run with WKWebView:

    • The game's start menu loads normally.

    • I choose the new game option.

    • The game successfully goes to my loading layout which I use to show the words 'one second...' before moving to the next layout.

    • The next layout loads but the game only shows the black loading layout with the words 'one second..' frozen on the screen. I can tell the next layout is working fine because all the sound and music is working, and it even accepts touch so the game can be played but the visuals are frozen.

    • Simple non cpu/gpu intensive layouts like my world map load normally.

    • Using the first layout for testing, I've tried disabling all events and the visual still freezes simply trying to load the images in the layout.

    • The layout only works when I delete all but about 5 objects.

    • I've tried creating the images needed for the next layout every few milliseconds in the loading layout before moving to the next layout but this still freezes once the layout changes.

    •Out of simple curiosity I've tried exporting with webGL off, this causes each layout to show the complete sprite sheets for every object in the layout, peculiar!

    Not being very technical, my guess would be that something WKWebView does causes a huge spike in cpu or gpu (I know Ashley has previously said there is no gpu difference between UI and WK but are you 100% sure?) and this causes the visuals to freeze.

    Is there not a more efficient way to load each layout in c2? Most games have a loading screen between each scene, whereas c2 seems to just create everything at the same time regardless of whether this makes the game hang, I'm sure we've all seen crazy cpu jumps for a second at the start of each layout, surely this isn't a healthy way of working?

    In regards to your post , I've found that when I add a new build on TestFlight and try to play it, the loading bar usually hangs half way and I have to close and restart it before it works. This obviously isn't great as if the same problem occurs for users they might just conclude that the game doesn't work and get a refund.

    I can't stress how important I think it is for the c2 team to talk to developers more, especially going forward with construct 3. The test games Scirra uses for benchmarks like Space Blaster are far too simple, you guys need to work with devs to test their actual games, or at least use examples that use large images, sound, and actual layout transitions rather that just one, then we might have known about things like the object limitations of Mac and Linux when using nw.js beforehand. It's all well and good making a great piece of game dev software, which c2 most definitely is, but once it gets to the exporting stage it becomes an absolute nightmare. I can't even count the days I've wasted, hoops I've had to jump through, insane things I've had to figure on my own, and technical posts I've had to decipher in the depths of obscure html5 forums over the last 3 years. These aren't things you should have to do when you've chosen to use a piece of software specifically because you can't code, like I have. Take this small example; every time I export a project for cordova, I have to edit the config and add this below the icon lines or I'll run into an error when uploading with XCode Application Loader for iOS games:

    <icon src="icon-120.png" gap:platform="ios" width="120" height="120" />

    <icon src="icon-152.png" gap:platform="ios" width="152" height="152" />

    <icon src="icon-76.png" gap:platform="ios" width="76" height="76" />

    <icon src="icon.png" gap:platform="ios" width="57" height="57" />

    I literally have done this so much it's second nature, it's ridiculous, why isn't this just a part of the generated config file already? Something like this could permanently stop a user less technically competent than myself, and I'm no coder.

    That really is a tiny example, it's a shame as the people who are really using the software to its fullest potential are the ones getting burned the worst, from Aurel having to discontinue Linux support for The Next Penelope to having their games break with every iOS update! Sorry to rant, I do respect the work Scirra does enormously but I'm just fed up of always looking for answers and seeing every thread end with either; file a bug report, or the dismissive line; we've tested it on this tiny one layout test game and it works fine therefore it should work fine for your game. Users being able to export to the most popular platforms with ease should be a top priority for Scirra, up to this point in time, devs have had to take it upon themselves to create or find plugins and workarounds to do the most simplest of tasks; releasing their game.

    Anyway, if anyone has any ideas please do let me know.

  • 10 Parallax Space Backgrounds #2 — Now for sale in the Scirra Store!

    https://www.scirra.com/store/backgrounds-for-games/10-parallax-space-backgrounds-2-2508

    <p>10 Space Backgrounds at 1920 x 1080 size. Each image includes a single PNG with the complete layered image, and a folder with each layer as separate PNGs to allow use in parallax layers. This means you can also mix and match different layers to make your own scene, or simply use the star and nebula layers for a simpler background.</p>

    Use this topic to leave comments, ask questions and talk about 10 Parallax Space Backgrounds #2

  • 10 Parallax Space Backgrounds #1 — Now for sale in the Scirra Store!

    https://www.scirra.com/store/backgrounds-for-games/10-parallax-space-backgrounds-1-2362

    <p>10 Space Backgrounds at 1920 x 1080 size. Each image includes a single PNG with the complete layered image, and a folder with each layer as separate PNGs to allow use in parallax layers. This means you can also mix and match different layers to make your own scene, or simply use the star and nebula layers for a simpler background.</p>

    Use this topic to leave comments, ask questions and talk about 10 Parallax Space Backgrounds #1

  • When I use the nw.js 'Show Folder Dialogue' action the folder browser opens and displays the text 'Select Folder to Upload'. Is there any way to change this text as it will confuse users of my app as they are selecting a folder to save to, not to upload. Thanks!

  • I'd really like to see the option to set custom obstacles rather than just solids for the 8Direction behaviour. I'm making a 2D stealth game, when not in stealth mode the player can walk in front of obstacles, when stealth mode is on they use obstacles for cover. I achieve this by turning solid on for the obstacle sprite when stealth is activated, meaning the player can't pass it which is fine. The problem is that I want the enemies to be able to walk in front of the obstacle, but as they're also set to 8Direction movement they cannot pass obstacles. If a custom obstacle option was included I could set the obstacle for the player only.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Problem Description

    When the scene is changed for the first time, the game continues to play accepting input and playing sound effects, but the screen shows only the last image from the first scene.

    Attach a Capx

    n/a

    Description of Capx

    n/a

    Steps to Reproduce Bug

    • Export a project with multiple scenes using WKWebView and install on an iOS device.
    • Change scene.

    Observed Result

    The scene changes as evidenced by the sound effects for the next scene, and touch input is detected, but the image stays as the last image from the first scene. This remains even when the scene changes again.

    Expected Result

    The scene should change and the visuals should show this.

    Affected Browsers

    • WKWebView

    Operating System and Service Pack

    iOS 9.3.1

    Construct 2 Version ID

    277

    ____ Exact version ID of Construct 2 you're using ____

  • Wow, this is looking goooood! Keep up the awesome work, this is exactly what c2 needs, twitch integration is the future http://www.gamesindustry.biz/articles/2 ... to-success

  • >

    > > Alright i got it working, turns out the ip i had was for irc events only and didnt allow for actually anything other than initial connection, working websocket ip for twitch chat is ws://irc-ws.chat.twitch.tv:80 in case people are interested

    > >

    > Is there any chance you could post a capx example of your updated twitch code?

    >

    > Edit: I've got it working <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy"> the reviving messages side anyway, though I haven't managed to get the sending side working.

    >

    > Great job on this, so simple but effective, opens up some serious possibilities!

    >

    I'll upload a capx of the project next week. The message parsing isn't perfect, but it can send and receive messages, fires event when user joins/leaves the channel, list all chatters.

    Awesome, I look forward to it!

  • Alright i got it working, turns out the ip i had was for irc events only and didnt allow for actually anything other than initial connection, working websocket ip for twitch chat is ws://irc-ws.chat.twitch.tv:80 in case people are interested

    Is there any chance you could post a capx example of your updated twitch code?

    Edit: I've got it working <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy"> the reviving messages side anyway, though I haven't managed to get the sending side working.

    Great job on this, so simple but effective, opens up some serious possibilities!

  • yea...probably works only if you disable WebGl...not the best solution...

    I wonder why turning webgl off allows transparent backgrounds? Sadly as I'm using a lot of effects like tint this isn't an option, but I'm going to keep exploring it :/

  • > .. but it sadly doesn't seem to be working..

    >

    are you sure?

    I haven't been able to get it working, have you had any success with it?

    I think the window object only really effects the frame, not what's inside the frame, hence why it says 'The transparent feature is only supported on Vista and above with DWM (Desktop Window Manager) enabled. ' as DWM deals with things like the transparency of a window's border, rather than what's inside which is determined by nw.js

  • did you try with Browser object(Execute Javascript)?

    Transparency Window

    "var gui = window.require('nw.gui');
    gui.Window.get().setTransparent();"[/code:3fmrz68n]
    

    Thanks for the suggestion, but it sadly doesn't seem to be working, I think it's for setting the transparency of the frame, rather than the actual content. I've also tried setting the background to transparent in the index.html with no luck.