Xionor's Forum Posts

  • Got a response from Ludei.

    "Our Box2D implementation doesn't have SetFixedRotation() for now."

    Crossing fingers it gets added in next update.

  • You need to show us an example of the problem so that we can help you : )

  • CocoonJS is NOT broken. It works pretty nice for me and all of my physics games run perfectly on it.

    And yes, I am using CocoonJS 1.4.

    It's only some actions that crash it atm but that will be fixed for next update.

  • Yep, you just need to use CocoonJS.

    Tho you can't make a "perfect PC copy" - Your PC is like 100 times faster than most Android devices. What runs fine on the PC might run horribly on Android even with Cocoon's acceleration.

    But if you ask if it will look the same on Android as it does on PC, yea, CocoonJS will do that.

    That's the best tool for porting to Android. Gives amazing performance and even supports WebGL effects!

  • I hope Ashley can give a better answer.

    It's just that we're on our own until he comes back after the weekend!

    Sorry if my suggestions seem silly, but seeing as this error doesn't trigger on my machine it must be PC-specific, right?

    Tho of course, it might as well be a bug. Only Ashley knows how the Node-Webkit preview launcher works.

    If I were you I'd try to pinpoint the issue - Make the Construct folder read only, see if any files are disappearing after the error appears by checking the number of files in the folder, etc.

  • Oh, I thought it had to be done on font import. Didn't think it'd have to be done inside the Event Sheet.

    Do you know if i have the set the individual Character Widths for every layout, or doing once at game startup should be enough for the entire duration of the game?

    Still, it's gonna be some work! ^^

    Thank you a lot for the help! :)

  • Hi,

    Since a dynamically updating text object slows down WebGL on CocoonJS, I started looking into the Sprite Font plugin.

    What I immediately notice in the Manual entry is that all characters must essentially be the same size(in order to fit completely into the sprite image).

    Does that mean that you can't have different character sizes?

  • Exactly sqiddster. Which is why I asked about the antivirus.

    The Antivirus is only thing that should have the power to delete or remove files on the go.

  • Are you two sure your Antivirus programs don't just delete some C2 files or block the preview app upon launching Node-Webkit?

    Try to disable them and run C2 as Admin?

    I'm still pumping the Preview button and still runs perfectly every single time.

  • Normal CocoonJS export and every other platform/preview combination work as intended.

    However ONLY when using Preview over Wifi to preview directly into CocoonJS, some collision boxes are skewed or displaced.

    For example collision starts 20 pixels BELOW the bounding box of some objects.

    This is very hard to reproduce and I can't make any simple CAPX where you reliably see the issue every time.

    I can reliably reproduce it in a game I'm making, but I'd rather not put out a CAPX of that - I can send you link on a private message if you want to look into it.

    Construct 2 version:

    R139, CocoonJS 1.4

  • I tried to run a game about 20 times in a row through node-webkit in preview and it launches fine for me.

    I'm using C2 in Admin mode tho, maybe that helps somehow?

  • Wrap renders an object which exited the layout, on its opposite side. And that is exactly what is happening in your game. You reach, for example, the right-most of your layer and then your ship gets "teleported" to the left again.

    Also "Scroll To" doesn't bug out, it's also working as intended. There's simply nothing for it to show you, on the right or left-most edge, because that's where your layout ends and there's nothing beyond that.

    Remember that when you cross the edge, Wrap puts you on the opposite side of the layout again. That's why the enemies don't appear before crossing the treshhold - because they're not there.

    So everything is working as intended.,

    It does not wrap an entire layout on itself into an infinite loop, like you're trying to do.

    Also i remember reading Wrap shouldn't be used on Physics objects. It bugs out because of the way the Physics engine itself works.

  • keepee

    Wow 0.o That's genius!!

    I'd never have thought of that solution and didn't even consider you could make dents like that in collision boxes. This should be put in a tutorial or something! : o

    Thank you a ton!

  • Try Construct 3

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

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

    Issue is i need the object to collide at the Bounding Box, by game design. So a Custom collision polygon doesn't work for me.

    I'll try the thing with a tiny invisible superheavy sprite attached to the bottom of the object, see if that helps : )

  • Hi,

    My collision box is set to Bounding Box(it's what I need it to be).

    That means the center of mass is in the center.

    How do I change the center of mass to the bottom of the object?