RobertMKD's Recent Forum Activity

  • How about you simply measure the distance and stop the object if it's too close to the other one?

  • It's best to have a server from where you can get the real time. You can also use a plugin (I'm using this 'Date' plugin, I am not using my PC so I can't give you the download link), but plugins are not using internet, and they show you the date-time of the device which can be manipulated, or hacked...

  • You can't make an animated tiled background. Maybe you should use effects and try to achieve what you want?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Yes, you need to make the ground move in the opposite direction to make it look as if the car is moving.

  • I am now removing all data and then I save it again, and I don't know why but this reduced the data to 27mb. But that's still too much...

  • Yeah sure. Btw, may I ask what's FTL?

  • LocalStorage is a little buggy and sometimes it won't load all data.

    Read this thread:

    I am using the method of saving anything into a dictionary and then saving the dictionary as one item in the LocalStorage

  • Oh I understand your situation. Changing the animation names everywhere is a pain in the neck. Well, then you can simply put all animation names (strings) into an array and simply pick a random animation. That would be less work in your case.

  • How about you divide the number with 5 and then check the range?

    Example:

    12 / 5 = 2.4 (rounded to 4) ; now you check if the result (4) is higher or less than 5

    This however can be tricky and maybe a little ineffective as you have more ranges and need to check them all..

    Maybe first you should check if it is lower than 5, if it is not check if it is lower than 10 and if it is set the number to 10, and so on...

  • Oy lads

    I've got some problem with the code now and even when I was looking for a solution here on the forum, I have no idea how to fix it.

    I created a sprite with animations and now I want from my game to pick randomly 1-3 animations from that sprite and save it in the 3 buttons. I setted few variables for this sprite regarding what it will have but I don't know how to create that command "random" after each turn. Since this command is used for numbers and not the texts so I can't point it like "random(sprite.AnimationName)". Any ideas how to fix this?

    What I would do is name all animations as Anim1, Anim2 and Anim3, then when you play the animation simply type

    "Anim"&global_variable

    and that should work..

  • Are you sure you are saving and loading the data correctly?

  • That's all of it? I'm not clear what you have that's 40mb, but that isn't it.

    Yep, that's all of it. I'm confused as well, otherwise I wouldn't make this thread... (Btw, by reducing the size of one of the arrays, the data is now 35mb....)

RobertMKD's avatar

RobertMKD

Member since 15 Apr, 2016

None one is following RobertMKD yet!

Trophy Case

  • 8-Year Club
  • Email Verified

Progress

9/44
How to earn trophies