Making Simpler Channel Names

summary at bottom

Channels are unarguably superior to wires. The only problem is that people often avoid them due to their apparent complexity. I have a fix for that.

I see a LOT of games have absolutely terrible channel names, like heal10HPPlayer or make_all_the_trees_appear. These make it impossible to debug your code, since you forget everything 10 seconds after you make it. Here are my tips for good naming conventions, so you never have a problem with your game. After that, I’ll tell you my personal style.

Tip 1: Sort

A lot of high-level creators will give you the advice to consolidate everything into one large processing unit or area. This is generally a good idea, since it saves memory and time spent finding each device. Your channel names should represent that. If you’re making channels for some randomly-generated loot chests, have names like lootGenerate and lootTriggered.
On top of that, you can even have subsystems (say I have a game controller and then within that I have timing and a shrinking border):
game.end
game.border.shrink
game.begin

Tip 2: Be Concise

Your channel names should say exactly what they need to for someone new to the game to understand, because that might be you! You might go back and check on your game in a year, and not have a clue what’s going on, but your channels should be clear about that.
At the same time, you should not have a channel called game.startgamebydistributingplayers. That’s inefficient and useless when you could just have game.start. Worst case, you can just leave a guide with a text device saying what each channel does.

Tip 3: Be Consistent

No matter what convention you use, stick to it. Even if you have something like heal10HPPlayer, don’t make the opposite channel playerdamageHP10. That makes debugging wayyyy harder.

Each point, but shorter

Tip 1: Sort channels by function.
Tip 2: The channel should say what it needs to, and only that.
Tip 3: Each channel should follow the same rules.

My personal method

I sort each subsystem with a period, so like in tip 1:
game.end
game.border
game.begin
I place a text device next to the collection of all my devices explaining what each general channel subsystem is if it’s too complicated to figure out easily.
Usually, my channels are first sorted by scope: player/game/team; then by subsystem: cast/boundaries/boost; then by individual mechanism: spell1/close/damage.

Thanks for reading all the way. No need to comment nice guide, that’s what the like button is for. I hope this helps newer GKC users!

shdwy out

21 Likes

Awesome guide, @Shdwy! I love it! (maybe add the concept tag?)

I feel like you should add a section about scope because that’s really important in a channel’s function.

1 Like

nice guide about channels. also, did people actually say that channels are complex?

(but i shall always be on team wires)

Maybe explain that new thing about using commas in Channel slots to use several at once.

Great guide, though!!! :smile_cat:

1 Like

Really really great guide?!

Go team wires! I’m also on team notification instead of pop-up

1 Like

I just write like boof geef neef cog nog hoof just random words that i can organize quite quickly and maybe like cog 2

thats my system

What happens when you go back to your game in 1 year and you don’t know what any of those words mean?

4 Likes

Boy you dont know me XD and i connect the channels quite quickly and can look at what they are connected to and then remember

You must make some really basic games. Once you get to the point where you have enough devices to make something interesting, that’s NOT viable anymore.
My award-winning game took hundreds of devices and 50+ channels, there’s no way I could’ve made it with “boof geef neef cog nog hoof.”

Either that or this is just bait (“it was a joke”), which would be completely unsurprising

2 Likes

I get your point And That is true but i go Complicated sometimes and it still works but if I was to go very deep, yeh your correct

Caught in 4k XD
image

(joking)

This is really smart and has a lot of common GKC sense in it. How bad is it to use acronyms in the channel name, like EWGFtext?

2 Likes

If you know what EWGF is, then great! If you plan on others helping you make it, not so great.

you get the idea though @ClicClac

2 Likes

EWGF[1] is actually completely unrelated to what I was making. It’s just a meme in the smash community that happened to sound close to what the actual channel name should be.


  1. Electric Wind God Fist ↩︎

2 Likes

Channel supremacy!
My friend @TheCentaursHoof has a very interesting system of channel org using letter and number combinations, kinda like IDs…It’s quite interesting

3 Likes

bump this as it is VERY useful!
Also 17 likes in less than a week!? WHOAH


Great guide and people should use this!

me who still names channels things like burrito, wire channel thingy

2 Likes

I organized my channels too much and typed bump

Is it unethical to bump your own topic?

Nah.

3 Likes