digitalsoapbox's Forum Posts

  • ThePhotons

    Does this plugin work with the recently announced XB1 support?

    *EDIT: It seems to work just fine on XB1. Very exciting!

    Are you planning on adding room filters and a direct way to retrieve a room list to the C2 plugin? Those would be useful features.

    I get an error right now what I'm trying to retrieve a list of all of the available room names:

    I've also tried using events to send strings to start movement instead of X/Y position, hoping to reduce the number of events I'm sending to Photon, but it doesn't seem to be triggering on other peers. Any advice on this?

    And if you're still looking for features to add, it would be really nice to name events instead of just number them. So, instead of "on event 1," it could be something like "on event 'userinput'." It would help to keep track of what's doing what more clearly.

  • Mr1H

    I've done this in C2. It's not especially difficult, just plan out your XML schema so that certain X/Y coordinates are used for different values in the XML.

    For example, this is my format for weapon settings:

    <weapon>
            <playerWeaponID>pistol</playerWeaponID>
            <playerWeaponName>Pistol</playerWeaponName>
            <playerAmmo>6</playerAmmo>
            <playerAmmoMax>6</playerAmmoMax>
            <projectileCount>1</projectileCount>
            <projectileSpeed>1400</projectileSpeed>
            <projectileRotation>0</projectileRotation>
            <projectileGravity>0</projectileGravity>
            <projectileLife>1.25</projectileLife>
            <projectileFireRate>0.325</projectileFireRate>
            <projectileExplode>0</projectileExplode>
            <projectileBounce>0</projectileBounce>
            <projectileTrail>1</projectileTrail>
            <projectileVFX>0</projectileVFX>
            <projectileSFX>revolver_fire_01</projectileSFX>
            <projectileBounceSFX>ricochet_01</projectileBounceSFX>
            <projectileHitSFX>cartoon_punch_01</projectileHitSFX>
    </weapon>[/code:1p60ug27]
    
    WeaponID is from 0, Y. WeaponName is in 1, Y, etc. Implementing it as a function that loops through all of an array's rows/columns is fairly straightforward if you plan ahead.
    
    @Kyatric
    Of course the file can be downloaded.  It's just a text file. Invoke a download of the resulting string with the Browser object.  It's a pretty good way to save user settings locally as well.
  • Cool, no worries, thanks for all the info!

  • keepee

    It's a bug. I never implemented pasting multiple effect objects correctly. Basically the plugin needs to be updated to draw exactly like c2's runtime does, but I haven't gotten to it yet.

    Do you have any plans to look into this any time soon? I just ran into the same issue, and while I can probably work around it, not having to would also be nice .

  • Having the exact same issue, along with other icons throughout the interface (expand/collapse events, etc.) being too small to click on. Also SP4 Pro.

  • I'm trying to get C2 set up properly on my Surface Pro 4, but a lot of the interface (icons in panel bars, collapse/expand in the events/actions, etc) are so tiny that they're VERY hard to interact with. Is there a way to scale these icons so they don't look like they're about the size of an ant's leg?

  • Mostly because older games ran at a much lower resolution. I'd suggest just doing everything at 1x pixel size and then scaling up to 2x after the art is done, or scale up in C2.

    Another thing to keep in mind that a lot of indie devs seem to overlook is making sure the game itself runs in a lower native resolution, otherwise you'll end up wasting CPU/GPU resources to render low res art. In C2 you can turn off HQ scaling as well, which will give you a more accurate low resolution appearance and better performance.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Rockstar dev to clone other dev's games?

    Seems legit.

  • I am developing some plugin in WebStorm, but everytime I need to test it I have to switch to C2, press f5, which is annoying.

    But I can set "Run" command in my WebStorm, using, for example, command line.

    Is it possible to Compile C2 project from command line?

    This would be a great feature.

    • Post link icon

    > Any news on the overlay issue? Is this fixed in the new greenworks release?

    >

    This thread is enormous now and I'm not really clear on what the problem/status of that is. I think it would be best for everyone to file a report in the Bugs forum where we can focus on that (as well as any other issues). Although the Greenworks plugin is still experimental it should ship with C2 pretty soon so I don't see why not to start treating it like an official feature already.

    Awesome. Does this mean you've figured out the preview issue?

  • AFAIK Edge is in the process of implementing ORTC (a WebRTC variant), but has not yet added DataChannel support which the multiplayer engine uses. When they add that, we'll look in to supporting it.

    Gotcha, thanks for the update. I'm gonna bug my MS contact to see if they have a timeline...

    **EDIT

    Did some poking around Ashley, this seems to say DataChannel is now possible, though not an official source: https://blog.andyet.com/2015/06/25/webrtc-on-the-edge/

  • If I'm not mistaken, I think Coin-coin wants to be able to queue up -- or run simultaneously -- multiple camera shakes, rather than shake individual layers. MagiCam can't handle that itself, but one could always setup a queue that initiates camera shakes in sequence.

    Yeah, I just created a function to do that. It seems to work fine with multiple camera shakes, even on scenes with a lot of parallax.

    Which reminds me: The zoom limits sometimes get a little shaky when the camera is near the outer zoom limits. Not really related to camera shake, just something I noticed while playtesting.

  • ORTC is basically WebRTC with a slightly different and incompatible API. As I understand it, it should be possible to implement WebRTC in terms of ORTC, since ORTC is actually more customisable. Providing there's a good shim that does that, we should be able to easily support multiplayer with ORTC without even really changing our code. Even if there's no shim we should be able to adapt our code to work with ORTC instead.

    tl;dr - if IE supports ORTC then it should be able to support Multiplayer as well. Good news!

    Asley, are there any updates on ORTC support? No luck getting multiplayer working in IE or Edge, works fine elsewhere.

  • Hi,

    Is there a way to have "shaking layers"?

    For example, if a bomb explodes with a strength 50 shaking for a duration de 1 second, and if another event starts a strength 20 shaking for 0.3s during the bomb explosion, the bomb shaking immediately stops and the small shaking overrides the bomb one. Any way to have the big ones overriding the smaller ones, but when they finish, the other shakings occurring at the same time continue ?

    Magicam has a built-in Shake action. Look under the "Misc." section.

  • : i was going to try unity + playmaker, but i really liked what i've made, maybe this is the starting point to start to learn real programming, so i want to know what the most suitable for this kinda app. i'm thinking delphi cuz FLstudio was build on it.

    but if unity 2d is enough i think i will try unity

    Chances are it's not the images that are causing any slowdown - there's nothing complex going on in that area of the project - but the number of audio clips you're playing back combined with C2 not having any way to sync sounds to a reliably steady clock on mobile, and android in general seems to have issues with a lot of sounds playing at once.