Posts: 51
Threads: 12
Joined: Nov 2019
Reputation:
0
09-03-2023, 03:04 PM
(This post was last modified: 09-19-2023, 09:36 AM by RootBeerKing.
Edit Reason: removed link
)
Hello again, I've been struggling with getting collision detection to work correctly. I'm *almost* certain I got the math/code right, however it seems there is an issue with the offset of the map and tiles not being rendered where they should be? I've linked the project, if you could check it out and see what I'm doing wrong here it would be a great help as I've been stuck on this problem for days now and I just don't know what I'm doing wrong here:
*removed link*
Thank you very much.
Posts: 673
Threads: 33
Joined: Jan 1970
Reputation:
13
Hi,
I've tried to build the project to see how it runs, but I think mi install of mingw32 is quite old as it isn't compatible with the supplied dlls. I'll try to update it and chek it. I'm not familiar with the flecs library so it may take a while
Posts: 51
Threads: 12
Joined: Nov 2019
Reputation:
0
09-04-2023, 06:46 AM
(This post was last modified: 09-04-2023, 06:49 AM by RootBeerKing.)
Oh yeah, you'll need a newer mingw, I believe I'm using msys64. flecs is an ECS library, it's pretty straight forward if you're at all familiar with ECS. Thanks for checking it out for me. I'm so confused as to what I could be doing wrong. Hopefully you can see something I'm missing.
Posts: 51
Threads: 12
Joined: Nov 2019
Reputation:
0
Hey Marc, Did you get a chance to download the link from the previous post?
Posts: 673
Threads: 33
Joined: Jan 1970
Reputation:
13
Hi,
I've finally managed to build and debug the sample using VS2022 Community. Now I can check what it does and where's the problem.
Regards,