Search found 134 matches

by gcmartijn
Sun Aug 14, 2022 7:13 am
Forum: General
Topic: [solved] example request , canvas scale - camera - pixel perfect - simplified
Replies: 21
Views: 14608

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.
by gcmartijn
Sat Aug 13, 2022 4:34 pm
Forum: General
Topic: [solved] example request , canvas scale - camera - pixel perfect - simplified
Replies: 21
Views: 14608

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...
by gcmartijn
Mon Jul 25, 2022 7:32 pm
Forum: Support and Development
Topic: Pixel art smooth scrolling how?
Replies: 12
Views: 4490

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
by gcmartijn
Wed Jun 01, 2022 6:18 pm
Forum: Support and Development
Topic: love.graphics.newImage using a thread: yes or no?
Replies: 12
Views: 4013

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.
by gcmartijn
Wed Jun 01, 2022 5:23 pm
Forum: Support and Development
Topic: love.graphics.newImage using a thread: yes or no?
Replies: 12
Views: 4013

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...
by gcmartijn
Wed Jun 01, 2022 3:28 pm
Forum: Support and Development
Topic: love.graphics.newImage using a thread: yes or no?
Replies: 12
Views: 4013

Re: love.graphics.newImage using a thread: yes or no?

You can load imageData in a thread and send it back to the main thread to create an image from it.
That is what I try to say hahah, if it safe to use it like that.
Is that working oke in IOS/Windows/Mac ?

Thanks for your link, going to check it.
by gcmartijn
Wed Jun 01, 2022 2:48 pm
Forum: Support and Development
Topic: love.graphics.newImage using a thread: yes or no?
Replies: 12
Views: 4013

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 ...
by gcmartijn
Wed Apr 20, 2022 6:08 am
Forum: General
Topic: May I Please Have HELP on Cursor Customization
Replies: 8
Views: 3327

Re: May I Please Have HELP on Cursor Customization

Ah copy/past error, don't make the cursor invisible ;)
by gcmartijn
Wed Apr 20, 2022 5:41 am
Forum: General
Topic: May I Please Have HELP on Cursor Customization
Replies: 8
Views: 3327

Re: May I Please Have HELP on Cursor Customization

https://love2d.org/wiki/love.mouse.newCursor function love.load() -- mouse settings love.mouse.setVisible(false) love.mouse.setGrabbed(false) cursorImage = love.image.newImageData('cursor.png') cursor = love.mouse.newCursor(cursorImage, 0, 0) love.mouse.setCursor(cursor) end
by gcmartijn
Sat Apr 09, 2022 5:52 am
Forum: Games and Creations
Topic: TILT - Gravity Puzzles
Replies: 5
Views: 4161

Re: TILT - Gravity Puzzles

Fortunately, it's just a hobby, and extra income is a nice bonus. But I personally wouldn't choose to sell a game for so little. I would try to make a game worth at least 14.99 for example, or else offer it for free. But I don't know the market for $0.99 games either. If you have the time to make 10...