Search found 104 matches
- Tue Jun 04, 2024 9:28 pm
- Forum: Games and Creations
- Topic: TETRIS CLONE I MADE
- Replies: 3
- Views: 2138
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...
- Mon May 27, 2024 8:45 pm
- Forum: Games and Creations
- Topic: TETRIS CLONE I MADE
- Replies: 3
- Views: 2138
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!
- Tue May 21, 2024 2:41 pm
- Forum: Support and Development
- Topic: Struggling with jumping function in platformer
- Replies: 2
- Views: 1728
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...
- Sat May 18, 2024 1:40 am
- Forum: Support and Development
- Topic: Struggling with jumping function in platformer
- Replies: 2
- Views: 1728
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...
- 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: 5715
(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...
- Fri Feb 16, 2024 12:09 am
- Forum: Support and Development
- Topic: Ray casting with bump.lua issues
- Replies: 0
- Views: 5427
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...
- Wed Feb 14, 2024 1:21 pm
- Forum: Support and Development
- Topic: Question about casting rays (bump.lua)
- Replies: 4
- Views: 1166
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...
- Wed Feb 14, 2024 1:42 am
- Forum: Support and Development
- Topic: Question about casting rays (bump.lua)
- Replies: 4
- Views: 1166
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...
- Mon Feb 12, 2024 10:48 am
- Forum: Support and Development
- Topic: Question about casting rays (bump.lua)
- Replies: 4
- Views: 1166
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...
- 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: 1453
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...