Daily Dev Log. Social Media Optimizing, Debugging Jumping

17 Jan 2017

Planned Task List

  • Answer a couple of Hyperfocal (my bread ‘n butter biz) emails. ~30 mins
  • Do a little Facebook ad research ~15 mins
  • Write an intro email to an Aussie games journalist ~10 mins
  • Build EXO ONE and check it actually works (was testing in-editor) ~10 mins
  • Take deep breath and try to fix the jumping problem for the 10th time. Jumping was never an issue until I rewrote some code to make things clearer/better. Surprise I made it a little worse at the same time! This could take all day, but I might admit defeat at the 2-3 hour mark (because Rezzed Left Field games event deadline) and move on to other tasks like yesterdays:
  • When reaching the end transport monolith, some tidying up needed for sounds etc.
  • Add escape/Start menu so players can restart the game
  • Numerous small things like HUD appearing when it shouldn’t, old text that makes no sense in intro, etc.

Realtime Notes:

Stuff that comes up as I go:

Facebook Ads Research

My Facebook ads research: https://www.quicksprout.com/2017/01/16/15-advanced-facebook-advertising-techniques-that-you-probably-didnt-know-about/

Social Media Post Timing
I always thought posting social media at 9am was the optimum time. Just saw this, though, which is kinda arguing against that. This is for facebook, but possibly applies to other social media:

image10

Pages to Watch
See how often other developers post on Facebook and their level of engagement using “Pages to Watch”. Pages > Insights > scroll down. Requires 100 followers. Ugh, I have 70 something. Going to just buy 30 so I can mess with this.

Video is huge on Facebook
I’ve definitely noticed this last year, and need to start uploading videos there instead of just posting links to Youtube.

image09

I thought those 3 were the best points, but check out the article yourself.

Email

Contacted a local journalist (something I do way too infrequently) to see if he was keen to check out the game. I always ‘feel the fear’ of contacting people, mostly because it involves putting yourself and your game out there to be potentially ignored. But that is life or something! In the email was the ‘elevator pitch’:

“EXO ONE is an exo-planetary exploration game where you float, fly, roll and glide with complete freedom across a multitude of surreal, alien worlds.”

Thoughts?

Testing Build

Building and checking that it works first of all… Here’s some notes I took:

  • Quotes ” ” in tutorial are all over the place, just gonna remove
  • Debug warning text shouldn’t be showing in tutorial, but is. Prob related to recent addition of Energy Explanation stuff
  • Wormhole fx don’t show in tutorial
  • Jump bug almost seems to be happening more than usual :/
  • No wind buffeting sound in clouds, probably due to tweaking sound levels yesterday.

The sound and music levels are a little off still, but I sense a huge time-sink ahead if I start moving sliders. Slider moving is truly my bane. Maybe if I have time I’ll return to this. Now, jump buuuug!

Took 20 mins.

Jump Bug

Kicking this off at 1130am with some Hyper Light Drifter music by DisasterPeace :)

Playing in-editor to watch when jump count debugs fire off, to try and get an idea what causes one jump to work and not another. It feels like an issue with FixedUpdate, but the way I handle the jump controls, it should only fire for one frame. Removed a line of hacky looking code and tested again, seems to be working. But I’ve thought I’d fixed it before! Will carry on testing it as I do other things. Took 10 mins.

Related to jumping, the visual effect for jumping in glide mode is broken, so working on that now.

Glider to Jump Transformation

Only I could make something as simple as a ball transforming into a flattened ball so hard! Really keen to get a programmer’s eyes on this to get their opinion on my logic/methodology. A friend of mine has offered, so I’m really looking forward to seeing what he thinks.

I think my logic skills are just so bad that I have trouble visualising how to handle all the cases of ball transformation, from sphere to glider, to jumping sphere, jumping glider and back… Typically when I’m stuck like this I just kinda start trying thingz and seeing what the result is. Probably hence how slow I am!

I just adjusted script execution order to hopefully clean up conflicting timings… I think this is probably a bad solution, but surprisingly that fixed it! The reason I tried this, was that in my code ‘tidy up’ prior to holidays, I split the player code out into 3 scripts, and now a few things happen “at the same time(?)” in Update(), whoops. In the future, if doing this, I probably need to do less bools and more calling of functions in the separate scripts, instead of in Update(), using bools to trigger when stuff happens. If that makes any sense…?

30 mins

End of Planet/Level Tidying

Mostly I need to just properly end the ‘demo’ if it’s shown at Rezzed. When you reach the transport monolith and fire into the sky, some sounds go stupid and I need to stop that. I’ll also bring up text with ‘demo over’ and then a menu with Restart Game and Restart Level. Come to think of it, since I should add this for testers and for the Rezzed build in general, in case something breaks, maybe I should make a ‘proper’ little menu screen with these two options that’s available at any time using Start/Esc. Unsure how long this might take, should just need to call my level changing code and make the menu/options/on/off etc… I’m going to wildly guess 1 hour. 12:17pm

So far so good, have a menu in my ManagerScene I can turn on and off with Esc/Start button, displaying the two buttons, but can’t seem to make a click happen. Hopefully there isn’t some dumb code blocking rays somehow…

Ah, nice, found this: https://forum.unity3d.com/threads/cant-click-ui-buttons.431042/ which explained how to use the EventSystem to check what rays are hitting. Nailed this in 2 seconds and restart level is working with a couple nul refs, which don’t seem to be hurting anything too much…!

Kinda happy with how my LoadEXOScene(string levelname) works, as I was able to easily reuse it for the menu level loading/reloading. Added something so Esc can’t be hit in the start menu (level can’t be restart from the start of the game!), and testing now in a build.

A few things,

  • No mouse appearing on esc/menu in build, due to 3rd person camera plugin hiding it
  • There’s an errant escape Input somewhere that’s still quitting when I hit esc/start.
  • Narration continues while paused (leave this for now, doesn’t matter)
  • Need an Exit button for testers/in case the game bugs out and people wanna completely close and restart the game.
  • Need an Exit menu item on start screen + actual game exit code
  • Realised I need a better RestartLevel() because there’s 2 levels (I was cheating and just loading the first planet).

Time: 1:25pm, looks like I might need another half an hour, so might take twice as long as my hail mary guess.

Having a break, now that I’ve completed a few of the above. 1:50

Break O’Clock

Back at 230 with sweet caffeination after dropping in at William Chyr’s Manifold Garden stream.

Finalising Menus/Exiting

Just realised since my Start Screen scene is separate from my Manager Scene, I can’t just drop in my GameManager script to OnClick to Quit, which is annoying. I guess I should maybe move all of this into the Manager scene, but not right now! Added some duplicate Application.Quit code :P

Things taking slightly longer here as I’m trying to test Editor/Build specific stuff like Quit and mouse pointer lockstates, which for some reason seems different in editor vs build.

I’m getting very tempted to move PlayerControls into the Manager Scene, as I now need to ‘re-write’ some more stuff to handle hitting escape when the player isn’t in a scene, ugh. Will need refactoring though… Must… not… do…! OK, no quitting allowed during the intro for now! Boom!

This is turning into an even larger task, lots of stuff I didn’t realise I’d need. Here’s the remaining tasks for restart/reset:

  • After restart level and restart game,
  • Menu remains
  • Game stays paused
  • Other UI remains.
  • Need to probably eventually make a state for this?
  • For some reason mouse pointer doesn’t appear when hitting esc in tutorial scene but does in first planet.
  • While testing in tutorial, noticed some more broken text/prompt stuff, eep!

3pm now. Might take another hour for this, if I was to double what I actually think it’ll take!

Added Resume() which is called after level restart, and a resume button, so those things now work. On to Restart now.

Wrote a new Restart() function similar to my LoadEXOScene() one. Task now blown out to most of the day :/ 4PM

Getting close now, fixed all the above and Restart() is working with only one problem, music continues after restart.

Boom, done!

Check out this amazing menu (lol):

Capture

Certainly good enough to go, IMO!

Lightning

I was having issues with getting lightning visually depicting how much charge a player had, which led me to email the plugin developer for this procedural lightning. I’ve got a response so I’m going to try his tweaks to see what they’re like, so I can respond before end-of-day. I kinda try and prioritize stuff like this when most developers are in a different time zone, I don’t wanna wait too long between emails. Committing first, though! 430PM

Broke to make food… Now 530. About an hour then I’m done.

Updated lightning plugin as the author’s changes didn’t work, suspect this is the reason. Still getting errors, so emailed the author back and moving on.

Other Tasks

In order of importance that I can complete in 45 mins or so:

  • Tidying sound etc for level ending
  • Wormhole FX in tutorial isn’t turning on
  • Wind buffeting sound in clouds is gone for some reason
  • Player starting position is crap, we start rolling backward toward the camera. Starting on a hill would be best.

For now I’m just muting sound when you touch the monolith and fading to black, completed in 5-10 mins. Buttons don’t look great on black though… And the pointer is invisible… Fixed, 5 more mins…

Ugh, now for some reason my Restart code isn’t working! Perhaps because it’s about 40C in my office right now! Ok phew, it was just because I changed the file/folder names for some scene files…! My rage levels have risen the temp even farther now and it’s dinner time.

DEV COMPLETE. 6PM.

This is working out fairly well. Either I’m getting more done, or am more focused or I just remember now what I’ve done, either way quite liking this! I wonder how boring and incomprehensible it is to read, though? :)

 

 

1 Comment

  1. Nice. I tend to be up at oddball hours, so updates from devs on stuff they work on roll in seemingly randomly. Pay not too much attention to timing, I say. If the work you do is good, it’s worth attention when your updates arrive.

Comments are closed.

© 2024 Exbleative

Theme by Anders NorenUp ↑