Bear Evansblog.thebear.dev·Apr 14, 2024Global Variables in Unity with Scriptable ObjectsIn game development, you often find that you need to access a certain variable or object from many different places. Things like the score, the player's health, a user-configured setting, and more are frequently needed by many different components th...Discussunity
Bear Evansblog.thebear.dev·Apr 7, 2024How-To: Event Systems in UnityAt some point, you've likely encountered a situation where you needed to trigger functions or change variables in response to a change elsewhere in your code. For example, you may want to: Play sad music and display a game-over screen when the playe...Discuss·68 readsunity
Simon Espigoléblog.blockost.com·Mar 28, 2024Preventing clicks from going through UI elements in UnityUI systems in Unity Unity has three different packages for building user interfaces (UI): Unity UI (a.k.a. uGUI), IMGUI and UI Toolkit and all of them are used for different things: IMGUI focuses on building small in-game debugging displays or for e...Discuss·29 readsGame developmentunity
Erioifpuderio.hashnode.dev·Mar 27, 2024Unity 跳跃学习笔记在 Unity 中实现跳跃的方式有多种,我整理了三种可行的方式,在这里分享一下。 Transform 关键代码为: public float jumpHeight = 2f; transform.position = new Vector3(transform.position.x, transform.position.y + jumpHeight, 0); 也就是直接修改物体的位置,说实话,单这一行根本算不上是跳跃,应该是瞬移。 所以要实现 y 坐标的渐进变化,应该用缓动函数来计算位置,线...Discussunity
Erioifpuderio.hashnode.dev·Mar 27, 2024Unity 学习中遇到的问题问题:斜坡 tile 是 16x16 的,Tilemap Collider 把每一个像素都算进了碰撞箱,让斜坡变成了“阶梯”,怎么处理? 解答:可以用 Composite Collider 来合并碰撞体: 在 Tilemap Collider 中勾选 “Used By Composite”,表示允许用作合并 在 Composite Collider 中调整 "Geometry Type” 和 "Vertex Distance” 来控制合并后的碰撞体的形状和平滑度 Geometry Type...Discuss学习笔记
Mollymollymcconnectedgames.hashnode.dev·Mar 26, 2024Latest Rift of the Realms UpdatesHi everyone, It’s been a very busy few weeks since my last blog post and I am excited to share the latest updates and enhancements we’ve made to our game “Rift of the Realms”. First of all, I want to give a shoutout to Lakshya Tyagi for his incredibl...Discuss·1 likeC#
Nicolas Vincentretrostylegames.hashnode.dev·Mar 12, 2024How I Create Candy Crush stylized game in UnityI've always loved playing Match-3 games like Candy Crush. They're simple, fun, and very addictive. This inspired me to make my own Match-3 game in Unity. I also wanted to help beginners learn how to make their own games too. Making games with Unity t...Discussmatch 3
Lakshya Tyagigamesblog.hashnode.dev·Feb 26, 2024The game has a name!We're now calling the game REALM RIFT. We came to this conclusion after suggesting multiple names on Miro and voting on them. Plan for Delivery We utilized Miro to create a table that contains the topic we plan to cover and the people assigned to th...DiscussProgramming Blogs
vnsh kumarblog.vnshkumar.com·Feb 19, 2024Harnessing the Power of Unity's Line RendererUnity's Line Renderer component provides a flexible and efficient way to visualize lines within your 3D environments. From simple connectors to intricate particle trails or stylized lasers, the Line Renderer opens up a wide range of creative possibil...Discuss·20 likes·61 readsline renderer
Lakshya Tyagigamesblog.hashnode.dev·Feb 11, 2024Progress on the Untitled Multiplayer GameThe game is aging like a fine wine, we have made a lot of progress over the last two weeks. We have got the player movement right. The player can now- Walk Run Look at different directions Apart from the movement, we were able to implement realm...DiscussProgramming Blogs