condolent's Recent Forum Activity

  • When debugging I see that the game uses 50%+ CPU usage. How do I lower it? We're making a game for iOS and android.

    Worth noting that the PC I'm testing it on atm is really bad. But when we build the app via Intel XDK and transfer it to my friends Sony mobile, it's really laggy so I don't think that it's the PC that's wrong.

    Does anyone have any tips on what to do for the lowest CPU usage possible? I can attach a capx for anyone who wants to. (though I'd rather not as it's a pretty important project for us and it'd be easy to steal )

  • Solved, wasn't actually GETTING the key on the second image, I was checking what to do after I got it without even getting it. (stupid)

    Solution:

    Thread can be locked!

  • I have this currently in-game: on death -> Localstorage set item "savedCoins" to invCoins (global variable that adds coins when picked up).

    And that part is working, when I'm going back to the menu, it still shows the amount. But when I refresh the page, it resets to 0. Why is that? Pictures of the events are below:

    This is the part actually saving it.

    This is the part setting the saved integer to my global variable.

    Why won't it save when I refresh the page? Does this not work on preview in browser, for some reason?

  • Solved it by instead of setting the X position to a pixel, I set it to the previous ground + the width of the ground objects. In this case, it was like this:

    Ground -> Set X: Ground2.X + 854

  • patrickscheper so now I noticed what you meant by the gaps you get. Does anyone know a good solution for this? After a while, there's a small gap between the 2 ground-objects and it just gets bigger for every time it moves. Solution, anyone?

  • thanks

  • Is it possible to have an animated tiled background? I have a gif and I want it to look like the ground is moving to the left (as if the character is running) and I thought using tiled bg would be the way, but I just realized that they don't have a frame-window. Is it possible to make it animated some other way?

  • So if I have a game that I wanted to publish to both android and iOS, how would I solve it with the resolutions? I know how to fix it for all iOS devices, but since android is so spread out I don't know if I need 2 projects; one for iOS and one for android. If there is a better solution, could someone please inform me or link me to a good guide on how to fit both android and iOS on one project?

    No need to link me the scaling and sizes-guide, since I don't feel like that've helped me at all with this issue

  • Okay, thanks!

    Do you have any idea if this is just a bug or something that will be fixed?

  • So since objects with the 'physics' behaviour doesn't seem to collide with solid objects (and several people have this problem), does anyone have a good solution for small money being spread out, falling and then hitting the ground? Currently it's not stopping at the ground, but just keeps falling.

  • sweet, thanks boys!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Is it possible to use the same license on two computers? One is at home and I was thinking of installing a second on my PC at work so I can work on games while on breaks! Is this possible?

condolent's avatar

condolent

Member since 25 Feb, 2013

None one is following condolent yet!

Connect with condolent

Trophy Case

  • 11-Year Club
  • Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

13/44
How to earn trophies