andreyin's Forum Posts

  • Did you update your capx? I thought about the round(lerp( thing newt mentioned and when I went to try it's already there. It actually fixed the tearing for the most part here.

    I recorded it:. https://a.pomf.cat/owzfff.webm

  • You're right. That might have to do with player.platform.maxSpeed

    Maybe she needs to move exactly a specific number of pixels for it to work. Hm

    I messed around with your .capx because I thought it had something to do with the way the camera worked, but what you said was just it. I think she's running so slow that you can actually see she shifting through every pixel. If you use 60 as her maxspeed, everything is really smooth.

  • It's working just fine here, no tearing at all but the character does "shake" a little bit while the camera is following her. I'm running the latest preview version of Windows 10 (14332).

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Going by what you said it really should be working. Are the invisible sprites you're using the same sprite for both players, or a different sprite for each one? This could be your problem. You should pick the right sprite you want to control using "pick" events.

    If you don't want to use repetitive events when making controls, you can try a For loop. I'm pretty sure it won't help you solve the problem you're currently facing but it's a good way to have less events.

    I do it like this:

    Keep in mind that in this example I have the same sprite for both players though - I differentiate them in other events , using the object IID to set their animations (player 1 should always be playing "run"&player.iid for instance, so the animation name is "run0", while player 2 would be "run1").

  • You can use LayerToCanvas and CanvasToLayer to convert the position between layers.

    https://www.scirra.com/tutorials/1167/l ... er-example

  • Is the latest xbone Dev Mode OS version 14295? My console only updated to 14290 and im getting:

    [quote:23ujtu6z]Error DEP3321 : To deploy this application, your deployment target should be running Windows Universal Runtime version 10.0.14295.0 or higher. You currently are running version 10.0.14290.1014. Please update your OS, or change your deployment target to a device with the appropriate version.

    Have you updated C2? I used to get this error before updating it.

    You should also use the preview version of Windows 10 if you aren't.

    Edit: I forgot to mention, do NOT mess with these options:

  • [quote:dse73gzv]I keep reading that everywhere but I don't know what to say, for me it didn't factory reset anything. There's even a button in the Xbox Dev Mode app that says "Leave developer mode". If you click it the console restarts as retail and does not factory reset or anything.

    And here's an article about it:

    http://www.windowscentral.com/how-activ ... ne-console

    Really? <img src="{SMILIES_PATH}/icon_mrgreen.gif" alt=":mrgreen:" title="Mr. Green">

    Alright, I will download Dev Mode later today and give it a try then. <img src="{SMILIES_PATH}/icon_mrgreen.gif" alt=":mrgreen:" title="Mr. Green">

    Keep in mind that after you test your game, you have to manually delete it before returning to retail mode though! You just have to go to the apps/games list, press the menu button on the controller and choose "uninstall". After that you can click the button to go back to retail in the Dev Home app.

  • >

    > > Beware on the preview Dev Mode though. You can't play any retail games while on Dev Mode which is a downside for me right now. I'll just wait until it official releases.

    > >

    >

    > You can switch to and from Dev Mode any time you want to play games.

    >

    But you will have to factory reset your Xbox in order to go back to Retail for the time being..

    I don't want to do that..

    I keep reading that everywhere but I don't know what to say, for me it didn't factory reset anything. There's even a button in the Xbox Dev Mode app that says "Leave developer mode". If you click it the console restarts as retail and does not factory reset or anything.

    And here's an article about it:

    http://www.windowscentral.com/how-activ ... ne-console

  • andreyin

    It's not as easy as that. As Ashley posted in the link above...

    [quote:1tenv7nf]Important When you activate Developer Mode on Xbox One, you are opting into Xbox system updates for a developer preview release that includes experimental and early pre-release software. This means that some popular games and apps will not work as expected, and you may experience occasional crashes and data loss. If you leave the developer preview, your console will factory reset and you will have to reinstall all of your games, apps, and content.

    That's wrong. Installing and enabling the Dev Mode does not erase anything you have installed and you can go back to your regular console at any time. In fact, I just did that right now.

    I did get an error but it was because I had to uninstall the games I was developing before unchecking the "developer mode" option on the system menu.

  • I got it working with the latest C2 update, but my game is really simple and yet it's running a little slow... I'm thinking it's because I'm running it in debug but I'm not sure how to install it to the console so I can test it? There's a "Games & Apps" bar on the Dev Home app, but it says there are no installed games there. Is there a way to install the game so I can test it directly from the Xbox?

    Edit: Nevermind, I figured it out. Once you run the game from your PC, it is installed on the Xbox One main menu so you can run it directly from there without having to build it again.

    I'm impressed, it's running great!

  • Beware on the preview Dev Mode though. You can't play any retail games while on Dev Mode which is a downside for me right now. I'll just wait until it official releases.

    You can switch to and from Dev Mode any time you want to play games.

  • It's impossible to edit a PNG file for the game in the runtime, I think. You can use the canvas plugin like oosyrag said, but if you want your player to draw something in pixel art I'd recommend the tilemap plugin.

  • Magistross Thank you! And I hope that in the end it does play as good as it looks, that's my main concern too.

  • This is such a great template! Had my fair share of doubts but reading through these comments helped me a lot and I got most of the implementation done in a single night (only have to adapt the portrait and I'm set).

    I have a small request though, if possible - for future updates would you consider adding commands buttons on the utility template? That's what I did in mine at least, this way I could add and edit the text much easier.

  • I tried it last night but there seems to be a problem, well for me at least.

    To use your Xbox as a dev kit you need to have the latest version of the Windows 10 SDK, however construct 2 will not let me export using the latest SDK as I get a "is not a supported value for targetplatformversion" error.

    So will have to wait until C2 supports the latest SDK before we can test on a retail dev kit.

    Unless I've missed something this seems to be the case.

    Are you talking about this error?

    I'm pretty sure the problem is on MS's end. If you open the Dev Home app you can see the OS version is "10.0.14290.1014" and it needs to be "10.0.14295.0" or higher, so until they release an update there's no way of doing it I think.