Tag: Dev

Softy Simness – Postmortem

About me Hi, my name is Roman and I am a gamedev enthusiast. I like to participate in game jams, try out all the new things, learn stuff and more. Currently, I am finishing up my master’s studies of IT

Tagged with: , , , , , ,

Few design patterns you should know about

Singleton – duh. Object pooling https://youtu.be/9-zDOJllPZ8 Service Locator https://msdn.microsoft.com/en-us/library/ff648968.aspx Publish–subscribe pattern https://www.romanluks.eu/nezarazene/great-explanation-of-events-and-delegates-in-c/ more patterns here http://gameprogrammingpatterns.com/ Do you have favorite patterns? Let me know in the comments 🙂

Tagged with: , ,

How to implement simple Publisher/Subscriber pattern in Unity C#

Here is publisher using System; … public event EventHandler RailsEnabled; void EnableRails() { if (RailsEnabled != null) RailsEnabled(this, EventArgs.Empty); } Here is subscriber void Start () { Launcher.RailsEnabled += OnRailsEnabled; } private void OnRailsEnabled(object sender, EventArgs e) { RailsEnabled =

Tagged with: , ,

Resizing Terrain in Unity3d

http://ryanmillerdev.tumblr.com/post/82799321279/resizing-terrain-in-unity3d

Tagged with: ,

I have figured it out!

Damn you, annalisa16. Go to hell.   This is a typical example of an old forum/Q&A post where the author figures it out without sharing HOW with the rest of us. How did you solve it, annalisa16? How?! … No response.

Tagged with: , ,

How to make your WordPress website faster – Part 1

There are various websites to analyze your website: https://gtmetrix.com/ https://developers.google.com/speed/pagespeed/insights/ https://website.grader.com/ https://tools.pingdom.com/ Last year I ran GTmetrix on my website and I got following It was not so bad. The green arrows in “Page Load Time” means that website is

Tagged with: , , ,

Testing SSL

Hold your horses.   So close.   Resources https://managewp.com/wordpress-ssl-settings-and-how-to-resolve-mixed-content-warnings https://css-tricks.com/moving-to-https-on-wordpress/ Testing the website https://www.whynopadlock.com/ https://www.ssllabs.com/ssltest/ WordPress plugins https://wordpress.org/plugins/really-simple-ssl/ https://wordpress.org/plugins/ssl-insecure-content-fixer/faq/

Tagged with: , ,

Oh, Java Java. No operator overloading?

During the time when I worked on my project GA Workbench in Java/LibGDX I have found a strange downside of the Java language. There is no operator overloading. So you can NOT add together two vectors like this: result =

Tagged with: , , ,

Method chaining is cool!

var jack = new Person().SetName(“Jack”)                                            .SetAge(30)                          

Tagged with: ,

Great explanation of Events and Delegates in C#

Tagged with: , ,
Top