GDevelopApp / GDevelop-extensions

Repository of behaviors, actions, conditions and expressions to be used in GDevelop for creating games
https://gdevelop.io
MIT License
127 stars 50 forks source link

New extension: Better3DShadow #1133

Open jotanimado opened 8 months ago

jotanimado commented 8 months ago

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

What tier of review do you aim for your extension?

Community (Unreviewed)

Example file

example.zip

Extension file

Better3DShadow0.1.1.json.zip

github-actions[bot] commented 8 months ago

👋 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 🙏

github-actions[bot] commented 8 months ago

👋 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 🙏