Search found 5 matches

by Arônimo
Tue Aug 01, 2023 10:29 pm
Forum: Libraries and Tools
Topic: LÖVE Web Builder, a tool to package, build and run LÖVE games for the web
Replies: 15
Views: 65705

Re: LÖVE Web Builder, a tool to package, build and run LÖVE games for the web

I tried building/running this project but i couldnt, it maybe has to do with folders and stuff, it cant find a file inside a folder (world.World)
by Arônimo
Fri Jul 21, 2023 4:49 pm
Forum: Support and Development
Topic: Isometric game: screen to world transformation
Replies: 5
Views: 2038

Re: Isometric game: screen to world transformation

Maybe check this engine's code for inspiration? https://github.com/Sulunia/isomap-love2d/blob/master/isomap.lua#L247C25-L247C25 Unfortunately i couldnt figure out anything from this code. I updated the screen transformation to the formula of Javidx9 in his isometric video: https://www.youtube.com/w...
by Arônimo
Thu Jul 20, 2023 4:25 pm
Forum: Support and Development
Topic: Isometric game: screen to world transformation
Replies: 5
Views: 2038

Isometric game: screen to world transformation

Im working on an isometric project, so far it has a lighting system similar to old minecraft and the basics of an isometric game. Thing is, id like to have my own level editor built in Love2D specifically for this project. With this, id need a way to get the mouse position, to do that i need a way t...
by Arônimo
Wed Jul 05, 2023 11:35 am
Forum: Support and Development
Topic: Help with normal mapping
Replies: 1
Views: 558

Re: Help with normal mapping

A z axis was missing for the normal calculations, i did just that: vec4 pixel = Texel(image, uv); vec3 normal = normalize(vec3(Texel(normal_map, uv).xy * 2.0 - 1.0, 1)); vec2 norm_screen = screen_coords / screen; vec3 diffuse = vec3(0); for(int i = 0; i < num_lights; i++) { Light light = lights[i]; ...
by Arônimo
Tue Jul 04, 2023 4:25 pm
Forum: Support and Development
Topic: Help with normal mapping
Replies: 1
Views: 558

Help with normal mapping

I looked through some code and examples posted in the forums about dinamyc lighting and normal mapping, although i could not replicate it myself. The only thing that makes the effect not work with me, is because the nearest the top of the screen the light is, it seems like the code thinks it is behi...