Staredit Network > Forums > Technology & Computers > Topic: Code to solve bounds
Code to solve bounds
May 1 2017, 4:35 pm
By: Apos  

May 22 2017, 5:48 am Apos Post #21

I order you to forgive yourself!

I rewrote my code using OpenCL. What I have right now is very badly written and not optimized at all yet it's running leagues faster.

Edit: While using the GPU runs really fast, I feel like this way of solving bounds is still too slow. I'm currently working on a different way to solve this problem. For my game there could be levels that take more than 12 seconds to beat. That would be really expensive to solve. Also while the current solution is pixel perfect, the new thing I have in mind will be real space perfect, and it should be relatively instant to compute a solution.

Post has been edited 1 time(s), last time on May 24 2017, 5:07 pm by Apos.




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[04:05 am]
O)FaRTy1billion[MM] -- the setting exists, it's just hidden in a weird place
[04:04 am]
O)FaRTy1billion[MM] -- instead change "Microtile Overlay" to "Impassable"
[04:04 am]
O)FaRTy1billion[MM] -- er, wait, idk why i was looking for height
[04:03 am]
O)FaRTy1billion[MM] -- below the minimap should be a thing that says "Overlay Settings" with a little + button in the corner, press the + to expand it, uncheck Use Defaults, then change "Tile Overlay" to "Height"
[03:57 am]
Sylph-Of-Space -- Unless I'm dum (possible)
[03:57 am]
Sylph-Of-Space -- It would be so so so nice if SCMDraft had some kind of dedicated "walkability" view for the tilesets.
[03:53 am]
Sylph-Of-Space -- :'( dont cry for me cat-gentina
[09:18 pm]
Ultraviolet -- 🔪🐈
[2024-5-19. : 12:34 pm]
NudeRaider -- curiosity kills the cat!
[2024-5-19. : 6:18 am]
Sylph-Of-Space -- No complaints here, i'm just curious!
Please log in to shout.


Members Online: Excalibur, Dem0n