Everade's Recent Forum Activity

  • Hey there.

    The settings for the light effects are configured on the Normal Map (family or layer), rather than on a light object itself.

    However, the example file demonstrates how you can use event sheet coding to "attach" these light effects to a light object using events.

  • Indeed, actual pain. Not due to the aesthetics (pink being broadly disliked by the masses either way), but because it's a rather harsh contrast especially in dark mode.

    Hope we can get a color swap, revert, or at least some contrast tweaks.

  • All these checks occur only once at startup and do not affect performance in any way. The performance is affected only by the opening of the high score table with the behavior of Tween. It doesn't matter how to attach objects, in code or in the editor - it's the same thing!

    Yes it does affect cpu utilization. No it's not the same thing. Yes only on start of layout, just as i've described.

    You said "when i open it", so i wasn't sure if you mean the layout or when triggering the tween. Either way, it should be fairly easy to check if the "tween" is the issue, so just replace it with a different method and compare it.

    I can't reproduce any performance issues on decent hardware with your given example.

  • This topic seems to pop up a lot lately.

    construct.net/en/forum/construct-3/general-discussion-7/engine-performance-174186

    construct.net/en/forum/construct-3/general-discussion-7/help-editor-randomly-lagging-173900

    I can confirm that i ran into the exact same issue multiple times. Although not lately, simply because i didn't work on my project for some weeks.

    However i have a much smaller project with less than 2000 events/actions and 120 objects. Nothing fancy, and i still had 5 seconds lags when selecting (double click) js- or moving event blocks.

    64gb of ram btw.

  • Remove all "for each" conditions. They're redundant in this case.

    Also don't forget that you're running many collision checks with "is overlapping", which is very cpu intensive. Instead, create your UI hierarchies directly in the layout.

    That way, you can get rid of the entire hierarchy setup on runtime.

    And you can disable "collisions" on all sprites. All this only helps for performance issues during start of layout though.

    If you actually have performance issues when clicking the buttons, maybe try a different variant to animate your UI instead of "Tween".

  • Keep in mind that it's a 2D effect, but yes it could possibly work.

    The examples shown above are all 2D.

    I've no idea how Construct handles 3D in the backend and i'm not interested enough into Construct's basic 3D implementation to dig into it.

    Feel free to test it out yourself.

  • Release - NormalMap32 v1.9

    • Added Normal Map Angle parameter to support rotated and/or rotating normal maps.
    • Added light max id parameter to keep shader iterations in the WebGL2 variant as minimal as possible. Which further improves performance if you are not utilizing all 32 lights.

    These new features shift all parameter IDs by 2, meaning that existing projects need to be adjusted.

    New example project to showcase the new features is available for download.

    Rotating Example

  • NormalMap32

    Download from itch.io

    Download from construct.net

    Description

    NormalMap32 allows you to create and control up to 32 colored point lights that interact with a 2D normal map texture. The result is a simulated 3D lighting effect.

    What Is A Normal Map?

    Normal mapping is a texture mapping technique used for faking the lighting of bumps and dents – an implementation of bump mapping. Each normal map pixel represents the direction in which the sprite's pixel is facing.

    How Does It Work?

    You have to create OpenGL/WebGL compatible normal map sprites for each 2D sprite you want to apply the effect onto. This normal map sprite is used as a foreground effect that needs to be placed on top of the original 2D sprite background.

    You can create Normal Map sprites either automatically using Normal Map Generator software, or draw them by hand. The NormalMap32 effect needs to be applied to each normal map sprite you've imported into Construct 3. Light sources are then defined within the parameters of each normal map sprite effect.

    Please note that a light source object is not a requirement, but it's a convenient way to create dynamic lights within your game, as shown in the fully documented example project.

    Examples

    Performance Considerations

    Applying the effect to lots of individual normal map sprites can be costly. It is recommended to apply the effect to a single layer instead. Set Max Light ID to the lowest possible value for enhanced shader performance.

    Notice

    NormalMap32 evolved from the NormalMapExtended addon. Compared to NormalMapExtended, NormalMap32 offers more functionality and less complexity in an overall enhanced package.

    Features

    • Supports WebGL1, WebGL2 and WebGPU.
    • Up to 32 simultaneous RGB light sources per normal map.
    • Linear, quadratic or mixed light falloff.
    • Distance clamping for spot light effects.
    • Supports flipped and rotated normal maps.
    • Global ambient RGB light.

    Tagged:

  • Thanks for the swift fix!

    Although the links are correct now, there are no actual 4 pages, it shows always the same items.

  • The page navigation on the Profile -> Addons page of users is linking to the profile/tutorial section instead of profile/addons.

    Scroll to the bottom and try to navigate to Page 2-4

    construct.net/en/users/198994/skymen/addons

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads

    Lovely guide and update, was able to create a webgl2 variant including webgl1 fallback with ease.

    Thank you!

  • You do not have permission to view this post

Everade's avatar

Everade

Member since 24 Jun, 2014

Twitter
Everade has 11 followers

Connect with Everade

Trophy Case

  • 10-Year Club
  • Entrepreneur Sold something in the asset store
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • x4
    Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • RTFM Read the fabulous manual
  • x62
    Quick Draw First 5 people to up-vote a new Construct 3 release
  • x144
    Lightning Draw First person to up-vote a new Construct 3 release
  • x4
    Great Comment One of your comments gets 3 upvotes
  • Delicious Comment One of your comments gets 10 upvotes
  • Magnificent Comment One of your comments gets 25 upvotes
  • Email Verified

Progress

25/44
How to earn trophies