tarek2's Recent Forum Activity

  • BG1 does not have any color in your example. so nothing to set to BG2.

    just make both sprites white, in the editor. and set the color of BG1 in the properties instead, to your brown color or whatever. then BG2 will get the color from BG1

    Hoh that was the issue then I was going crazy, I didn't know that there are two different departments (Animation Editor & Properties Panel) to set the colour as I assumed that BG1 was already brown which it was set from the Animation Editor instead. I would have never guessed this one on my own is very confusing as one would think that the Object is already Brown ))

    Though once you know how is working is ok. I would still include this important info on the manual as it would have saved me hours of looking like the "ColorValue" Action takes the colour from the "Left Editor Panel" and not from the "Animation Editor"

    Thanks a lot fredriksthlm that fixed the issue.

  • I spent many hours trying to figure out what I thought was a super simple task but I cannot manage to understand how the "Set colour" works on Construct. In the Manual, there is not much to figure out if it's a bug or needs to be done differently.

    Example:

    Manual says that we can use the

    ColorValue

    To set an object's colour to match another object.

    But it doesn't work for me

    ColorValue

    A number representing the color property of the instance. This can be used with the Set color action to set an object's color to match another object.

    https://www.construct.net/en/make-games/manuals/construct-3/plugin-reference/common-features/common-expressions

    C3 Demo:

    https://www.dropbox.com/s/uc09w48mrdbfkew/1-Color%20Bug.c3p?dl=0

    Also, when I tried to use the rgba255(145,88,31,255) directly it gives a different colour than I expected.

    Is there any simple way to change the colour by just giving the colour directly? like setting the colour to

    Brown >>>> rgba255(145,88,31,255)

    Without using any effects

    To get for example this color:

    I haven't tested the performance for when the Sprite Action "Set Color" is used but because is built in an Action Im hopping that works better than the Effects hopefully.

  • Thanks for the reply.

    So the problem would be in my phone, and not in the game?

    I have no idea of programming (that's why I use C3) and even less of Android studio.

    I'll try to follow your steps, and see if the error continues. Thanks.

    Np

    Honestly is not very clear what is the source of the problem from what you read in the threads like the link that I posted as they just give the steps for things that worked to fix the issue. If It happened to me I would not have peace unless I find the source of the problem and that I can replicate it 100% to know if it has a fix and if not then find out which devices or OS are affected to exclude them if possible.

    Example:

    I have been dealing for the past month with one bug on Android that is failing to load PNG from the URL from the "Files folder" but it only happens on the Android Tablet "Galaxy Tab A 2016" OS Version 8.1 but the other devices have no issue as they are running on Android OS version 9+ also no issues on iOS devices so the only solution I found at the moment is maybe targeted Android 9+ and exclude Android 8 and lower otherways I could stay debugging forever because they are so many devices.

    In your case what I will look for is:

    1-How did you install it? Android studio?

    If you install it through Android studio and keeps having issues then you could try installing directly into the device by exporting a debug APK from C3 build service and then don't use Android Studio to install it into the phone and see if that makes any difference but before that uninstall any older version and clear the cache etc...

    2-If you didn't use Android studio then it may be a specific device issue as if the problem were from the C3 dictionary then you would find many BUG reports opened from other users in the C3 bug tracker. I use dictionaries all the time and I haven't had any issues like this, I'm currently testing all the time on (Android and iOS) using Dictionary and I didn't find any issues.

  • Sorry for the lag, this is what android studio tells me, when I run the .apk to debug.

    "2022-03-24 01:31:13.761 8752-8831/com.dospastores.lucha A/libc: Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x726566667592 in tid 8831 (Chrome_InProcGp), pid 8752 (spastores.lucha)"

    Then the game jumps to the android desktop.

    Try

    1-Restarted my smartphone (physical device).

    2-If you are using Android Studio, then go to file --> Invalidate Cache & Restart.

    or

    1-Invalidating Android Studio's cache.

    2-Wiping the device's data and cold booting it.

    And see if you till have the issue

    Link:

    https://stackoverflow.com/questions/55795041/how-to-solve-android-fatal-signal-11-sigsegv-code-1-fault-addr-0x0-in-tid-xx

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Would be nice to write files to the device (Android) to store important data outside of Local Storage which is gone after uninstalling.

    I voted for it and added a comment.

    Nice Thanks,

    Indeed it will be really useful for many purposes, for example Downloading new Updates from the server like New Levels etc.... as you don't wanna save them in local storage, especially if are paid Levels

  • I also lock my games to an older version r268

    This is because I have never found a C3 stable release version that doesn't have bugs the following weeks after upgrading it so even if I want to update many times I find it too risky to update to a new stable version because while there are many bugs fixes in the new stable release a new set of bugs will appear the weeks after (Bugs, regressions etc....) is not always easy to upgrade to a newer stable version, for me, I wait at least a month or more to see what new bugs will appear after that new stable comes out to see if it will break anything and if I see too many bugs I prefer to stay on the same version until I find some version that gives me the confidence to upgrade.

  • Where do you want to save the Data after you export it?

    If it's on your server you could use the AJAX plugin

    or

    if you want to (Write & Read) directly on the Device Disk permanently you could vote on this feature:

    https://construct3-21h2.ideas.aha.io/ideas/C321H2-I-221

  • That could be a nice feature

    Especially when you have many as you have to remember all the plugins that you had before the reset.

    A Temple that you could (Download & Load) containing all the plugins that you had could be very useful

  • Thank you for your answer, tarek2. I've tried on a new and clean project and happens the same problem, so it could be a bug of Construct 3 :/

    Empty project without non-official plugins:

    https://we.tl/t-wib2hZD63N

    Np

    I tested it on my Samsung S8 and it does look distorted the video

    https://www.dropbox.com/s/3n93xeu9xxi3rl8/Video%20BUG.m4v?dl=0

    What you need to do now is open a bug report so they can fix it if it is a bug from C3 as they said many times that bugs reported on the forum they will not look into them.

    So go to Github and open it here:

    https://github.com/Scirra/Construct-3-bugs

    Looking into the C3 Updates "Bugs that has been fixed" section there is one similar to yours on r282 so it may be related.

    https://www.construct.net/en/make-games/releases/beta/r282

  • I added an option to remove the aliasing with an effect. Beyond that I’ll have to go beyond construct to have more rendering options. The text object will look blurry if you change the construct project setting from high quality to low quality. So I think construct renders text at a higher res and scales down.

    Thank you R0J0hound

    I tested again but I cannot manage to create a nice clean one like the Normal txt object, I think this is a very difficult thing to replicate if not impossible and I don't wanna make you lose time on it so for that specific txt info I will keep using the normal txt for now and for anything else I will use your SpriteFont.

    Thanks again for your time

  • miguelromm

    If you are using the official video plugin and is failing the first thing you need to do is find out what is causing the issue and open a bug Report.

    You can do this very easy by creating an empty project and adding the Official video plugin alone and the video that is failing, export as you do and test, then if you still can reproduce the issue open a bug report and give them the demo project.

    Here:

    https://www.construct.net/en/forum/construct-3/general-discussion-7/report-bugs-amp-post-128538

    Also, make sure to test in the last version just in case the bug has been fixed.

    If you cannot reproduce the issue in an empty project then it must be something else interfering and causing the issue which can be anything as you have many plugins in your project so you gonna have to remove one by one until the video stops failing so you know what plugin is causing the problem.

    One thing I don't understand is why you have that Youtube plugin in your project if they told you that is not compatible with the C3 build service so you may look into that as the second option. Other than that you gonna have to keep testing until you find the source of the problem.

  • Wow that's an Awesome Tool R0J0hound

    Thanks for sharing

    I have been trying to replicate for a long time the normal Txt Arial(12) from Construct into SpriteFonts using the Blackhornet's tool but I never had any success as they get a bit blurry, maybe I'm doing something wrong though.

    I tried yours and the final SpriteFont export looks very clean png but when I test it in Construct it looks very blurry not sure why.

    Is there any way to replicate the Arial(12) into a spriteFont without any blurriness?

    My target is something looking sharp and clean as the txt objects do.

    Here are my results:

    Capx:

    https://www.dropbox.com/s/8qo9ik8e6dki8xh/1-Arial%20%2812%29.capx?dl=0

tarek2's avatar

tarek2

Early Adopter

Member since 26 Jan, 2016

Twitter
tarek2 has 12 followers

Trophy Case

  • 8-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • x5
    Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

15/44
How to earn trophies