sachos345's Forum Posts

  • Probably didn't find out the issue, but thought I'd contribute.

    I exchanged the TiledBackground object with a regular Sprite which seemed to reduce the inaccuracy.

    Might be a bug or an issue with the TiledBackground object.

    With TiledBackground:

    With Sprite:

    [EDIT:] Probably found the issue.

    This is what it looks like when disabling the collisions of the Player Sprite:

    Maybe you can change your program with that information or submit a bug thread?

    Thanks for taking your time to try solve this, I tried using Sprites instead of TiledBackground but i still get the same issue and dissabling the collisions defeats the reason to use a movement behavior no?

    Thanks for sharing!

    It seems the 8-direction behavior is pushing out the player. This happens because they're actually both the player and the solid background are actually touching each other on the grid, so Construct 2 pushes out the player to the left.

    I don't think using the 8-direction behavior isn't a good way to set this up. I would try using the bullet behavior instead.

    Yup i will keep trying to hack some work around to this issue, but i think it should not be this weird/hard

  • Could you share your .capx file?

    I edited the original post with a link to the .capx

    Are they on different layers with different parallax values?

    Nope

  • Im using the 8 Direction Movement behavior for the lightblue box and the walls have the Solid behavior.

    The left pic is how i see the things in the layout editor, everything is aligned properly but one i start the game the lightblue box starts in another position and when i move it sometimes it can reach the walls and most of the times there is always a gap between the box and the walls why does that happen?

    Another example here, also apart from the box being in another position from where i put it in the layout editor it also can move along an open are the same size as the box, the box is 32x32 pixeles, and that gap there its suposed to be 32x32 since im using the snap to grid feature, but why cant i travel along that little path? That really gets me angry as i want to make the movement perfect for kinda like a "slide the pieces" puzzle but nothing matches together??

    Here is a .capx if you want to take a look at it

    https://mega.nz/#!2QpWjYJC!tF0bqDL3wusQ ... DBKf_ZYqyo

  • Oh thanks, i dont see the point of using Physics if everything ends up like that picture above.

  • Why does this happen with Physics behaviour? Things appear to be floating.

  • Hi, i have the following Dictionary, that stores JSON strings for another Dictionary like this

    {

    "c2dictionary":true,

    "data":

    {

    "asd":{"c2dictionary":true,"data":{"nombre":"Jhon Travolta","danio":200,"defensa":20}}

    }

    }

    I load the JSON for the father Dictionary as always using AJAX, so far so good, but when i want to create a new Dictionary like this

    NewDictionary -> Load From JSON String FatherDictionary.Get("asd")

    I cant do it, how should i load it?

    EDIT EDIT EDIT EDIT: Nevermind, i solved it, you have to save the JSON string like this

    "asd":"{\"c2dictionary\":true,\"data\":{\"nombre\":\"Jjpm\",\"danio\":20,\"defensa\":20}}"

  • Oh nice! Very simple! =)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi i have a .json project file that i update frequently, how do i update it in my C2 Project without constantly re importing it?

  • Oh man thanks Ribis thats a really good idea, im making and Idle game like Coockie Clicker or Clicker Heroes, so i think the cache will be fine.

  • So im using the standard "Save/Load" from the System actions, and i wanted to implement and option to clear all the save games, is there a way to do this? I didnt find an action to this, shouldnt be one for this? Its pretty common for games to have a way to hard reset it.

  • Ok wow i never thought about that, i feel stupid now, i guess i was very frustrated to think clearly lol. Thanks for the help man! =D

  • Hi, i want to save the time when i close the game, i tried to do it with "On end of layout" and Browser`s "On suspended" but it isnt working. I feel that "On suspended" should be the correct way to do it, is it really?

    Please help, i need this to calculate the time away for mi iddle game.

  • sachos345 Well I already have sampling to 'point' but I really need to keep Pixel Rounding to 'No'.

    I will try on another computer but it would be strange if the Pc I use for 2 years suddenly shows line bugs, just like that.

    Yup i know, i have the same problem using the Tilemap object, i need Pixel Rounding set to "No" so i can have smooth movement with moving platforms.

  • Yes i get that too, you have to put the Pixel Rounding set to Yes and the Sampling to Point in the project options. I fixed it that way.

    EDIT: Ups i just read that you are not using the Tilemap object, mmm, then i dont know what it is, i would still try but the solution is not guarented. Nice graphics BTW

  • Hi i wanted to ask how is Crosswalk working with the Android exports and the new AdMob plugin, is it better/easier to setup ads and get things running this way? My last app i did it in February with CoconJS and it wasnt the best thing possible...