Onlyreon
Megan Fox from patreon

Megan Fox

patreon

Megan Fox posts

Posts: 230 Files: 185

Flick Detection (the code)

The broken version: https://pastebin.com/hMaiyjQ4The working detection: https://pastebin.com/1UPVxFUiThe final detection: https://pastebin.com/Pdfd8pNEWhy does that RAW part matter? Because... this is the input I was previously feeding into the system... I couldn't figure out why it kept hard-repeating a "down" input on the stick when turning left or right when stopped. SIGH. See the PushingInput? That's what I fed this off of before. SO YEAH RAW INPUT IS A GOOD IDEA YEP. https:/...

Flick Detection (and December update)

So, first comes the birb update:The papercraft toys from the Kickstarter were finished, shipped to backers, and can also now be directly purchased HERE. Most of the work this month went into two MAJOR events, though:We announced we were hitting Switch, and that just exploded. Folks seem excited. Yay! So that's all our launch platforms now, birb will be on Desktop, Xbox and Switch. The most important part was when Kekeflipnote did an animation. Well, that, and when SunhiLegend (the person who...

Go try the demo on Steam while it's up!

Hey folks! I'll do another post later, but please go try SkateBIRD on Steam while the Video Game Festival / Video Game Awards build is still up!I'll talk more about that later, but gist is, for 24 hours, you'll be able to play this demo! and it's a new level you likely haven't seen! So go try it!This is basically the $15+ backer build this month, but everyone can try it (for a short while anyways). Though $15+ people will probably recognize the level, I believe you've see...

We need to pick ANOTHER bird

Bird picking time. You know the drill. PICK THE BEST BIRB.Today, we're picking a parrot.Galah (so loud and happy)Pineapple Conure (so loyal and rude)Caique (so cheeky)Red Lored Amazon (so noble)

Input lag (code)

Alright, first here's the old report-type version (if you wanted that)- Here's how the interface itself looks (it's really simple)- Here's the relevant part of ControlBoard- Here's the bit where I call into that in ApplyMovement's FixedUpdateIt isn't fancy at all, but hey, maybe you aren't using Interfaces yet. You should be. They're GREAT for this kind of thing.

Input lag (and general update)

So, first, here's what birb has been doing:We got lilac breasted rollers in, and downy woodpeckers too, so that's cool. This month also saw the beginning of a new level, the office! It's pretty neat, has some killer lines, it's got a second side with a bowl that you have to ramp up and over to access. I'm of course decorating it in appropriate art, and it's generally looking pretty cool aside from that big dumb blue ramp I gotta replace with something more appropriate. We...

SkateBIRD spoopy surprise game

I've got a SkateBIRD goody for you. One last dose of spoopy before Santa hat time. I give you: SkateBIRD x JAZZ MICKLE's Pro Cap Wearer do a Spoopy Combo!It's free / pay-what-you-want, and all donations go directly to Jazz Mickle (the dev building our birb customization system). This is just a fun cross-over between our game and hers!If you've never seen them before, the Jazz Mickle Pro Cap Wearer series (there's two!) is a tongue-in-cheek send off of a... particular skating ...

An anti-tiling/Voronoi shader for Unity

Here's a Unity shader implementation of the Voronoi/anti-tiling stuff. This is based on the Legacy Bumped Diffuse shader, because I use it a ton, but you could just as easily apply it to any other shader. The meat of it is this part:So really all you do is copy-paste that into another shader (or an include) and use textureNoTile in place of tex2D anywhere you want the anti-tiling done.What I'm less certain on is if it's actually getting what you'd actually expect for normals, or ...

Megan Fox post Making a tiling texture look less ugly from patreon

Making a tiling texture look less ugly

There's a lot of ways of doing this, but I'm going to focus on Voronoi diagrams. Don't know the term? Well, you've probably seen one. Looks like this:What you're doing, roughly, is determining per pixel which random point it's closest to, and then blocking all of those into a single surface. Actually doing this in real-time is tricky (and expensive) though, so there's a bunch of approximations. One of those is to do what's called Delaunay triangulation, which corr...

Time to pick ANOTHER birb!

Ok, the winner of last poll was: Lilac Breasted Roller! That'll be in-progress once Alex recovers from EGX. SkateBIRD was in the Leftfield collection, and Alex ducked in to get a sense of how excited people were (in short: extremely), and I believe they're still pretty exhausted.BUT NOW WE GOTTA PICK THE NEXT ONE AFTER THAT GO GO GO GO.CaiqueGreen Cheek ConureRed Lored AmazonDowny Woodpecker

Spawn Pooling bonus code

These are just some of the many, many scripts I've built that I use a lot in spawning and despawning stuff. These should all be drop-in functional with PoolManager, unless they've changed their message names on the latest version or something.SpawnLocationMarker- Simple way of marking a location in-world you want to spawn to later, including a static function to find a location by name. Eventually you might want to cache the returned list, though you'd need a lot of location markers ...

Spawn Pooling (and cute art)

(this is the September post, not October, forgot to post this last night again)This is a combo topic! There's code at the top, and cute art at the bottom. Scroll as you feel is appropriate, heh.This topic comes up because I'm putting hats on birbs now. Also scarves. And glasses.Original thought was maybe that we'd instantiate these as we loaded each birb into scene, but when you're talking about having a ton of NPC mission givers in the scene, that's like 30 birbs? Each weari...

Megan Fox post We did a bonus pigeon (also we're onto clothing now) from patreon

We did a bonus pigeon (also we're onto clothing now)

We had time to fill after doing the Budgies that won last poll...but before the current poll finished (which had pigeons in it, but pigeons didn't win - Lilac Breasted Roller did woo!), soWe just did a pigeon because WHY NOT. https://twitter.com/skatebirb/status/1175110373805977600Also we're working on other clothing items now, and it's freaking adorable.Also this screenshot made me realize our birbs are basically fluffy potatoes. Which is fine. I love our fluffy potatoes.If you'...

We gotta pick another birb!

Ok, we gotta pick another birb, because Alex has already finished the kookaburra and the kakapo, and is rolling straight into the most recent poll winner - the Budgie!This time let's pick from...PigeonPied WagtailCaiqueLilac Breasted RollerI'll also do the code posts and blah blah later but first go go, pick a bird!

We need to pick another birb

So, y'all voted previously for Kakapo, Kookaburra, and Rosy Faced Lovebird, andWe've got two of the three done already! Here's the lovebird, and here's the Kakapo. Alex is working on the Kookaburra as we speak. So! Let's pick a new birb.I'm going to pick a random set of options from the remaining suggestions here, to focus the votes better. If you don't see your option here, don't worry, we didn't take it off the list! The winner is just the bird we do next. W...

Sky Rooms code

When I said it was simple, I meant SIMPLE. It really is just this: https://pastebin.com/q1dEbktPPut that on your main render camera, point that childRotation at your skybox camera, and TADA! SKYROOM! YAY!

Megan Fox post Sky Rooms from patreon

Sky Rooms

Sky rooms are a thing you probably know about if you've touched Source engine before, but otherwise? Probably not. Here's the gist:Sky rooms are using a second camera to clear the screen and draw from a special room in your map, and after it finishes drawing, you clear the zbuffer and draw on top of that. It's like rendering your skybox ever frame manually. You sync up the rotation of the camera sitting in your skybox with the rotation of your actual game camera, so that when you loo...

Animation mirroring for tricks (the code)

So here's the code for that animation mirroring post. Here's the easy to copy pastebin. Really, it's pretty basic:I just call this from the thing that starts the actual trick (the board movement) playing. You can think of animation parameters as optional things some tricks have, and all I do is set the parameters at the start of the trick, and clear any set animation parameters when it ends. Since it's all just strings, I can do a lot of extremely dumb string logic that would oth...

Animation mirroring for tricks (the dumb way)

(this is last month's a day late, I'll do another later this month, sorry!)So, this came up recently, because I'm working on grab tricks: https://twitter.com/skatebirb/status/1157001655595855872The way skateboard tricks work, if you're not aware, is that a board has a nose and a tail. It's hard to see on modern boards, just, trust me, it's there. The tail goes behind you, and the nose in front, and whether that means in front of your left foot or your right foot depends o...

Birb Gets A Hat!

So, I figure everyone saw, but we did a Kickstarter and it funded great, and if you're a numbers sort, I did a breakdown thread on how much we actually got, and how it'll spend, etc. But anyways, Patreon stuff! First,Birb Gets A HatWe're past 90 patrons! Holy geeze! Hi new people! So we're doing a Patron-exclusive hat. The way this work is, you'll get a secret code that unlocks the hat in-game. What you do with said code will be up to you. Make it public, or keep it secret, i...

Pick A Birb #5: Son Of Birb

And here's the last of the triple poll. CHOOSE WELL! Google if you don't recognize the name, but they all cute.

Pick A Birb #3: Birb Begins

By my count, I owe y'all THREE polls. Stuff got crazy in the E3/Kickstarter leadup, but here we are, and it's going great, thanks largely to you folks. So the least I can do is have you VOTE SOME BIRBS.I'm going to break all the suggested species into 3 parallel polls here, so that we start clearing more species off the list. (yes I had to repost this one, forgot to set the poll to one vote per person and it won't let me edit them, ARGH)I trust you folks to google pictures if you...

Pick A Birb #4: Birb's Revenge

Here's the second group of species for this month's 3-vote set. Like I said, please google if you don't know the species, but I promise they're super cute.

So hey, Kickstarter! But also other stuff!

So first - hey, Kickstarter! https://www.kickstarter.com/projects/meganfox/skatebird-be-a-skateboarding-bird... but you've probably already heard about it through other channels. That's intentional. I don't wanna give the impression I'm pumping y'all for money, cus you're already helping a TON. Even little things like RTs help, so I can share this, but I feel like you've already seen it too :D https://twitter.com/glassbottommeg/status/1138234554160803840I wanted to fi...

Finding Hidden Unity Objects (code bonus)

Ok, so you read the public post, and you see the link you gotta click, and the code you gotta copy-paste, and wow, that's just... too much work.I got u, dawg. See attached script. Just slap that into an Editor folder and you'll see "Hidden GameObject Tools" at the bottom of your Tools menu.But speaking of that... man... at the bottom of the Tools menu? Geeze that's a lot of scrolling down. How can we make it NOT at the bottom?This is a trick you mostly want when you go make s...

Finding Hidden Unity Objects

This one's important enough I'm leaving it public, because folks may not realize this (and it can hose a build).Unity has this nasty habit of leaving junk invisible objects in your scene. They get created mostly by asset store stuff you use, often as marker objects for in-editor stuff, and the objects they create are intended to never be saved with the scene. At all. Ever.But Unity sometimes does anyways. Also, because they're literally invisible, you won't know when it happens. ...

Advanced Throwup analysis

I figure I'll walk you through the Throwup code, to give you a leg up on extending it. Most of the meat you'll want to tweak is here:This is where I create the UI objects. It's done on-demand, the first time something invokes the singleton, pretty simple self-instantiating singleton pattern. The only fanciness here is I'm creating a GameObject and components from whole cloth. Which is easy, really, just not a thing Unity tutorials explain. They'd probably suggest a prefab for...

Megan Fox post Here, enjoy my Throwup (error logger) from patreon

Here, enjoy my Throwup (error logger)

This is another month where everyone get some code, because I feel like this is important and useful to everyone. Yay!This is my one-file, no setup required solution to debugging where you need to monitor some values runtime but don't want to make a custom UI or whatever. You can kinda-sorta use and abuse Debug.Log() for this, but you end up with a sea of text lines that can be almost impossible to parse. Hence, I made Throwup!1.) Put this file in your project pretty much anywhere.2.) When y...

Megan Fox post Birb is now a tiny raven from patreon

Birb is now a tiny raven

There ya go, first poll said a raven / crow, and - TADA! It a tiny, fluffy raven. Or crow. Depends how you squint. We're still adding some fluff to the beak to see if that works, but like, eyy! Tiny corvid!Also, the poll results are in, and the next birb type will be: Zebra finch!So yah, that's it for now. There will be another post later this month with the code n stuff. I'm gonna give you all my Throwup! (trust me it's a useful Unity debug system)

Pick The Next Bird 2: Electric Boogaloo

Ok y'all, Crow/corvid won. Which is GREAT, I love crows and magpies, but like... that was by far the easiest one to do and I sorta already was like halfway to doing it so OK PICK ANOTHER ONE :DHere's how your options this time look: Rainbow Lorrikeet,Kookaburra, Starling, Pied Wagtail, Red Headed Woodpecker, Pigeon, Zebra Finch, Oriental Dwarf Kingfisher, Pineapple Conure.(I'm leaving owls out because owls are a whole other thing, not just a reskin... even the kingfisher will look a ...

More Models