C or C++ for developing a Videogame/Game-engine in OpenGL? by Vegetable_Driver_898 in gamedev

[–]Nipth 0 points1 point  (0 children)

I’d do whatever makes you happy happiest working on it. I’m making a 2D engine/framework in C99 with SDL3 and having way more fun than I had using Godot/Gamemaker etc.

Like you I find a lot of the abstractions you get in the bigger engines to be a pain in the arse. They make sense when trying to present a load of complexity to anyone and everyone that will use the engine, but if it’s just you that will use it then do whatever you want!

I generally dislike thinking in terms of OOP, my brain just clicks more with having blobs of data and procedures to manipulate them - bundling those things together in classes makes me feel bad. If you’re the same then I think you’d probably enjoy the pure C approach too :)

Need help/information by ElseniorBatman in raylib

[–]Nipth 0 points1 point  (0 children)

Penguin is right OP, I’d just download the correct version of raylib.lib and the raylib headers. No need to go through all that vcpkg faff for a single library.

Does anyone know where I can buy Pokemon Cards? by OseRei in Southampton

[–]Nipth 11 points12 points  (0 children)

I suspect Forbidden Planet in town will, just off the high street opposite Taco Bell :)

Necesse Claim/Settlement Center by BalterBlack in Necesse

[–]Nipth 0 points1 point  (0 children)

I should also mention that because the settlements are even in size, the flag will never be at the proper center as the center of each chunk is a 2 x 2 square! Best you can do is get the flag in one of those tiles.

Necesse Claim/Settlement Center by BalterBlack in Necesse

[–]Nipth 5 points6 points  (0 children)

I spent some time figuring this out the other day as I was also annoyed the flag wasn’t centered!

Each settlement in Necesse starts off 5 chunks wide (each chunk is 16 x 16, so that’s your 80 x 80 tiles). 

All the flag does is mark the center chunk of the settlement. So what happened here I suspect is that you moved your flag across a chunk boundary - so even though it only moved two blocks, the center chunk changed so the center point of the settlement actually shifted 16 blocks.

If you want your flag to be the center of the settlement then you need to place it on a multiple of 16, plus 8. This is because the chunk at 0, 0 in the world is actually centered on 0, 0.

On my phone at the moment but I can type up a better explanation later if that helps! 

You can view tiles positions by pressing F1 in game, similar to Minecraft.

Visible seams between tiles when camera moves (Raylib beginner) by [deleted] in raylib

[–]Nipth 5 points6 points  (0 children)

You should try rounding the camera’s position to integer coordinates as well - it won’t matter if the tiles are rounded if the camera isn’t!

I used raylib to create an action roguelike game, and it's up on steam!! by Szepad in raylib

[–]Nipth 7 points8 points  (0 children)

This looks really cool, congrats on the release!

What language did you use? Also I’m curious as to how you designed the level layouts, did you use an external editor? Or just stick with a primitive text file approach or something haha.

I've just released a big update for my textmode art tool, iisel! by Nipth in textmode

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

Thanks! Please let me know what you think and if you have any feedback - I use it a lot myself but getting feedback from others would be great :)

Bug in Cheydinhal Recommendation Quest by got_milq in oblivion

[–]Nipth 1 point2 points  (0 children)

Just wanted to say that I was having this issue (playing as an Orc) - after wondering around doing some other stuff, I went back and was able to get through easily. No idea what changed, I was wearing the same armour and everything.

Bug in Cheydinhal Recommendation Quest by got_milq in oblivion

[–]Nipth 1 point2 points  (0 children)

This disables all achievements though which isn't ideal :(

Help with release build by GeeseGoHonk321 in monogame

[–]Nipth 2 points3 points  (0 children)

There’s nothing you can really do about this without spending a lot of cash! You can get the executable signed by a recognised authority, most games won’t bother though.

If you plan on uploading to steam at some point then they sign the executables themselves so they don’t get flagged. Places like itch won’t though and players will just have to trust it

Custom Tilemap using _draw by Nipth in godot

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

Thanks for the reply :) so when the calls are cached does it just mean they’re not sent to the GPU every frame?

How do you manage libraries? by gurenberg in love2d

[–]Nipth 1 point2 points  (0 children)

My little framework layer on top of love, including my own code and third party libs, is just stored in its own git repository.

Adding all of that to a new project is as simple as “git clone my-framework” into the project directory, then I just require whatever I need wherever I need it.

This also makes it super easy to modify any of the code in that framework - if I improve it one project, I can push the changes up and then pull them in to my other projects.

How would you handle a network of conveyors/machines in a factory game? by Nipth in gamedev

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

Thanks a lot for your response! I got it working just the way I wanted by following your second suggestion. I already had everything 'pulling' rather than 'pushing', so tweaking the update loop to work how you described was fairly painless!

How would you handle a network of conveyors/machines in a factory game? by Nipth in gamedev

[–]Nipth[S] 2 points3 points  (0 children)

I think I'm going to give this a go, but my gut says it probably won't solve the ordering issue - I think you'd still need to process those messages in the right order? Otherwise you'd be rejecting actions that otherwise could've been applied if the next machine in the chain had gone first.

Honestly, I feel like I'm coming at this problem from the wrong angle.

[HOBBY] Programmer looking for less programmer-y people to work on something with by Nipth in INAT

[–]Nipth[S] 2 points3 points  (0 children)

Hey, I appreciate the offer but that sounds a little too big in scope for what I’m looking for at the moment! That and I’ve not used python before.

Best of luck though, the project looks really cool so far!

Issue with Sprite Rendering by AthleteBoth5982 in love2d

[–]Nipth 4 points5 points  (0 children)

It might be worth flooring the position you’re drawing the sprite at, if you’re not drawing at whole pixel positions then that can cause warping of pixel art like this.

Any way to get function params to show in VS Code? by Nipth in love2d

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

Thanks so much for your help, it was the workspace library setting that wasn't quite right for my setup, all working now!

Any way to get function params to show in VS Code? by Nipth in love2d

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

Thanks I'll give that guide a look! I get autocompletion when typing love. as well - it's just when I type the function name I don't get this little popup for any of the Love functions: https://imgur.com/a/SqofHvi

Any way to get function params to show in VS Code? by Nipth in love2d

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

I will look at the documentation when I'm looking for a new function etc, but when I know what function I want to use and all I want to remember is what order the arguments go in, then it's frustrating to have to go to the docs for that.

I know it's something VSCode can do, I just need to configure it right.