When I use google: love2d drag and drop I found this.
https://stackoverflow.com/questions/385 ... -in-love2d
https://gist.github.com/mebens/1196228
Search found 136 matches
- Sun Aug 14, 2022 7:01 pm
- Forum: Support and Development
- Topic: How to pick up objects
- Replies: 9
- Views: 2421
- Sun Aug 14, 2022 6:45 pm
- Forum: Support and Development
- Topic: How to pick up objects
- Replies: 9
- Views: 2421
Re: How to pick up objects
do you mean drag and drop?
In the adventure game i'm trying to make, I delete the object from the scene and place it in an player inventory table.
In the adventure game i'm trying to make, I delete the object from the scene and place it in an player inventory table.
- Sun Aug 14, 2022 7:13 am
- Forum: General
- Topic: [solved] example request , canvas scale - camera - pixel perfect - simplified
- Replies: 21
- Views: 14769
Re: [solved] example request , canvas scale - camera - pixel perfect - simplified
Nope that don't fix it.
I 'fix' it for the moment by using the following things
- don't update the camera.y, because i'm only follow moving objects from left <> right
- don't use the damp function
With this it more smooth.
Going to work with this for now, and test it later on other hardware.
I 'fix' it for the moment by using the following things
- don't update the camera.y, because i'm only follow moving objects from left <> right
- don't use the damp function
With this it more smooth.
Going to work with this for now, and test it later on other hardware.
- Sat Aug 13, 2022 4:34 pm
- Forum: General
- Topic: [solved] example request , canvas scale - camera - pixel perfect - simplified
- Replies: 21
- Views: 14769
Re: example request , canvas scale - camera - pixel perfect - simplified
You're probably not too far off. @ReFreezed I did some other work, and now i'm at a point that the player is moving to the right/left and the camera is following. Everything works, but what I see is a little jitter. When I download your example again and use the same settings as I use inside the pi...
- Mon Jul 25, 2022 7:32 pm
- Forum: Support and Development
- Topic: Pixel art smooth scrolling how?
- Replies: 12
- Views: 4514
Re: Pixel art smooth scrolling how?
I don't use a tilemap for my pixel art engine but maybe this can help you.
viewtopic.php?f=3&t=92669
viewtopic.php?f=3&t=92669
- Wed Jun 01, 2022 6:18 pm
- Forum: Support and Development
- Topic: love.graphics.newImage using a thread: yes or no?
- Replies: 12
- Views: 4031
Re: love.graphics.newImage using a thread: yes or no?
Good point, now I have to choose haha.
I think I choose for the easy way and pre-load all images (non thread).
I guess everyone that play a game have 1GB available for assets, so I have enough free space at the moment.
I think I choose for the easy way and pre-load all images (non thread).
I guess everyone that play a game have 1GB available for assets, so I have enough free space at the moment.
- Wed Jun 01, 2022 5:23 pm
- Forum: Support and Development
- Topic: love.graphics.newImage using a thread: yes or no?
- Replies: 12
- Views: 4031
Re: love.graphics.newImage using a thread: yes or no?
The main reason I ask was because I see a little stutter, when I load an image during gameplay. I'm from the past, there the rule was that you don't wast memory if not needed ;) I already using fade in/out when changing levels, to eliminate the stutter problem ;) The image is just about 450 bytes. H...
- Wed Jun 01, 2022 3:28 pm
- Forum: Support and Development
- Topic: love.graphics.newImage using a thread: yes or no?
- Replies: 12
- Views: 4031
Re: love.graphics.newImage using a thread: yes or no?
That is what I try to say hahah, if it safe to use it like that.You can load imageData in a thread and send it back to the main thread to create an image from it.
Is that working oke in IOS/Windows/Mac ?
Thanks for your link, going to check it.
- Wed Jun 01, 2022 2:48 pm
- Forum: Support and Development
- Topic: love.graphics.newImage using a thread: yes or no?
- Replies: 12
- Views: 4031
love.graphics.newImage using a thread: yes or no?
Today, I have created a simple popup inside my game. In this popup there is an image, and that image is not inside the memory/use inside the running game. And maybe the player never going to see / use this popup (image). I don't like the idea to put all images into the memory, when not needed. So I ...
- Wed Apr 20, 2022 6:08 am
- Forum: General
- Topic: May I Please Have HELP on Cursor Customization
- Replies: 8
- Views: 3329
Re: May I Please Have HELP on Cursor Customization
Ah copy/past error, don't make the cursor invisible