ibiz's Recent Forum Activity

  • I am very interested in whether set angle will be added to the canvas plugin, my projects depend on it... Ashley You plan to add this in the future.

  • good afternoon, I installed your game it is great. I have one question for you: after installing on my samsung, your game immediately moved to the game launcher and samsung identified it as a game. When I install my games samsung doesn't define them as games. Tell me what settings in the project you install so that android determines that this is a game and not an app?

  • Good day, in versions r201, r202 I can't sign the apk file. The password and key name are correct. Also, remote preview on mobile phones does not work in versions r201 and r202.

    Here is the error message log:

    Error: Failed to load signer "signer #1"

    java.io.IOException: Failed to obtain key with alias "*****" from tmp/********-****-****-***-*******. Wrong password?

    at com.android.apksigner.ApkSignerTool$SignerParams.loadPrivateKeyAndCertsFromKeyStore(ApkSignerTool.java:690)

    at com.android.apksigner.ApkSignerTool$SignerParams.loadPrivateKeyAndCerts(ApkSignerTool.java:555)

    at com.android.apksigner.ApkSignerTool$SignerParams.access$200(ApkSignerTool.java:509)

    at com.android.apksigner.ApkSignerTool.sign(ApkSignerTool.java:215)

    at com.android.apksigner.ApkSignerTool.main(ApkSignerTool.java:89)

    Caused by: java.security.UnrecoverableKeyException: Cannot recover key

    at sun.security.provider.KeyProtector.recover(KeyProtector.java:315)

    at sun.security.provider.JavaKeyStore.engineGetKey(JavaKeyStore.java:143)

    at sun.security.provider.JavaKeyStore$JKS.engineGetKey(JavaKeyStore.java:57)

    at sun.security.provider.KeyStoreDelegator.engineGetKey(KeyStoreDelegator.java:96)

    at sun.security.provider.JavaKeyStore$DualFormatJKS.engineGetKey(JavaKeyStore.java:71)

    at java.security.KeyStore.getKey(KeyStore.java:1023)

    at com.android.apksigner.ApkSignerTool$SignerParams.loadPrivateKeyAndCertsFromKeyStore(ApkSignerTool.java:663)

    ... 4 more

  • There are probably a wide range of possible algorithms and approaches to this, and individual games can often pick approaches that are specialised to their specific use case. In Construct we have to make features general-purpose enough to apply to lots of games, and as we have limited resources we can't afford to implement one feature multiple ways so you can choose. So we aim to do a reasonably good general-purpose feature that ought to work well for a decent range of games. If you push it really hard though with extreme cases like this one, it might not work so well, but that's the trade-off we make.

    I have been studying Construct since 2017, and I constantly meet a request to add a lighting plugin on the forums. At the moment, the ShadowLight and ShadowCaster plugins only work well in your demo projects, but when it comes to implementing in real games, construct users face a huge performance problem, especially on mobile devices.

    Yes, you have made a huge leap in Construct 3, I understand that you have a small team, but you need to listen to the users of construct. This is my personal opinion.

  • > To optimize, we need to remove the shadow calculation for objects that are in the shadow.

    It's possible that will actually be slower, since it is potentially a lot of extra work to do raycasting and intersection-with-visibility tests, compared to ignoring that and just processing all the objects.

    I don't know much about programming but I've seen a lot of games on android with dynamic shadows and it was very fast and without a lot of load on the device (Yes it was done on other engines). Or is it a problem with HTML5 games and you should not expect improvements in this direction in Construct 3 in the future?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • good afternoon. how do I get plugin convas to set the angle I need? The actions of this plugin do not include set angle. I managed to get the canvas angle set via pin behavior to the sprite, but it doesn't work correctly.

    Tagged:

  • AshleyI'll leave it here. If you have time, read it.

    simblob.blogspot.com/2012/07/2d-visibility.html

  • I understand you Ashley. But if you look at the examples that I made, you can see that the size of the layout and the length of the shadow does not greatly affect the CPU consumption.

    The CPU is affected by the number of ShadowCaster objects. the ShadowLight plugin continues to calculate shadows for objects that are already in the shadow. Please note that I am now talking about Penumbra mode (Light height=0). To optimize, we need to remove the shadow calculation for objects that are in the shadow.

    I understand that this may be a difficult task for you, but 2 years ago I could not even dream of the weights that Construct 3 can now easily do with its large optimization. The community needs to optimize ShadowLight for using shadows on mobile devices.

  • Ashley I made an example for you. Which shows that the CPU is spent on calculating shadows from objects that are already in the shadow and far beyond the viewport.

    drive.google.com/open

  • Good afternoon Ashley, I am currently testing the Shadow Light plugin and the behavior of Shadow Caster. I have a question about the effect on the processor. I'm using penumbra mode, and I've noticed that when you increase the layout size (50000x50000) and add a large number of objects with shadow caster behavior, the CPU load increases.

    Explain in more detail how this plugin works. As I understand it, the plugin calculates shadows for all objects in the layout at once, even for those objects that are already in the shadow?

    If this is the case, it may make sense to review the work of this plugin and make a calculation of shadows from a certain number of objects that are outside the viewport, just as it is implemented with the calculation of collisions in Construct 3 (collision cells). Or add the option to manually set the distance in the plugin at which the condition for casting shadows will be triggered.

    In the last screenshot, I disabled Penumbra mode for clarity.

    I think this will help us save CPU on mobile devices.

  • Thanks for the quick fixes. I love spriter very much and believe that spriter 2 will be even better. I understand that you have a small team, but I want to ask you to release a short article on how to properly configure animation in the spriter. I would like to learn more about how it all works. For example, what to avoid when creating animations for mobile devices in order to save CPU and GPU on mobile devices. (Does the number of bones affect performance) Ashley once did this very well with the construct 3 example construct.net/en/make-games/manuals/construct-3/tips-and-guides/performance-tips.

    lucid If it's not difficult for you, make this tutorial for Spriter, it will help you avoid making errors that affect performance when creating animations.

  • Yes I have the same problem.

ibiz's avatar

ibiz

Member since 29 Jul, 2017

None one is following ibiz yet!

Trophy Case

  • 7-Year Club
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

10/44
How to earn trophies