Search found 107 matches

by MaxGamz
Thu Dec 19, 2024 2:31 pm
Forum: Support and Development
Topic: Issues with 3D graphics and Artifacting in love2d
Replies: 4
Views: 749

Re: Issues with 3D graphics and Artifacting in love2d

I wasn't able to see any artifacts that looked like sparks but when i set the line mode to rough it sometimes looked like line segments were extending too far. I changed the code to make three calls to love.graphics.line and this didn't produce the problem. There may be some quirks with the polygon...
by MaxGamz
Thu Dec 19, 2024 1:51 am
Forum: Support and Development
Topic: Issues with 3D graphics and Artifacting in love2d
Replies: 4
Views: 749

Re: Issues with 3D graphics and Artifacting in love2d

This is the main problem. Look closely, you're not squaring the z component correctly. l = math.sqrt(normal.x * normal.x + normal.y * normal.y + normal.x * normal.z) But you're also calculating the cross product slightly wrong, though you've compensated by negating the incorrect value so it actuall...
by MaxGamz
Wed Dec 18, 2024 11:31 pm
Forum: Support and Development
Topic: Issues with 3D graphics and Artifacting in love2d
Replies: 4
Views: 749

Issues with 3D graphics and Artifacting in love2d

I am currently working on building a 3d engine using love as a frame work. Currently I am following this tutorial series here by javidx9: https://www.youtube.com/watch?v=ih20l3pJoeU https://www.youtube.com/watch?v=XgMWc6LumG4&t=967s the second link includes the timestamp where I started experien...
by MaxGamz
Tue Jun 04, 2024 9:28 pm
Forum: Games and Creations
Topic: TETRIS CLONE I MADE
Replies: 3
Views: 2882

Re: TETRIS CLONE I MADE

Congrats, now it is just a matter of making the rest of the game. :crazy: -A way to start a new game -Menu -Highscore list -Make it use more of the screen -Levels (increase speed over time) Sometimes these things take as much time as creating the actual gameplay. But they make the difference betwee...
by MaxGamz
Mon May 27, 2024 8:45 pm
Forum: Games and Creations
Topic: TETRIS CLONE I MADE
Replies: 3
Views: 2882

TETRIS CLONE I MADE

Here is a very simplistic Tetris clone I made using all the basic elements of Tetris. I am glad I have a working game running and I hope you guys like it. But I warn you, it isn't the most interesting thing in the world, but I am proud of it!
Tetris.love
(4.24 KiB) Downloaded 343 times
by MaxGamz
Tue May 21, 2024 2:41 pm
Forum: Support and Development
Topic: Struggling with jumping function in platformer
Replies: 2
Views: 2165

Re: Struggling with jumping function in platformer

function love.keypressed(key, scancode) if scancode == "w" then local obsts = {wall, wall2} if isGrounded(player, obsts) then print("Eagle has landed") player.yVel = -5 end end end You have this code in love.keypressed(key, scancode) so collision is only checked when the "w...
by MaxGamz
Sat May 18, 2024 1:40 am
Forum: Support and Development
Topic: Struggling with jumping function in platformer
Replies: 2
Views: 2165

Struggling with jumping function in platformer

I decided to try to make my own platformer without using any libraries. I'm doing this project so that I won't be too dependent on libraries to get the work done and I want to genuinely improve my coding skills. One problem I am facing is with jumping and checking in the character is grounded. The t...
by MaxGamz
Sat Feb 17, 2024 11:16 am
Forum: Support and Development
Topic: (SOLVED) Raycasting fisheye issue (multiplying by cos(a) doesn't work)
Replies: 0
Views: 5982

(SOLVED) Raycasting fisheye issue (multiplying by cos(a) doesn't work)

So I have been working on a raycaster and so far it is going really well. I was able to adjust it to my liking and I am satisfied with how it looks. When I came across the fisheye problem I already knew how to solve it, I simply multiply the distance by the cosin of the ray angle in respect to the p...
by MaxGamz
Fri Feb 16, 2024 12:09 am
Forum: Support and Development
Topic: Ray casting with bump.lua issues
Replies: 0
Views: 5606

Ray casting with bump.lua issues

I'm trying to make a raycaster using bump for physics, however, while collisions are being detected, I have trouble with getting my ray to shrink as the player gets closer to a wall. The ray gets smaller, but also increases in size at certain areas and I'm not sure what's causing this. I felt like b...
by MaxGamz
Wed Feb 14, 2024 1:21 pm
Forum: Support and Development
Topic: Question about casting rays (bump.lua)
Replies: 4
Views: 1401

Re: Question about casting rays (bump.lua)

Again, depends on how you want the lasers to work. As in, are they fixed lasers that are always enabled (like a level hazard with fixed positioning), or are they a type where they become longer over time, until they hit a wall or an object (eg. a laser turret that goes on and off on a timer or a bu...