Skip to content
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

New extension: Better3DShadow #1133

Open
3 tasks done
jotanimado opened this issue Jan 4, 2024 · 2 comments
Open
3 tasks done

New extension: Better3DShadow #1133

jotanimado opened this issue Jan 4, 2024 · 2 comments
Labels
✨ New extension A new extension

Comments

@jotanimado
Copy link

jotanimado commented Jan 4, 2024

Description

Your GDevelop Needs some SHADOWS? No Problem!
In This Extension, You Can Make Good Shadows Underneath 3DBoxes and 3DModels, in 3d First Person
this Extension is still Work in Progress! More Updates Soon..

How to use the extension

In GD5:
Download this image:
https://i.ibb.co/vV9WyQM/output-onlinepngtools-1.png
name it: lighter.png then upload it into your project.

then download this other image:
https://i.ibb.co/SVvbMfT/output-onlinepngtools.png
name it: darker.png then upload it into your project.

get your model/block that you wanna make shadows, then, add a 3DBox and put it into your game.(don't need to put any textures or anything)then, add an action on the 3DBox/Model that you wanna make shadows called "Create a 3DModel/3D Box's Shadow", then there is going to be these things:

image

"Shadow Base": It is the 3DBox that you've added into the game and didn't put any textures in.

"Shadow X Offset Proportion": If you wanna change the X offset of the shadow. (default: 0)

"Ground Level" It's the ground that the player stands on, in Z+(normally 0)

"Shadow Y Offset Proportion": If you wanna change the Y offset of the shadow. (default: 0)

YES/NO: Say yes if you want your shadow to have 50% Opacity, say no if you want your shadow to have 25% Opacity.

then that's it! you have your own shadow!

(notice that the 3d model's shadows can be buggy, its on WIP!)

Checklist

  • I've followed all of the best practices.
  • I confirm that this extension can be integrated to this GitHub repository, distributed and MIT licensed.
  • I am aware that the extension may be updated by anyone, and do not need my explicit consent to do so.

What tier of review do you aim for your extension?

Community (Unreviewed)

Example file

example.zip

Extension file

Better3DShadow0.1.1.json.zip

@jotanimado jotanimado added the ✨ New extension A new extension label Jan 4, 2024
Copy link
Contributor

github-actions bot commented Jan 4, 2024

👋 Thanks for your submission! We are sorry, but the filename of the extension has unrecognized characters. Since filenames with weird character can cause all kinds of problems and security flaws, our system won't allow file names with other characters than normal latin upper- and lowercase characters or numbers. Additionally, the first character must be an uppercase character. Please update your original submission post with a new zip file containing your extension with another file name following those guidelines 🙏

1 similar comment
Copy link
Contributor

github-actions bot commented Jan 4, 2024

👋 Thanks for your submission! We are sorry, but the filename of the extension has unrecognized characters. Since filenames with weird character can cause all kinds of problems and security flaws, our system won't allow file names with other characters than normal latin upper- and lowercase characters or numbers. Additionally, the first character must be an uppercase character. Please update your original submission post with a new zip file containing your extension with another file name following those guidelines 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ New extension A new extension
Projects
None yet
Development

No branches or pull requests

1 participant