sizcoz's Forum Posts

  • I can confirm this on my moto g6, r128 works fine with zoom or scroll in layout, all versions after this are broken.

  • With the bullet just add this and delete the action underneath when you spawn the bullet

  • It assume it will only happen with Android 6 and below, Android 7 and above have system webview integrated.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi there,

    Pretty much as above. I'm looking to store a variable that keeps track of the players angle of movement.

    However, i'm not using the Set Angle function of the 8 direction movement as it won't work with the sprites we're using. So how can I keep track of the angle of the direction the player is moving in? Could I use the 8Direction.VectorX and VectorY to work this out somehow?

    The variable I'm using is called MovingAngle

    Many thanks!

    Paul

    This gives you the moving angle of the sprite.

    If that's what you meant?

  • It's going to be a mobile app, and that's an excellent question. Honestly, I'm not sure yet. I think unfocused because a player might still have that app open but not be playing it, in which case the function still needs to run. But the function would have to work in both scenarios, unfocused and closed.

    How do I detect either of those?

    This blog post covers this with the solution, maybe you could flag it up for an Android feature request?

    https://proandroiddev.com/detecting-when-an-android-app-backgrounds-in-2018-4b5a94977d5c

    Feature request link below

    https://construct3.ideas.aha.io/

  • Oh, I didn't know they added this option in C3.

    Still, it's not possible to show collision polygons in preview or debug mode.

    It's in c2 also, for those wondering.

  • Something like this ?

    http://www.sizzle-games.com/numbers.c3p

  • tarek2 Yeeeesss! I did it! It is working, even though I don't quite understand what is going on hahahahaha. But yeah, I was really missing that line. Do you know if there is any way that the timer display the whole numbers with ".0"? Like... right now it goes 4.2 > 4.1 > 4 > 3.9... It kinda bothers me xD

    Anyway, big thanks again dude, you're the best

    Try this

  • This is a simple 2 event version, I tried to keep it as simple as possible.

    http://www.sizzle-games.com/hearts.c3p

  • Thanks for your reply. I unfortunately don't have Construct 3 but 2 instead. I couldn't find a global string option for the variable. Do you know how I could find it? or is there another option?

    Many thanks.

    Here is the capx.

    Here is the link to the capx

    Cheers

  • Hi guys. I want to make a game which utilises live time. On different dates, different events should happen. I already have a text object where the current day/month/year/etc is displayed. In this situation, I decided to use the "compare text" event in order to check the current month and day while ignoring the rest of the date/time.

    In other words, if the current date is "Tue Dec 18 2018", then which event will recognise "Dec 18" while ignoring "Tue, 2018". This means that the event is only based on "Dec 18" and not on the rest of the information.

    I could not figure out how to do this and hope someone can help me.

    One way is to compare with Regex.

    This method compares your text object and puts it into two global variables, which can be accessed for later use.

    Edit

    Actually you could change the first match to RegexMatchAt(Text.Text,"[a-zA-Z]+\b","g",1)

    Which would recognise the second word

  • Thanks for the tip, Drago! Does that mean I'll replace those icons in google drive since that's where I'm saving my project? Or do I have to save it in offline mode?

    Wow, I was expecting something like in Cocoon.io where you just upload the image of your icon, then it's done. xD

    It's in C3 Itself, in the Project bar on the right.

    Just double click and change the images to your image, with the correct size.

  • Sizcoz, add action at start of layout set minimun framerate 60. What about then?

    Still makes no difference.

    For what it's worth, I can improve the performance and keep jank to a minimum if I change my power settings to high performance instead of power saving (which is default on most laptops), and keep it plugged in.

    This was covered in a previous thread,https://www.construct.net/en/forum/construct-3/general-discussion-7/we-need-to-talk-about-the-jank-137602, this is fine but most casual laptop owners would either A) Not know how to do this or B) Not be bothered to do this for a game.

    I don't know if this is a chrome and windows 10 thing only, so that's the another reason why I asked If anybody had a chromebook to see if it made a difference, If you do have a chromebook it would be interesting to try the project on power saving and then high performance power settings to see if it gives a different result in comparison to windows 10.

    cheers

  • Could you try this version? I replaced the bullet behavior and the drag and drop plugin with normal events. I'm curious if this really has an impact.

    https://drive.google.com/uc?export=download&id=1e5c18mnfh-gOHaz7iR47mUJNKVhRH4pe

    No difference, if anything maybe a little worse

  • Jank can be caused by background network activity,

    I think the web worker thing was supposed to solve this by having the game on a separate thread

    but (dont quote me on this as I'm not as up to date on construct news I used to be)

    but the last I read on one of Ashley's updates was that the worker thing was deactivated for now pending a future update of chrome . that was a couple of months back I think so not sure if there has been an update since then.

    You can enable web worker in the settings, with enable experimental features checked, this is in the latest stable r131.

    There is no less visible scrolling jank difference, with my laptop, with this enabled.

    I am not knocking c3, in fact I think it's great, and will re-subscribe, but we are limited to chrome, or chrome variants, so it does matter, it affects what we produce, for our target markets, most issues are normally fixed by advances in technology, but this one seems to be hanging around.