You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wrote several code examples that show how to implement several design patterns using Gravity, such as:
Singleton Design Pattern
Strategy Design Pattern
Observer Design Pattern
State Design Pattern
I figured that these examples may help someone in the Gravity community, especially game devs/game engine devs. Unfortunately, I don't know anything about compilers and can't really contribute back by fixing bugs. However, I figured that writing code examples may be helpful to the community.
I'm attaching all the Design Patterns I wrote using Gravity. Please, do go over them since I may have made some mistakes. I'm not a Gravity expert yet, so I'm sure I did some mistakes. However, I did test the examples and they all worked. (I basically ported these design patterns from C++ to Gravity)
P.S.
If you decide to show them on Gravity Page or any place where you feel they should be shown, I recommend showing the design patterns in the order shown below. They are ordered from easiest to implement to more complex:
Hi @marcobambini
I wrote several code examples that show how to implement several design patterns using Gravity, such as:
I figured that these examples may help someone in the Gravity community, especially game devs/game engine devs. Unfortunately, I don't know anything about compilers and can't really contribute back by fixing bugs. However, I figured that writing code examples may be helpful to the community.
I'm attaching all the Design Patterns I wrote using Gravity. Please, do go over them since I may have made some mistakes. I'm not a Gravity expert yet, so I'm sure I did some mistakes. However, I did test the examples and they all worked. (I basically ported these design patterns from C++ to Gravity)
P.S.
If you decide to show them on Gravity Page or any place where you feel they should be shown, I recommend showing the design patterns in the order shown below. They are ordered from easiest to implement to more complex:
DesignPatternsExamples.zip
The text was updated successfully, but these errors were encountered: