-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[examples] List of examples not working properly on Web platform #4682
Comments
Deferred render, Julia set and Texture tiling failed to compile the shader. Hybrid Rendering failed to compile the rasterizing shader. |
@treblig-punisher thanks for reporting, custom frame control requires a special raylib build (
|
I see that |
@satchelfrost I think supporting GL_POINTS implies some redesign, global variables and code complexity increment. Am I right? |
You hit the nail on the head 😅. I was thinking add a Boolean to the RLGL structure that gets toggled with rlEnablePointMode. If the added complexity is not wanted, then I completely understand rolling back the changes on point rendering. |
The window flags example on browser is broken when making the window resizable and going into fullscreen mode. The cursor positions will then no longer match the coordinates and when returning from full screen, the canvas has a strange size. https://www.raylib.com/examples/core/loader.html?name=core_window_flags I looked this up because I wanted to get full screen mode working for my web games and so far, I haven't succeeded. I found some more hardcoded canvas references that I would like to fix as well, but it seems there is more work to do. Maybe this topic deserves its own issue? |
one down 😜 |
This project seems to have a working solution : https://github.com/danielchasehooper/ShapeUp-public/ https://github.com/danielchasehooper/ShapeUp-public/blob/994ef04d0bf9043f5ef9422c02c6c16b93d80fd7/src/main.c#L1277C1-L1296C11 |
This issue is intended to get feedback for examples not working properly. Please, answer to this issue with the examples not working properly and the unexpected behaviour detected. Thanks!
core_loading_tread
pthreads.h
library, not officially available on some compilers (MSVC). This example should probably be redesigned or removed or moved to raylib-extras repo (and using an external multiplatform library likethread.h
)core_window_letterbox
core_top_down_lights
F1
shortcut conflicts with browsertextures_blend_modes
textures_draw_tiled
models_bone_socket
models_point_rendering
models_yaw_pitch_roll
models_skybox
shaders_raymarching
shaders_texture_tiling
shaders_julia_set
shaders_mesh_instancing
shaders_spotlight
shaders_hybrid_render
shaders_deferred_render
shaders_vertex_displacement
Issue with shaders loading seems it could be related to not properly reading line-breaks and considering them as 2 bytes instead of just one and then something is mangled, really weird issue, it requires investigation...
Also detected some issues with the inputs related to the web requirement of clicking over the canvas to "enable" input access... that behaviour should probably be reviewed but it's a web-design-related.
The text was updated successfully, but these errors were encountered: