sizcoz's Forum Posts

  • Here's another one using a different screen recorder = it's SOOooo Jerky!!!!!!

    https://photos.app.goo.gl/yP8Yv3kVc358EwMB8

    Yep, this is pretty much what i'm getting, on my laptop, really unplayable.

    If I was a customer and downloaded this game on my laptop, I would be disappointed and delete it promptly.

    It's a shame really, seeing as we rely on chrome so much, this has been going on for years now, some versions of chrome are better than others, but c3 scrolling is a problem on certain chrome dependant devices, that's a fact.

    I asked for a chromebook test, because I believe this is a growing market, and most new chromebooks play android apps, and have touch screens, so the potential casual chromebook market is going to grow, even Microsoft has an office app for chromebooks now, So it's important that apps that scroll like endless runner's work to a minimum jank free standard.

  • I didnt try the apk

    but preview is always janky and not representative of real world hosted or nwjs

    eg (i hosted your project)

    http://yamaforce.com/Test002/

    is as smooth as butter for me and that is on Intel 520 integrated graphics

    (edit) tested (hosted) on crappiest phone in the house (my work phone) moto g4, and still smooth as butter. zero jank

    yep moto g6 is good with apk, It's only my i7 nvidia 745m that has problems, also if i switch to integrated, it still yanks, and that's with your hosted project.

    If I minimise the laptop screen, It improves, but still janks, I'm not really bothered as I target Mobiles, and these seem to have better results, I would be interested to see how it performs on chromebooks, If anybody has one to try on.

  • Sizcoz, show me the jank (: Can you record video with that i7, also with worker mode.

    I just enabled worker mode in c3, it did not make any difference on my laptop.

    I have had trouble before with my laptop with jank, but only with scrolling games, so I don't bother with them anymore.

    I haven't used the game recorder yet, until there are some examples of how to use it, I don't want to spend time trying to work it out, unless you could point me to an example tutorial?

    Cheers.

  • Hi

    I have tried your test app.

    On my laptop i7, the jank is hideous.

    On my moto g6 android 8 with remote preview, it has jank, but is a lot better.

    On my moto g6 android 8 with apk, the jank is much, much better, hardly noticable.

    C3 on chrome has janking issues with scrolling on some devices, even with tiny projects like yours.

    I have asked about this issue before, and apparently the blame lies squarely with chrome.

    With Microsoft now moving its Edge browser to a chrome based one, I hope there is some improvement in the future, as we will now be more reliant on chrome more than ever, I suppose time will tell.

    Cheers.

  • Thanks, I found "Android System WebView" in the google play store and updated it. Now it works.......

    Just concerned about people that don't know how to do this though.........

    If it's Nougat or above, Android System Webview is disabled because its function is covered by Chrome now.

    That's Android 7 and above, so only devices below Android 7 might have a problem if WebView is not up to date.

  • Hi

    You can use an adaption of this maybe.

    https://www.scirra.com/tutorials/4897/sending-an-email-from-construct2

  • I found a line in the c2runtime.js file which said:

    score_ = parseInt(score_);

    I changed this to:

    score_ = parseFloat(score_);

    and now my decimals are showing!!

    Only slight issue now is that it's not always showing two decimal places - so if the score is:

    17.40 it's displayed as 17.4. Is there any way to display it as 17.40?

    Thanks for all your help guys - I got there in the end but wouldn't have without your helpful steers!!

    Try this

    https://www.sizzle-games.com/float_correction.capx

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • How to make that Sprite1 will follow path of the Sprite2 with delay of 1 or 2 seconds?

    I want sprites follow the leader with full path of moves, like in Happyland Adventures game.

    You could do it by an array, I have made a simple example. to change the follow delay, increase the event with the x size of the array (last event)

    https://www.sizzle-games.com/follow.capx

    Arrow Keys to move

  • Yes I'm sure it is - it's rounding down the whole time.

    I just cannot see where this is happening.

    Just as a side note, in construct 3 you need a https server to see the ajax info.

    Most Servers let you use a free Https, called Let's Encrypt.

  • Thank you for your continued help - I really appreciate it.

    The data from MYSQL only comes in when the game is live on a server - in Debug mode, the leaderboard is empty - so it doesn't pull in the scores. I think this is a security setting in the plugin which means that the game only works in the location you specify.

    I have no experience with that plugin, so maybe it is rounding the data?

  • OK thanks - tried that, but it didn't work. It's only loading the digits before the decimal point.

    The values in the DB say:

    1. Andy 12.34

    2. Andy 12.45

    3. Andy 15.65

    But i my leaderboard they show as:

    1. Andy 12

    2. Andy 12

    3. Andy 15

    So it seems as though the plugin, or construct is rounding the number before displaying it somehow.

    Have a look at ajax (in construct) in the debug mode, it will show you the raw data that is coming from your mysql table.

  • Thanks for your reply!

    Do you mean in the actual database, or within Constuct?

    Sorry - fairly new to this, and not sure where to look.

    In the database itself, the values are set up as 'text', and the times (scores) look correct.

    In the database.(presuming it's mysql)

  • Hmm Thanks - I've just searched the PHP files which game with it - nothing relating to floor/round/ceil/trunk in those.

    Or do you mean within Construct itself?

    Have you set your mysql field to decimal type.

    example, in the structure the Type should be Decimal(4,2) The 4 means the length before the decimal + the number of digits after the decimal, so 67.78, would be Decimal(4,2), 9299.365 would be (7,3) and so on.

    Edit, Forgot to say, I don't have the plugin, but do this with my own scoreboard.

  • Hi

    I am playing around with an Endless Submarine Runner, this is just a concept, so I was wondering what you think?

    It is primarily aimed for mobile, in landscape, and best played this way, but I have made it playable on PC also to get a bit of feedback, it's a prototype, and might not even make it to production, depending on feedback.

    At present it's in letterbox mode, so black bars I'm afraid.

    There are 4 Zones, which repeat, all the Paths are random, and made on the fly, so to speak.

    The concept is a Submarine, and it has to avoid all terrain and enemies, and grab stars etc.

    On mobile, it's touch in front of submarine to move.

    On PC its mouse button down and move mouse, in front of Submarine.

    Mobile Version is here

    And link for either is here.

    https://goo.gl/Atr9Td

    Let me know what you think, bearing in mind, it's only a very early prototype.

    Cheers

  • When you use % and compare to 0, if = 0 it means that the number is divisible by 10 as you asked before.

    For example:

    10%10 if = 0 means that the first number is divisible by the second.

    Is score divisible(%) per 10? If yes you need to compare with 0 to know.

    Is the same as is the result of score/10 = a whole number?

    https://en.wikipedia.org/wiki/Modulo_operation

    Quick capx I wrote finding odd and even numbers with modulo.

    https://www.scirra.com/tutorials/9439/modulo-odd-even