Kevin Giang - Technical Designer, Programmer
  • Projects
    • Justice League - Battle for Metropolis
    • Plants vs Zombies: 3Z Arena
    • Benno's Great Race
    • Lightmare
    • Bored Space Cops
    • Project Nova
    • OcuBlocks
    • CandyMakers
    • Cubedly
    • Unfolding Tale
    • Ancient Forest & Grumpy Monsters
    • Analog Games >
      • Treasure Hunting
      • Treasure Hunting: Kraken
      • Treasure Hunting: One for Self, All for Self
      • Treasure Hunting: Houdini
      • Shadow Peacekeepers
  • Who I Am

Scene Loading Issues

4/27/2018

0 Comments

 
I recently had an issue with scene loading through scripts and found out that it was related to the usage of strings and plain text settings files:

Scene 'Scene_Game' couldn't be loaded because it has not been added to the build settings or the AssetBundle has not been loaded.
To add a scene to the build settings use the menu File->Build Settings...

Picture
As you can see from above, 'Scene_Game' is registered in the editor. So what was the deal? There is a plain text file located in [ProjectRoot]\ProjectSettings\ called 'EditorBuildSettings.asset' that may need to be updated with the modified scene file name.

This error occurred for me because I renamed the scene file within the assets browser in engine, and it failed to also update the file in the file system.
0 Comments

TowerSectionComponent.GetPreviousTowerSection().GetPreviousTowerSection().GetPreviousTowerSection().ClearSectionTemplate();

4/17/2018

0 Comments

 
I tried to take a short cut and it quickly backfired.

What I should be doing is use a dynamic array so I can just do
TowerSectionComponent.GetSectionFromOffset(-1)
TowerSectionComponent.GetSectionFromOffset(-3)
TowerSectionComponent.GetSectionFromOffset(5)
and so on.
0 Comments

Scaling in Parts

4/11/2018

0 Comments

 
I recently ran into an issue with 3D mesh alignment through scaling where I needed the edges to match up at any scale. Here is the mesh:
Picture
It's a basic trapezoid, but with a ramp at the top. The goal is to have these side-by-side going up in a spiral, but here's the problem when they are scaled up in measured units:
Picture
The edges of the ramps do not align because the ramp itself was also getting scaled. The fix that I used for this is splitting the mesh into 2 parts: a uniform base, and the ramp itself that will never have its up-axis scaled, and will only sit on top of the base:
Picture
0 Comments

Traveling and Opportunities

4/2/2018

0 Comments

 
I have been busy travelling and helping a family business along the west coast. We went from Wonder Con to Sakura Con, and currently on our way back south to Silicon Valley.

During my travels I was able to get more inspiration and ideas of how to theme my game in a much more marketable manner from observing our guests.

This will probably be the last major change I will be doing to my game design because of a major opportunity I can use with the theming.
0 Comments

    Archives

    May 2018
    April 2018
    March 2018
    August 2015
    July 2015
    June 2015

    Categories

    All

    RSS Feed

Powered by Create your own unique website with customizable templates.