Search found 260 matches

by knorke
Mon May 20, 2024 8:11 pm
Forum: Support and Development
Topic: Struggling with jumping function in platformer
Replies: 1
Views: 149

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 knorke
Mon May 20, 2024 12:28 pm
Forum: Support and Development
Topic: i problem with making borders for my game
Replies: 1
Views: 69

Re: i problem with making borders for my game

paddle2.y = border(y)
should be:
paddle2.y = border(paddle2.y)
by knorke
Thu May 16, 2024 11:00 am
Forum: Support and Development
Topic: whats the best way to make general colision detection?
Replies: 5
Views: 284

Re: whats the best way to make general colision detection?

For Space Invaders I would just use a isPointInRectangle() check
The projectiles are points and the player's ship, "shield walls" and enemies are rectangles.
by knorke
Wed May 15, 2024 11:11 am
Forum: General
Topic: OKIZEME - a minimalist fighting game
Replies: 1
Views: 160

Re: OKIZEME - a minimalist fighting game

It is difficult to judge what a random internet stranger can do.
Generally I agree, the "perfect day" will never come. So just go for it. :)
There is no deadline for hobby projects so it does not matter how long it takes.
by knorke
Mon May 13, 2024 9:47 pm
Forum: Support and Development
Topic: [SOLVED] Have some troubles with Animation again
Replies: 11
Views: 1096

Re: [SOLVED] Have some troubles with Animation again

Interesting handheld. I have never heard of it and have only ever used Löve on PC. Maybe ask the creators of those ports what kind of performance is normal? Your game code could be made more efficient with use of Spritebatches: https://love2d.org/wiki/SpriteBatch + https://love2d.org/wiki/Tutorial:E...
by knorke
Thu May 09, 2024 9:40 pm
Forum: Support and Development
Topic: [Solved] Rectangle collision resolution only works on one axis
Replies: 3
Views: 318

Re: Rectangle collision resolution only works on one axis

autumnDev wrote: Thu May 09, 2024 1:51 amI also provided the .love file so you can see the behavior.
It seems you forget to attach the file.
Good luck..such kind of bugs are extremely annoying to find.
by knorke
Thu May 09, 2024 9:21 pm
Forum: Games and Creations
Topic: Hungry Bob - An arcade about a hungry cat
Replies: 4
Views: 1062

Re: Hungry Bob - An arcade about a hungry cat

When switching to fullscreen, the keyboard stops responding (all keys) Mouseclick still works. Sorry, I cannot reproduce the problem (used Chrome and Edge and the keyboard worked perfectly for me)... Could you verify if pressing Alt + Enter instead of clicking the full screen button resolves the pr...
by knorke
Mon May 06, 2024 11:21 pm
Forum: Games and Creations
Topic: Hungry Bob - An arcade about a hungry cat
Replies: 4
Views: 1062

Re: Hungry Bob - An arcade about a hungry cat

I played the web version with Firefox on Linux Mint. In the menus, clicking buttons via mouse does not work. It does not click the button that the mouse is placed on but instead it clicks the button that is currently highlighted by keyboard. (In other words: Mouseclick behaves like pressing space an...
by knorke
Mon May 06, 2024 10:45 pm
Forum: Support and Development
Topic: [SOLVED] Have some troubles with Animation again
Replies: 11
Views: 1096

Re: Have some troubles with Animation again

First something unrelated, what is up with your conf.lua? It contains this: t.version = 60 My Löve refuses to run your game because it is made "for version 60." That lines defines the Löve version, also it should be a string. So something like "11.5" I simply renamed the file so ...
by knorke
Mon May 06, 2024 9:41 pm
Forum: Support and Development
Topic: Help with "fade out" effect
Replies: 3
Views: 620

Re: Help with "fade out" effect

Your game looks nice so far. :awesome: This is not a real solution but maybe slightly useful: I made a "everything leaves a fading trail" effect a while ago. I tried to re-create it in the attached doodle. First draw the trails to a canvas. Then every few moments draw a black but slightly ...