Debug.log("Merry Christmas")
Well,here is our second devlog !So exciting :D
During the last 2 weeks,Everhood underhood code has undergone a huge change.In fact, it's not the same code, all the logic of the game has been rewritten with a clean ,modular,editable and debuggable code.
What does this mean ? Well,it means that you can expect very very big things like :
- Stable game.NO BUGS
- Intuitive controls
- Powerful surprising gameplay elements
Some behaviours have been improved ,like the field of view of the player
The game saver has also been improved.
After all the code reimplemented,we will start to create new exiciting game content !
And that its all!Before finishing this mini update ,I would like to end with a unity C# tip for all the gamedev colleagues!
Everhood Unity C# tip :
During this awesome 2 weeks of refactoring ,I have learned how extension methods are a very handful way to create cleaner code.
What are extension methods?
Extension methods are a powerful way to create more cleaner,readable and efective code.They are used to extend a Unity classes like GameObject() class.
Lets see an example of an extension method used in Everhood :
This GameObject() extension is used to set the layer of a gameobject with an option to include the childrens.
As you can see,the class and the method are both static.
If you look at SetLayer parameters ,the first parameters is using "this GameObject" this is the key part to extend a class.
In sumuary ,to create a extension method , both class and methods have to be static and you'll have to use "this" in each extension methods.
After that ,You can call this method in every GameObjects!
Et voila !Soo fresh right?
Merry Christmas !
//Jordi
Official email: everhood.contact@gmail.com
Newsletter: https://mailchi.mp/061b366aac4d/everhood
Discord Channel: https://discord.gg/fwEed4F
Wishlist us here so you don't miss any news:
Get Everhood
Everhood
Status | Prototype |
Author | EverhoodDev |
Genre | Adventure, Rhythm, Role Playing |
Tags | 2D, Experimental, Music, Mystery, Pixel Art, Top Down Adventure, Undertale |
Languages | English |
More posts
- Everhood is OutMar 07, 2021
- EVERHOOD RELEASE DATE ANNOUCEMENTFeb 01, 2021
- The divine moments of creativityJan 27, 2021
- A look back into the dark timesJan 20, 2021
- Testing, fixing, testing and testingDec 30, 2020
- Hectic weeks and some thoughts!Dec 09, 2020
- Time to start wrapping up the game again!Nov 18, 2020
- Game engine version change and just polish, polish, polishOct 30, 2020
- Lot of work right now!Oct 09, 2020
- Yet another postSep 25, 2020
Leave a comment
Log in with itch.io to leave a comment.