- Rounded block geo (built out of multiple pieces to maintain scaling)
- Tiling shader for pattern textures
- Shader animated grass and bullrush fringe for background
- Full background parallax
- My little bouncy mushroom!
Monday, 21 October 2024
Sticky Golf Visual Development!
Tuesday, 24 September 2024
Portfolio Update!
Sticky Golf: Ball Types and Surface Tags
Ball Types:
My plan to make Sticky Golf even more exciting is unlockable Ball Types! Each type looks, sounds, and behaves differently on each type of surface. The current Ball Type list is as follows:
- Sticky Ball - Default ball type
- Standard shot power
- Fail hitting Water
- Reduced shot power in Sand surfaces
- Affected by Wind
- Float Ball - A light-weight ball that floats on surfaces and follows the wind's flow
- Standard shot power
- Can land on Water surfaces
- Can land on top of Sand surfaces
- Heavily affected by Wind
- Heavy Ball - A heavy metal ball that doesn't shoot as far, but can break through walls and play underwater
- Reduced shot power
- Can sink into Water surfaces, allowing for additional exploration.
- Fail hitting Sand surfaces (sinks)
- Immune to Wind
- Can break through fragile surfaces
Sticky Ball - Water Hazard
This has saved on a lot of additional logic on a per-Ball Type basis. I just have to check against current Ball Type, current Audio Tag, and current Gameplay Tag.
Next Steps:
Now that everything is working, it's time to design how, when, and where players can select their current Ball Type.
I also made bounce pads and passthrough platforms!
Saturday, 20 July 2024
Dev Log: Title Screen and Logo Update
I've updated the Sticky Golf title screen with the following new stuff!
- A new logo!
- Animation updates!
- New background!
- Music!
- SFX!
- Flag shader movement!
- Clouds!
- Subtle bush animations!
Tuesday, 14 May 2024
Dev Log: Playable Levels
Now that the gameplay tuned and bug fixed, I can go ham on level creation. With my years of level design experience, I managed to knock out 9 simple, yet fun levels in no time flat. I even made a few pieces of set dressing to deliver the vibes.
Level 1-1: Simple entry point to controls |
Level 1-2: Slight obstacle, needing to deal with verticality |
Level 1-3: Increasing control challenge. First likely moment of wall sticking. |
Level 1-4: Development of verticality and wall sticking |
Level 1-5 - Little sticking playground with a bit of a challenge. Tests directional and launch power skills. |
Level 1-6: Introduction of the Spinner obstacle! |
Level 1-7: Development of the spinner, and tests control skills in a fun, twisty way. First left-hand side goal flag. |
1-8: Tougher, larger challenge level dealing with verticality, spinners, and testing control skills. |
1-9: Simple ending with a little twist. Tests control skills in a narrow environment. |
Monday, 13 May 2024
Dev Log: Gameplay Improvement Week
Last week was a busy week, focusing on gameplay improvements! A bunch of physics bugs were destroyed, and the gameplay and input overall feels way more responsive and clean.
Problems to Solve:
- Input isn't set up to be platform agnostic
- Input and ball jumps not able to be customized for input swipe lengths.
- The ball floats in place when sticking to a moving object.
- Bunch of weird physics bugs
The Solutions!
Now no matter the screen size or shape, players will have similar input results and swipe sizes.
2. Adjust Swipe input and ball trajectory calculations to be tunable
This one was fun. I wanted to be able to adjust the length a player needed to swipe to get a pre-set minimum and maximum power for ball launches. It took a bit of mathing, but managed something that works!
What I'm doing is:
- Clamping the initial input from 0,1 to prevent any values over 1 from being calculated (eg. a swipe greater than the screen height)
- Setting the clamped number to a maxLaunchInput variable if it is higher. This allows me to only require a tunable swipe length to reach max power.
- InverseLerping the new clamped number between 0 and the max input. Gives me a position between 0 and the max input to adjust the launch power between min and max.
- Lerping THAT between min and max launch power.
When I stick the ball to a surface, I'm freezing its position and velocities until acted on again. This causes the ball to float when it licks against moving objects like my new rotator gizmo.
I love the solution for this, because it's simple, dumb, and effective. I still freeze the physics/positions, but I also re-parent the ball to the moving object it collides with. Whatever animation is playing on the moving object, the ball will follow.
I just needed to make sure the Animate Physics flag was set on the animator, otherwise spooky stuff happened.
4. Stabilize physics on the ball
I occasionally encountered really weird physics bugs, like the object getting stuck in corners, clipping into geometry, and sometimes rolling away through the air. Sometimes this caused player input to lock and you'd have to restart. Booooo!
I investigated for a while, and found a very elegant solution that solved a ton of my physics problems.
On collision with an object, I added freeze position and rotation logic. On jump, I unfreeze. This little velocity freeze function has made gameplay so much smoother and predictable.
The result of all the hard work is a much smoother, more enjoyable to play experience!
Next up for gameplay improvements is to adjust my launch angle detection to ensure that players can't launch the ball horizontally and make it roll instead of jump.
Stay tuned!
Thursday, 2 May 2024
Dev Log: Level and UI Management
Now that the basic UI is set up, I've started working on level management. I had a tough choice to make with how I'm managing levels, but I think my decision is the optimal one.
DILEMMA: How do I set up my level management to be scalable long term?
- Option 1: Make each game level as an individual Scene.
- Pros:
- Simple and clean to load
- Easy to tune individual level layouts
- Cons:
- End up with MANY Scene files.
- Have to add the Scene files to the Build Settings or face a build break (scary!!!)
- Have to set up necessary prefabs and components for each Scene, like managers, ui, etc.
- Could be mitigated with a primary prefab that contains all of that anyway. Just seems like a hassle.
- Option 2: Set each level as a Prefab instance, and manage everything in a single Scene.
- Pros:
- Less build/Scene management
- Easier level loading/testing
- Easier course/level data setup and management
- Cons:
- A little trickier to debug/edit each level (need to do it in the prefab, or push overrides)
- I can mitigate this with some debug tools
- Possibility for some manager wonkiness between level loads.
I needed to do a bunch of updates to the Player Manager, and add necessary signal dispatches to make sure Levels and the Player Ball were spawning correctly based on the data. Then I ran through and made sure the UI was updating correctly. I also moved a bunch of small UI scripts into my main UI Manager for ease of use.
- Detail out level design metrics and tune gameplay
- Create level building blocks (with updated visuals)
- Build a suite of levels to test out!
Tuesday, 30 April 2024
Dev Log: UI Day!
Basic UI panel wireframing |
- Set up main Panel prefab parent
- Set up Button prefab parent
- Created temp button art and simple 9-sliced panel backgrounds
- Scripted Panel string updater so I don't have to hardcode anything.
- Will switch over to a string db at some point down the road. I've been wanting to learn how to do that.
- Set up Main Menu, Pause Menu, Gameplay UI prefabs (scalable to UI size)
- Clickblocker included for things like the Pause Menu.
- Set up Signal/Receivers for gameplay and pause menu.
- Stroke counter functional
- Pause menu functional (timescale set to freeze gameplay.
- Main Menu > Gameplay > Pause > Main Menu flow functional
Tuesday, 23 April 2024
Golfing with a twist
Sitting down, and building things. I've spent a lot of time over the past four years at various companies working on product development, design direction, documentation, tuning, balancing, and leadership skills... but not a lot of just building from scratch.
A Look Back - Halloween 2015
I was poking through some old photos the other day and came across my Halloween costume from 2015: Zant the Usurper King (Legend of Zelda: Twilight Princess). I had this project in mind for years prior, but somehow 2015 was the year.
Made with foam floor tiles, contact cement, paint, and a crazy amount of planning. The armor set came together over the course of 2 months (Sept/Oct). The full costume consisted of the following:
- Shoulder Armor (foam)
- Helmet (foam)
- Mouth Guard (removable, attached by magnets)
- Robe
- Pants (sewed them myself!
- Gold Dragon shoes