Search found 102 matches

by MaxGamz
Tue May 21, 2024 2:41 pm
Forum: Support and Development
Topic: Struggling with jumping function in platformer
Replies: 2
Views: 179

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: 179

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: 4053

(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: 3972

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: 803

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...
by MaxGamz
Wed Feb 14, 2024 1:42 am
Forum: Support and Development
Topic: Question about casting rays (bump.lua)
Replies: 4
Views: 803

Re: Question about casting rays (bump.lua)

Depends on how you want your laser to behave. If you want your laser to move, and it will be an axis-aligned bounding box, then you can just create a thin rectangle that either moves on the x or y axis. The only problem may be handling how to handle collisions, or the laser "shrinking" af...
by MaxGamz
Mon Feb 12, 2024 10:48 am
Forum: Support and Development
Topic: Question about casting rays (bump.lua)
Replies: 4
Views: 803

Question about casting rays (bump.lua)

I’m trying to make a raycastor. I understand the concepts but I want to try to make mines a different way. For one, I’d like my rays to use collision, so I’m using bump.lua for my project. However, I’m having trouble drawing or creating rays long enough to hit the collidable walls. I tried searching...
by MaxGamz
Fri Jan 19, 2024 6:07 pm
Forum: General
Topic: Should I publish my game on itch as a prototype and work on it later?
Replies: 4
Views: 1088

Re: Should I publish my game on itch as a prototype and work on it later?

my main goal is to publish my game on a game jam to get more eyes on it, but I didn’t think of trying it out on here first. Maybe I’ll just wait for future jams and publish my game later on while I’m still working on it. I don't think most game jams will allow that - most jams require the game to b...
by MaxGamz
Fri Jan 19, 2024 3:20 pm
Forum: General
Topic: Should I publish my game on itch as a prototype and work on it later?
Replies: 4
Views: 1088

Re: Should I publish my game on itch as a prototype and work on it later?

I am also a student with minimal real experience so take this with a grain of salt, however I have also thought about this a good deal so I'll share my two cents. In short - there's no real answer. I guess the real question you should ask yourself is why and where you want to publish - here are som...
by MaxGamz
Fri Jan 19, 2024 12:12 pm
Forum: General
Topic: Should I publish my game on itch as a prototype and work on it later?
Replies: 4
Views: 1088

Should I publish my game on itch as a prototype and work on it later?

For some context, I’m a student, and it’s kind of difficult for me to find time working on my projects. I always wanted to publish my work on game jams however a lot of my ideas take a long time for me to finish. What I made is playable but it’s no where near a game. Should I work on it more than pu...