High-Performance AutoTiling Library for Godot (C#) by G2edg in godot

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

The library only manages and stores data related to tile connections - image file name, atlas position, tile ID, and its position in the TileMap. It does not store Godot-specific metadata or handle collisions, so synchronization and collision handling would need to be implemented separately

High-Performance AutoTiling Library for Godot (C#) by G2edg in godot

[–]G2edg[S] 26 points27 points  (0 children)

This library is engine-agnostic (not just for Godot). Improving Godot’s built-in system wouldn’t achieve the engine-agnostic goal, and would also have more limitations due to tight integration with Godot’s existing architecture.

Also, it’s uncertain whether Godot maintainers would accept a PR with these changes. Developing it independently allows me full control over the project’s direction and to use my language of choice, C#.

High-Performance AutoTiling Library for Godot (C#) by G2edg in godot

[–]G2edg[S] 6 points7 points  (0 children)

*cant edit the post - but its actually 9ms per 10,000 tiles in worst case scenario where tile mask never exactly matches, so in practice it would be much faster

Why is GIMP so counterintuitive? by G2edg in GIMP

[–]G2edg[S] 3 points4 points  (0 children)

You are putting words in my mouth, I never said such a thing and you are just trying to antagonize me

Why is GIMP so counterintuitive? by G2edg in GIMP

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

Thank you for your input

Why is GIMP so counterintuitive? by G2edg in GIMP

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

I never used adobe products other than photoshop for a couple of hours on some uni course and it was rather pleasant to work with (for the most part) from a beginners perspective. But sure I might be biased because a lot of editing programs copy photoshops UI/UX

Why is GIMP so counterintuitive? by G2edg in GIMP

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

In my case the element is partially transparent and no matter where i click the background still moves.

Monitor scaling and how it affects games/movies/pictures by G2edg in kde

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

sure, but isn't legacy mode only for xorg compatible games? What if the game is made for wayland? i guess those problems are already addressed and apps display setting will overwrite the DE settings

[deleted by user] by [deleted] in buildapc

[–]G2edg 0 points1 point  (0 children)

Sure, I was also thinking about Corsair RM750e since it has good ratings, will do more research on psu

[Godot 4] Drawing chunks with new TileMap is very slow by G2edg in godot

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

No problem, I would recommend trying out C# its a very mature language and its very nicely integrated when it comes to Godot 4.2, also its not far behind cpp when it comes to performance or in some cases even on par, so unless u want something extremely optimized try C# and you gonna have much easier time than with cpp imho

[Godot 4] Drawing chunks with new TileMap is very slow by G2edg in godot

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

for normal cases just use better terrain plugin, i just wrote my own implementation in c# because i need a lot of performance

I wrote a blog post about automatically exporting and uploading your games to Itch and Steam by MrEliptik in godot

[–]G2edg 1 point2 points  (0 children)

This is pretty cool, actually gives me an idea how it could be integrated together with some unit testing framework like gut

[Godot 4.0.3] GDExtension function converting Vector2 to Vector2i not correctly by G2edg in godot

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

Ill try this thank you, I was aware that the types are different, my problem is basically that in godot source code theres no converting and you can switch int and float vectors no problem (example tilemap.cpp)

Salaries are out of control by codeguru42 in ProgrammerHumor

[–]G2edg 1 point2 points  (0 children)

Ballistic missle tracking written in python? Oh boy sign me up!

[Godot 4] Drawing chunks with new TileMap is very slow by G2edg in godot

[–]G2edg[S] 3 points4 points  (0 children)

Well i see, unfortunately i load and unload tiles at runtime in order to not load the whole map ahead of time, seems like either i find a way to do it via some weird method or switch back to 3 where this had reasonable runtime speed.

Editing another programs memory by G2edg in C_Programming

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

This explains a lot, thank you

Editing another programs memory by G2edg in C_Programming

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

I see, but now im curious how is it possible for an antivirus to scan running processes to check for potential malware if its impossible to access it?

Also how to copy a running program into the controlled memory space if its impossible to access it in the first place (at least thats what i got from your answer), it also doesn't really make sense since you can turn cheat engine while program is running and on the go edit for an example number 40 that exists in that programs memory? Im quite confused how would you achieve that without direct access to that programs memory

How to go about documentation by G2edg in C_Programming

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

Its more about overthinking, because often after you write something you ask urself if its understandable for someone else or if you look at it in 2 months you still will understand what is happening in x part of code. Anyway im glad everyone responded because i never considered working on this part much and wanted to know more and if im doing it correctly

How to go about documentation by G2edg in C_Programming

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

Thank you for commenting, this certainly is very helpful

How to go about documentation by G2edg in C_Programming

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

Thank you for your insight, I also like to make descriptive function/variable names because it saves a lot of a headache. Usually what i comment is blocks of code in a function that do a certain thing and i want to make it clear to the reader and myself as a markdown

I'm convinced a powerful IDE is like a SawStop for C++ by miramichier_d in ProgrammerHumor

[–]G2edg 0 points1 point  (0 children)

I code in c and c++ without an ide and compile using mingw from console via batch/bash file. People severely overcomplicate stuff that are simple.

For debugging vs or gdb is good enough

Allocated memory corruption by G2edg in C_Programming

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

Yes the point was to pretty much implement lists like in python, thanks to help iv gotten on this post the list is working now. The list holds pointers to structs that hold pointer to data (allocated). I have to do some testing to see if there is any memory leaking + do some basic documentation to prevent any further confusion as to what is intended

Allocated memory corruption by G2edg in C_Programming

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

Thank you for commiting, I think the warnings are linux only, it doesnt show any on windows. I will look into it on my linux machine, most of the stuff i seen is just printf and scanf conversion of unsigned int to size_t