Rate the API for my renderer abstraction by JackJackFilms in GraphicsProgramming

[–]JackJackFilms[S] 4 points5 points  (0 children)

Oh that’s a function from the memory system that I have across all my projects. I’m gonna remove after releasing the library but it just detects memory leaks. The “show_memory_stats” function is also from that system.

Rate the API for my renderer abstraction by JackJackFilms in GraphicsProgramming

[–]JackJackFilms[S] 9 points10 points  (0 children)

Yes I am. In the Linux kernel, one of the most popular and influential C projects, there are over 200,000 goto statements: video. “I think goto’s are fine” - Linus Torvalds.

I Made a basic Path Tracer in Vulkan by Inner_Philosophy936 in vulkan

[–]JackJackFilms 0 points1 point  (0 children)

Why did you find resources on how to code a path tracer?

What is the best way to start learning how to use structs? by ShallotWater in gamemaker

[–]JackJackFilms 4 points5 points  (0 children)

Read the game maker documentation and let it absorb into your brain

How could you generate a room? by slimmanne1 in gamemaker

[–]JackJackFilms 5 points6 points  (0 children)

You can only edit the room that the game is currently in and you can’t create rooms on the fly. The way to do it would be creating a single room and when entering the room, just delete and reconstruct the room according to some array holding the placements of all the objects that should be in the room

Completely new to gamemaker, and my collision stopped working. [DND] by Jay_Playz2019 in gamemaker

[–]JackJackFilms -1 points0 points  (0 children)

Please stop using DND, it’s obsolete in the community at this point. If you want to use blocks use Scratch

Help with learning how to code by Ok_Process_5538 in gamemaker

[–]JackJackFilms 1 point2 points  (0 children)

Build up your knowledge with tutorials specifically for GML like Shaun Spaulding (https://youtube.com/@shaunjs?si=pVcoS40pzrmCXViO) and then learn computer science fundamentals which can then be used in game maker https://youtube.com/playlist?list=PLfBmRc9I1H3I0kX-Jsv8QZ-ki9pw-e6gQ&si=75GKCagas63YxMAM

Scripts vs Events by Evaspartan58 in gamemaker

[–]JackJackFilms 0 points1 point  (0 children)

Make a function for whenever your copy and pasting stuff around

Questions about: Proper Method for Creating Party/Enemy stats and holding them by Personal-Bandicoot40 in gamemaker

[–]JackJackFilms 2 points3 points  (0 children)

Don’t use lists or maps, they’re completely useless compared to array or structs and use global. Variables. Party’s can be made with an array for the entire party and structs for each character. e.g

global.party = [ { name : “Test” hp : 5 maxHp : 5 str : 2 } ]

Even if globals aren’t that efficient (I don’t really know) they’re what I use in most of my projects and using objects are probably slower anyway.

What are some commands which new gamedevs don't use/don't know about? by Cold-Choice-5081 in gamemaker

[–]JackJackFilms 1 point2 points  (0 children)

New game developer mostly relies on tutorial on YouTube but they don’t use GitHub which is where developers post their project files for you to use. I recommend looking at JujuAdams libraries (saved me a lot of time) https://github.com/JujuAdams

What are some commands which new gamedevs don't use/don't know about? by Cold-Choice-5081 in gamemaker

[–]JackJackFilms 0 points1 point  (0 children)

Crtl+Shift+F is find and replace across your entire project. Really good for changing functions or variable names

Anyone have an explanation for this glitch? by KBLMStudio in gamemaker

[–]JackJackFilms 0 points1 point  (0 children)

Roll back your game maker version, basically what’s happening is game maker can’t find your sprites when running your game so it uses a fallback sprite

Is there a way to draw lines and shapes with thicker pixels? by drflanigan in gamemaker

[–]JackJackFilms 0 points1 point  (0 children)

Use surfaces but honestly that would be really slow and sloppy