Search found 5 matches

by milo_goat
Mon Jan 15, 2024 5:06 pm
Forum: Support and Development
Topic: love.thread stopping when .newImageData is called?
Replies: 7
Views: 19630

love.thread stopping when .newImageData is called?

im working on trying to multithread my program to load textures in the background, I think that any .graphics function wont work from what ive seen online but im trying to use love.image.newImageData to get the texture then :push it to the main thread to be stored but the code stops after the newIma...
by milo_goat
Wed Dec 13, 2023 7:51 pm
Forum: Support and Development
Topic: blend mode (?) issue / canvas rendering problem
Replies: 1
Views: 9149

Re: blend mode (?) issue / canvas rendering problem

lol I just forgot to set blend mode back to alpha, fml
by milo_goat
Wed Dec 13, 2023 2:59 pm
Forum: Support and Development
Topic: blend mode (?) issue / canvas rendering problem
Replies: 1
Views: 9149

blend mode (?) issue / canvas rendering problem

a project im working on is extremely graphics involved so ive learned a lot about the love api, but just now ive encountered a problem I feel like shouldnt be a problem; I have a scene going to be on the window, made up of many small aspects, some polygons, some images, some canvases. but before it ...
by milo_goat
Fri Dec 08, 2023 3:17 pm
Forum: General
Topic: confusing polygon problem
Replies: 2
Views: 12670

confusing polygon problem

I'm working with a generated polygon but the way it is generated means the vertices are jumbled, I need an algorithm to either : rearrange the vertices to make it non-overlapping, or an algorithm to make the polygon convex (even if it means removing vertices that fall inside of the polygon. I have t...
by milo_goat
Sun Nov 12, 2023 4:02 pm
Forum: Support and Development
Topic: Canvas index start at 1 or 0?
Replies: 1
Views: 4371

Canvas index start at 1 or 0?

I'm making a level editor / file reading script, and to save on resources I'm going to pre-render the foreground to a canvas and draw that canvas every frame rather then drawing each tile individually, but I need to know if drawing an image at (0, 0) or (1, 1) is the exact top left pixel. I don't kn...