andreyin's Forum Posts

    codexsg offtopic??

    Project properties, field name...

    https://www.scirra.com/manual/66/projects

    If you do it this way using the greenworks plugin then you'll always have to rename the .exe manually. I'm not sure if that is what he means though.

    What I did was set the game name on the project properties to "nw" and then add an action to change the window title to my game's name, using the browser object.

    I've been following Scirra since the Construct Classic days, and even though I absolutely love C2 it's gotten to a point where I can't depend on it anymore because it would mean also depending on 3rd party tools like nw.js, intelxkd, cocoonjs and etc.

    All I'd like to know about C3 is wether it will depend on such tools or not. I'm sick and tired of having weird bugs that can't be solved by the Scirra team or by myself.

    Apparently Fusion 3 comes out this year so here's hoping Scirra will have something really cool to show this year too!

  • You should really rethink everything you're doing - a better way to do it would be to have all your buttons in a family, and enable/disable them using variables whenever you see fit.

    That being said, if you want a quick fix you can try to resize your picture's collision box.

  • You can also just make your player a global object in the properties window - this way he'll keep all the variables when changing layouts.

  • Well ain't that just swell...

    I didn't add anything else to it, but I haven't updated nw.js since 0.10. I have 698 files in my package.nw archive and it used to work just fine on 0.10.

  • Hi everyone,

    I've recently had to update my game on the Humble Store, but now the OSX version is broken. When players try to start it, the game is stuck at loading at 16%:

    According to this tutorial you can't mess with the OSX build at all on Windows or else it gets broken, so I'm wondering if that's the case. All I really did was zip the OSX64 folder and upload it.

    Also according to the tutorial I would need a OSX system on the same network to copy the files over, and then upload them - but that's out of the question for me right now.

    Is there anything I can do?

    Is this a paid position? If so please post it on the job forums:

  • The only problem with that andreyin is that if the player is pressing both directions then it will always go right instead of the way he was running first.

    You can do this:

    But to be honest I don't see a problem with the player walking one direction if he presses both keys.

  • I'm guessing you're talking about parallax backgrounds..

    Try creating a new layer for the background, put your background image on it and then change the "parallax" property. Try using values like 50,50 or lower.

  • This is the exact post by R0J0hound that explains it:

    It's a mathimatical reason. The angle() function uses atan() to do the calculation, which has a range of [-180,180). Also that range is often referred to as a normalized angle and is usuful at times. Having the angle in the range of [0,360) is mainly useful in the case you stated above, and I usually convert it over in a expression with: > (angle(x1,y1,x2,y2)+360)%360 >

  • Use an else.

    Something like:

    If keyboard right key is being held -> player moves right

    else

    If keyboard left key is being held -> player moves left

  • Hi everyone,

    I have lowered my rates. Please contact me if you're interested! I can draw/animate 2D pixel art and I have a lot of experience programming in C2.

    Here's what I've been working on lately:

  • >

    > I actually don't have an Xbox yet and my game is in early development so I haven't worked with Visual Studio yet.

    >

    what exactly needs to happen with Visual Studio?

    C2 exports your game as Visual Studio project, so you can open it there and use it to run your game on Windows/Xbox modes.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • > Same here! I'm really impressed at how fast they were.

    >

    > I'm having some trouble setting up my game though and I'm not sure if I should just wait, or try to contact somebody. Do you mind if I send you a DM?

    >

    I actually don't have an Xbox yet and my game is in early development so I haven't worked with Visual Studio yet.

    Oh, I see ):

  • Same here! I'm really impressed at how fast they were.

    I'm having some trouble setting up my game though and I'm not sure if I should just wait, or try to contact somebody. Do you mind if I send you a DM?