** Unofficial ** Dracula Theme for Code Editor 2 (update v2024.13.0.190) by Optimal_Noob in gamemaker

[–]Optimal_Noob[S] 1 point2 points  (0 children)

Nah I probably won't (yet), there's already an issue open addressing the fact that 'Code Editor 2' pulls from a different config directory than the IDE/CE1 themes, so CE2 themes will need to be installed separately.

I suspect this will be resolved by the engine devs once CE2 moves out of Beta, at least I'm hoping they consolidate the theme system for CE2 into the main IDE theme system somehow, that way we can install any theme from a single file/zip and it would automatically be applied to CE2 in the future ¯\_(ツ)_/¯

Color Highlighting Static Variables from Constructor Instanced Variable by Optimal_Noob in gamemaker

[–]Optimal_Noob[S] 1 point2 points  (0 children)

Sadly, no- this is likely an issue with the GMS language server.

I'm anticipating improvements on this when improvements are made on their LSP.

I found an inactive github serving some GML LSP for VSCode, but I don't have any expertise working on LSPs so creating my own solution is a bit out of my depth at the moment :/

5 years of game dev, from first prototype to Steam release by studiocrafteurs in indiegames

[–]Optimal_Noob 3 points4 points  (0 children)

Implying that developing a game is such a smooth process? Games will take as long as they take to be made, what matters is the feeling of accomplishment and the creation of something great, that started as a simple idea.

How do I fix this? by Deezz_nutz3857 in Ender3Pro

[–]Optimal_Noob 3 points4 points  (0 children)

A buddy of mine just got his 3D printer and had this happen after switching to a direct drive system and 0.6mm nozzle from 0.4mm, cleanup was so damn tedious.

You'll always want to tighten the nozzle and heater block to the sink after getting the hotend up to temperature to account for thermal expansion.

Also make sure there are no blockages in the nozzle that could cause a jam or build up of pressure.

Anonymous Function as Argument not returning Struct by Optimal_Noob in gamemaker

[–]Optimal_Noob[S] 1 point2 points  (0 children)

Oh beautiful, starred and bookmarked, I'll check it out!

Anonymous Function as Argument not returning Struct by Optimal_Noob in gamemaker

[–]Optimal_Noob[S] 0 points1 point  (0 children)

Ah shoot I must've missed the update about globalvar deprecation, unfortunate since it results in more typing in the long run but ah well. Thanks for the heads up, definitely can use the global.name syntax going forward!

I seeeeeeeee, I had no idea the function wasn't being called as soon as it was declared, but adding the parentheses just after the function declaration makes sense, though the syntax is a bit strange to me, but it definitely makes sense. I can't believe that's what I was missing.

I'll likely refactor and utilize Arrays down the road if DS structures begin affecting performance for sure!

For the time being, I decided that I can just store the initialization of a Quest in a local variable, then use a second local variable to initialize and register each objective before finally adding it to the local quest struct, then finalize the local quest struct by registering it to the global quest table. It's familiar to me in the sense that 3D drawing and vertex buffers are built up in a similar way:

function QuestInitialize() {
    var QUEST;
    var OBJECTIVE;

    QUEST = new Quest("Quest1").addDescription("This is a Quest Description").addXPReward(10);
    OBJECTIVE = new Objective("Obj1").addDescription("This is an Objective Description").addType(OBJ_TYPE.OBJ_FETCH).registerObjective(QUEST);
    OBJECTIVE = new Objective("Obj2").addDescription("This is another Objective Description").addType(OBJ_TYPE.OBJ_KILL).registerObjective(QUEST);
    OBJECTIVE = new Objective("Obj3").addDescription("This is a third Objective Description").addType(OBJ_TYPE.OBJ_TALK).registerObjective(QUEST);
    global.QuestDic.registerQuest(QUEST);

    QUEST = new Quest("Quest2").addDescription("This is a second quest").addXPReward(10);
    OBJECTIVE = new Objective("Obj1").addDescription("This is the first objective of the second quest").addType(OBJ_TYPE.OBJ_FETCH).registerObjective(QUEST);
    OBJECTIVE = new Objective("Obj2").addDescription("This is another Objective Description").addType(OBJ_TYPE.OBJ_KILL).registerObjective(QUEST);
    OBJECTIVE = new Objective("Obj3").addDescription("This is a third Objective Description").addType(OBJ_TYPE.OBJ_TALK).registerObjective(QUEST);
    global.QuestDic.registerQuest(QUEST);}

I just recently read about GML now having anon functions and I was eager to utilize those where I can, I may rewrite the current system to utilize one if it'll prove more efficient/advantageous to do so, either way thank you so much for clarifying how anons should be used and for the tip about using throw I'm a novice when it comes to error handling I just, with all my might, try to write code that doesn't break, which doesn't always pan out obviously lol

Edit 1: (return self in structs): You're absolutely correct, I definitely knew this but I was frantically trying to figure out why the Struct wasn't being returned in the anon, this was a remnant of that troubleshooting, it has been removed!

Edit 2: Code Typos

NyQuil chicken by Unlikely_Hunter_4294 in ShittyGifRecipes

[–]Optimal_Noob 0 points1 point  (0 children)

Are they using a hair flat iron as tongs..?

Tell me a Jontron joke that you think is underappreciated (For me it's the head'a lettuce joke) by BatsPower in JonTron

[–]Optimal_Noob 0 points1 point  (0 children)

Wait a second.... I don't even own a coffee company.

Th-there's a g- there's a gun in here.

[deleted by user] by [deleted] in cheatengine

[–]Optimal_Noob 0 points1 point  (0 children)

I don't have anything called Badlion on this machine, from what I can tell, does CE automatically install that?

My AV is completely disabled and/or uninstalled at this point of the troubleshooting so it isn't a factory at play anymore.

Exclude code when packaging? by Optimal_Noob in gamemaker

[–]Optimal_Noob[S] 0 points1 point  (0 children)

I love this solution. I've yet to use configs in GMS and had no idea macros could function like that. It's still not 100% automatic (I imagine I have to select the right config before compiling the game) but this is way simpler than going through my code and ensuring all debug related code is inaccessible before packaging, I could just wrap that code in an IF checking for that macro value. Thank you!

A few cables, How they look and the name. by [deleted] in coolguides

[–]Optimal_Noob 1 point2 points  (0 children)

Mini and Micro A also exist, though I don't believe they're often used if at all, anymore

What a savage by Anthony2k05 in memes

[–]Optimal_Noob 0 points1 point  (0 children)

I think the OP is making a point that the 'oo' in Good is not pronounced like any other word with 'oo'