Author: reikaxubia
-
EC2 WordPress Behind CloudFront Part 2
In the last post about my WordPress server configurations, I had the static pages working, but I couldn’t get dynamic pages working, and I had to use the EC2 public domain directly instead of the one configured in Route53 to use the dynamic pages. The main issue was that the CSS for the admin wouldn’t…
-
Object Churning
I’ve been seeing OutOfMemory errors that crash my app for a while now. I haven’t really been able to consistently reproduce these errors, but I can see them negatively affecting my stats in the store. After copy-pasting my code to AI, it identified an issue called object churning. It’s when an object is allocated a…
-
Streamlining the User Experience
I recently launch my game and started paying a bit for ads on the Google Play Store and the Apple App Store. This has resulted in some new users trying out my game. The majority of users download the game but never create a user. I am not so concerned about the dropoff between app…
-
Code to Community
Creating an open source repo is very simple to do. There’s only a few configurations here and there to when setting up your github repo. I’ve found some challenges in creating a real release where someone could just put your library as a dependency in their build.gradle file. Here was my process of getting my…
-
EC2 WordPress Behind CloudFront
Running your own WordPress server with all sorts of shiny Plugins you can install seemed cool and fun to explore. Unfortunately running your WordPress server with WooCommerce behind a Load Balancer turned out to be more costly than expected. WooCommerce itself requires t2.large instance of EC2, which costs over $60 per month. I’ve tried using…
-
Stuck in the Wall
Here’s a weird bug that took about a month to crack. Sometimes when playing multiplayer, a party member, host or not, would get stuck in the wall, unable to move, but only visually for other party members. The player was moving around just fine on their screen. What was going on? Checking the network calls,…
-
WordPress Page Cache
When this WordPress website was just some text and images, I ignored the warnings of there not being a cache for static pages. I talked about moving images to an S3 bucket which mitigated the slowness that I was experiencing. However, once I added the WooCommerce plugin to add a merch shop for this weksite,…
-
Multiplayer Development Challenges
When a single player project goes to multiplayer, a bunch of assertions that could be made before cannot be made anymore such as: To go from single player to multiplayer, members of the party relinquish their right to move the enemies, and allows the server or host to determine the enemy movements. We are also…
-
Floor Serialization Issue
In engineering, sometimes you run into an issue and it’s actually disguised as another issue. That’s what happened to me when I tried to send the floor definition from the host to the members of the party. Part of implementing multiplayer is that the host sends the floor definition to all the members so that…
-
WordPress Server Space
This website, reikaxubia.com, had been crashing every week or two since I launched it, and I was baffle as to why. Every time it crashed, I would just restart the server, and it would come back up again. I had followed the same steps to host WordPress servers in the past and had never ran…