Search found 100 matches

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

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

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

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

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

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

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

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

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...
by MaxGamz
Sat Jan 06, 2024 12:54 pm
Forum: Support and Development
Topic: How could I make light transitions smoothe?
Replies: 3
Views: 65317

Re: How could I make light transitions smoothe?

I want the atmosphere to darken the higher the rocket in my game rises. I didn't want to hard code in the values so I decided to use modulo do increment or decrement the color of the sky based on the vertical distance travelled. I found that it does work but not as smoothly as I predicted since the...
by MaxGamz
Fri Jan 05, 2024 6:58 pm
Forum: Support and Development
Topic: How could I make light transitions smoothe?
Replies: 3
Views: 65317

How could I make light transitions smoothe?

I want the atmosphere to darken the higher the rocket in my game rises. I didn't want to hard code in the values so I decided to use modulo do increment or decrement the color of the sky based on the vertical distance travelled. I found that it does work but not as smoothly as I predicted since ther...