Project Icon

godot_experiments

Godot引擎多维度游戏开发实验集

这是一个包含多个Godot游戏引擎实验的开源项目,涵盖2D、3D和VR领域。项目展示了物理模拟、程序动画、着色器效果等游戏机制的实现。开发者可以通过这些实例学习Godot引擎的功能,探索其在游戏开发中的应用可能。所有实验代码均可查看和修改,为Godot学习者提供了实用的参考资源。

Godot experiments

⚠️ Important: All the new experiments starting from march 2023 will target Godot 4.0. If you want to checkout 3.x project, head to the 3.x branch.

Some of my 2D/3D/VR/UI experiments in Godot. You can find some of my tutorials and experiments on my YouTube channel.

If you want shader specific experiments, head to my Shaders experiments repo

🦺 Projects & descriptions

IconTypeTittleDescriptionStatus
2Ddamped_oscillatorusing damped oscillators to move and rotate thingsDONE ✔
2Djuicy_bouncy_ballmaking a simple bouncing ball JUICYDONE ✔
2Dpolygon_toolHow to use Polygon2D, CollisionPolygon2D, Line2D and Path2D to create obstacles, levels and moreDONE ✔
Godot 3.x projects
IconTypeTittleDescriptionStatus
2D7 tips 2D lookshowing 7 tips to make better 2D visualsDONE ✔
2Daccelerometer_gamepad_gamesimple game with websocket server to be controlled by a smartphone's accelerometer. See MISC/accelerometer_gamepadDONE ✔
2Dandroid_accelerometertrying to use the accelerometer to set the gravityDONE ✔
2Dconnected_dotsdots moving around making connectionsDONE ✔
2Ddestructible_terrainsimple worms like destructible terrain using the Geometry classDONE ✔
2Dflag_shader2D & 3D simple flag shaderDONE ✔
2Dgeometry_classshowcase of what the geomtry class can offer in 2DDONE ✔
2Dloading_shadersimple loading shader effects, from black and white to rgbDONE ✔
2Dmobile_uitrying the Godot's UI node on mobileDONE ✔
2Dquick_prototypea small scene with a script to allow quick prototyping. You draw a shape with the line2D, and it automatically add a physics body and a background to your shape.DONE ✔
2Drewind_mechanictime rewind mechanic for all objects, 2D & 3DDONE ✔
2Dscratch_shaderscratch effect done with by drawing on a viewport and using the texture in a shaderDONE ✔
2Dtrajectory_linetrajectory line using maths & a Line2D. Supports collisions!DONE ✔
3Dandroid_maze_accelerometercontrol a maze's orientation with the phone's acceleromterDONE ✔
3Darea_gravitya simple test using the gravity of an areaDONE ✔
3Dballoon_deployrecreating just cause balloon deploy mechanic with physicsDONE ✔
3Dcamera_wallwall hiding to reveal player to the cameraDONE ✔
3Dcara test with godot vehicle body physics and trial-like terrainDONE ✔
3Dcontrol_remedymechanic re-creation from control remedy: grabbing and throwing object through telekinesisDONE ✔
3Dfish_tank_shaderleaky fish tank shader. You shoot somewhere and the water level drops until it reaches the holeDONE ✔
3Dgreenscreen_cameraa greenscreen effect to a camera. The camera only sees an object, allowing you to put something in the background, like an image.DONE ✔
3Dhoverboarda physics based hoverboard, inspired by Codeer.DONE ✔
3Dinverted_penduluma test with bullet's physics. An inverted pendulm with an inertia wheelDONE ✔
3Dmirrorstwo ways of faking mirrorsDONE ✔
3Dplaneplane controllerWIP 🛠
3Dprocedural_animationprodecural animation of a spider-like (or robot) model, with inverse kinematicsWIP 🛠
3Drobotic_armcomputer vision + IK test with a robotic pick and place armWIP 🛠
3Dspectrum_analyzersimple spectrum analyzer moving 3d objectsDONE ✔
3Dtvdisplaying a video or frames on a crt tvDONE ✔
3Dvalheim_tree_choprecreating the Valheim tree chop mechanicDONE ✔
3DwheelBota robot rolling on one wheelDONE ✔
3Dxray_visionstting up materials to simulate an Xray/see through effectDONE ✔
VRquest_playgrounda project testing various things in VR for the Oculus Quest: handtracking, handtrackings physicsWIP 🛠
VRtable_tennistrying to use Godot's physic to recreate a table tennis gameWIP 🛠
VRbow_and_arrowbow and arrow mechanicWIP 🛠
VRcontrol_like_interactiontrying to recreate CONTROL like movement, and messing with area's gravityDONE ✔
MISCaccelerometer_gamepaduse the phone's accelerometer and websockets to control a game. See 2D/accelerometer_gamepad_gameDONE ✔
MISCaccessibilitya few examples of relatively easy things to make your game more accessible. See: https://youtu.be/YVGL3IifhLcDONE ✔
MISCaudio_visualizerrepresent the audio magnitude against time both left and right channel. Drawn as the song playsDONE ✔
MISCcamera_transitionsmoothly transition between two cameras. Works both for 2D & 3DDONE ✔
MISCcard_gametest using cards to make a UIDONE ✔
MISCinstagram_uirecreating some of Instagram's UIDONE ✔
MISCeverything_particlesturn anything into particles using viewportsDONE ✔
MISCrandomall kinds of usage of randomDONE ✔
MISCslow_down_timetwo ways of slowing down timeDONE ✔
MISCtinder_uirecreating some of Tinder's UIDONE ✔

📹 Videos & GIFs

Accelerometer android maze 3D

Accelerometer android 2D

Inverted_pendulum

Area_gravity

Camera_walls

Audio_visualizer

Car

Greenscreen_camera

Balloon_deploy

Control_remedy

Loading_shader

Connected_dots

Destructible

Geometry class

Rewind mechanic

X-Ray Shader

UI card test

👍 Useful

  • [3D/android_maze_acceloremeter]:

    • GLES2 was buggy for me, some texture were not shown
    • Bullet physics has a bug when you change the gravity vector at runtime -> use Godot physics instead
  • [3D/robotic_arm]:

    • GLES2 doesn't work correctly with IK, part of the mesh is not moved
    • Bullet physics' constant velocity for static body doesn't work -> use Godot physics instead
    • The IK target must be high in the tree than the SkeletonIK node, otherwise Godot freaks out

Icon background color: #022C4D

http://www.mazegenerator.net/

💁‍♂️ About me

Software engineer & gamedev. 3D, 2D & VR.

If you enjoyed this project and want to support me:

Get exlusive content and access to my game's source code

Patreon link

One time donations

Buy Me a Coffee at ko-fi.com

📔 LICENSE & Credits

This project is distributed under the MIT license, which it's free to use, modify and redistribute, for both personal and commercial projects. For more information see LICENSE.md.

  • 2D/accelerometer_gamepad_game! (spaceships) Kenney
  • 2D/android_accelerometer: (texture + balls) Kenney
  • 3D/android_accelerometer: (Ball + flag)
项目侧边栏1项目侧边栏2
推荐项目
Project Cover

豆包MarsCode

豆包 MarsCode 是一款革命性的编程助手,通过AI技术提供代码补全、单测生成、代码解释和智能问答等功能,支持100+编程语言,与主流编辑器无缝集成,显著提升开发效率和代码质量。

Project Cover

AI写歌

Suno AI是一个革命性的AI音乐创作平台,能在短短30秒内帮助用户创作出一首完整的歌曲。无论是寻找创作灵感还是需要快速制作音乐,Suno AI都是音乐爱好者和专业人士的理想选择。

Project Cover

有言AI

有言平台提供一站式AIGC视频创作解决方案,通过智能技术简化视频制作流程。无论是企业宣传还是个人分享,有言都能帮助用户快速、轻松地制作出专业级别的视频内容。

Project Cover

Kimi

Kimi AI助手提供多语言对话支持,能够阅读和理解用户上传的文件内容,解析网页信息,并结合搜索结果为用户提供详尽的答案。无论是日常咨询还是专业问题,Kimi都能以友好、专业的方式提供帮助。

Project Cover

阿里绘蛙

绘蛙是阿里巴巴集团推出的革命性AI电商营销平台。利用尖端人工智能技术,为商家提供一键生成商品图和营销文案的服务,显著提升内容创作效率和营销效果。适用于淘宝、天猫等电商平台,让商品第一时间被种草。

Project Cover

吐司

探索Tensor.Art平台的独特AI模型,免费访问各种图像生成与AI训练工具,从Stable Diffusion等基础模型开始,轻松实现创新图像生成。体验前沿的AI技术,推动个人和企业的创新发展。

Project Cover

SubCat字幕猫

SubCat字幕猫APP是一款创新的视频播放器,它将改变您观看视频的方式!SubCat结合了先进的人工智能技术,为您提供即时视频字幕翻译,无论是本地视频还是网络流媒体,让您轻松享受各种语言的内容。

Project Cover

美间AI

美间AI创意设计平台,利用前沿AI技术,为设计师和营销人员提供一站式设计解决方案。从智能海报到3D效果图,再到文案生成,美间让创意设计更简单、更高效。

Project Cover

AIWritePaper论文写作

AIWritePaper论文写作是一站式AI论文写作辅助工具,简化了选题、文献检索至论文撰写的整个过程。通过简单设定,平台可快速生成高质量论文大纲和全文,配合图表、参考文献等一应俱全,同时提供开题报告和答辩PPT等增值服务,保障数据安全,有效提升写作效率和论文质量。

投诉举报邮箱: service@vectorlightyear.com
@2024 懂AI·鲁ICP备2024100362号-6·鲁公网安备37021002001498号