tomi71's Forum Posts

  • Yes. Thank you very much for trying to help. I will upload it now and give you the link soon.

  • Can you upload the 'fixed' capx again ? Will go trough it one by one this weekend.

    The error you get there usaly is about what i mentioned.

    Also, you have to close the browser, between the tests.

    Yes. I will upload it for you (the "full" version this time). Didn´t know about closing the browser. Thanks. Will try that too!

    I will upload it in a minute.

  • Thanks. I will look at those sprites.

    Edit. It´s very interesting. I never thought that these could cause problems since they are not physical objects, but it´s good to know for now on that even those can be a problem.

    I am sorry if I seemed to be "not listening" since I only thought that the rotating beam´s collision points were an issue. Since it only crashed when that was on layout.

    Thanks again and now I must test if it works now.

    No. Still an error. Must check every sprite.

    edit2: Yes, there was more sprites with this problem (only in my game version not the uploaded capx). Fixed now. Hopefully now everything is working great.

    edit3: No. Not working.

  • Computer however crashed during preview (after an hour of so). Don´t know if it has something to do with this but everytime it has crashed, the game has been running in chrome preview.

  • It has something to do with that rotating beam animation. Now I try without them and see if there is an error.

    edit: after removal of the rotating beams no error so far.

    edit: Fixed the rotating beam in photoshop. Cropped all else out and seems to work better. No error for a long time, but must check more.

  • Here is the capx. I thought that maybe the error won´t happen in this "stripped down" version. But it did. Game was run about 18 minutes and bang! Error. Weird.

    Capx: https://www.dropbox.com/s/6n92rw50agoco ... .capx?dl=0

  • Hello. Okay I first want to say that I didn´t find a good place to ask this. I thought that maybe I could ask it in the bug "department" but I don´t know if this is a bug. I only want to ask a short question to understand if this has happened to someone else too.

    My situation is this: If I just let the game run in a test layout and there are some physical objects there, it runs normally for about maybe 30 minutes, maybe an hour but after that in preview (chrome) there is an error.

    I have checked collision points and changed them etc. but no. It seems to be not about that.

    It´s a javascript error. (I don´t know how to put an image here, so here is the link to image with errors)

    or here http://imgur.com/4uw1Xzc

    This error comes with two sprites on the screen (separetely). Both are animated. I wonder if the collision points are the problem even though I changed them to match each other exactly (and none are crossing each other or anything like that)

    I´ll post the capx later if needed but maybe the Pros here can guess what the problem might be. It certainly has something to do with physics yet not very soon. It takes a long time to the error to come? That´s weird, and it happens even when in my test layouts player is not doing anything.

    Can this have something to do with memory. My computer has crashed two times now as i have left the game on it´s own (win 7 64-bit). This kind of crash has before happened very rarely and now 2 times in a short period of time (few days).

  • Tried it. It didn´t work as expected but when I change to the MAIN layer parallax to 100, 100 and scale rate 100 it works perfectly. It just seems that when those values are different the zoom always goes offset to the sprite which has the scroll to behaviour on it.

    But I am happy with this. I will also change my layoutsize to larger as you kind of suggested even though it didn´t solve the problem. I was a bit scared of making it so large but it works nicely. Thanks for guiding me into the right direction.

    edit: Actually just did try to take the unbounded scroll to NO and it didn´t work so that was actually a very important thing which made it finally work when I changed it to YES! Special thanks for that.

  • Chill man! It seems that Dropbox was foobarred a few days ago. Everyone's link was broken that I clicked on that day. I'll take a look at your capx.

    Thank you. Actually I was calm as a wintermorning when writing that

  • Would be nice to know if anybody checked my capx and tried to find a solution or was this just totally ignored. Could be useful information.

  • I limited the zoom. So this is kinda solved.

  • Any ideas for another way of doing this? I have tried magicam. I have tried making viewport smaller etc but nothing ever works. There must be somekind of an solution. Please help me.

  • Try Construct 3

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

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

  • Have you any ideas if the zoom is impossible (since the computer thinks layers different as we humans).

  • Maybe I could limit the zoom. That would kind of work. I wonder what could be the best way to make a scroll to action to the borders of what-player-sees in monitor. If I would put an invisible sprites to parallax 0,0 global layer and test if they are tapped and then scrolled towards that tapped sprite. I wonder what would be the best way to set scroll to that position?