Search found 136 matches

by gcmartijn
Mon Aug 21, 2023 7:38 am
Forum: General
Topic: adventure game - puzzle psychology? - search for books
Replies: 3
Views: 1113

Re: adventure game - puzzle psychology? - search for books

Thanks!

I did read the following books:
- creating character arcs
- video game storytelling
- slay the Dragon: Writing...
- Aristoteles poetica
by gcmartijn
Mon Aug 21, 2023 6:22 am
Forum: General
Topic: adventure game - puzzle psychology? - search for books
Replies: 3
Views: 1113

adventure game - puzzle psychology? - search for books

Translation ChatGTP H! I've been working on creating a point-and-click adventure game for a few years now. It's in the style of "Zak McKracken and the Alien Mindbenders." The main characters are myself, my girlfriend, and my daughter ;). For the first 3 years, I explored what I could achie...
by gcmartijn
Wed Feb 08, 2023 2:50 pm
Forum: General
Topic: Unclear % operation for counting
Replies: 20
Views: 5626

Re: Unclear % operation for counting

I don't know if this is correct, I just copy/past your question in chatgpt. So I can't say it is correct :( The issue is that you're using counter % 3 == 0 which means the print statement will only be executed when counter is an exact multiple of 3. This is why it's not printing anything to the cons...
by gcmartijn
Wed Jan 25, 2023 2:58 pm
Forum: Support and Development
Topic: How to make a timer ? [Answered]
Replies: 3
Views: 1976

Re: How to make a timer ?

https://github.com/rxi/tick ?

https://github.com/love2d-community/awesome-love2d
Search for the keyword "timer"

Maybe you find something that works
by gcmartijn
Sun Jan 22, 2023 6:27 pm
Forum: Support and Development
Topic: 1. Thread much slower then non thread. 2. Thread slower on much faster hardware
Replies: 3
Views: 1641

Re: 1. Thread much slower then non thread. 2. Thread slower on much faster hardware

Now I'm wondering, I never understand that jit , or never read about it (maybe later). but for M1 (arm64) is it better to do for the whole program jit.off()?

Or in other words, my target is Mac, iPad, switch, pc.
Is it better (more stable) do turn jit off ?
by gcmartijn
Sun Jan 22, 2023 6:22 pm
Forum: Support and Development
Topic: 1. Thread much slower then non thread. 2. Thread slower on much faster hardware
Replies: 3
Views: 1641

Re: 1. Thread much slower then non thread. 2. Thread slower on much faster hardware

Ah jit.off() inside pathfinding.lua generate 0.03 on the iMac now. But you are right, moving code from the main thread to another don't make any sense. I did this 2 years ago, because there was a small problem inside the pathfinding, that was resulting in a small delay when the player want to move t...
by gcmartijn
Sun Jan 22, 2023 5:43 pm
Forum: Support and Development
Topic: 1. Thread much slower then non thread. 2. Thread slower on much faster hardware
Replies: 3
Views: 1641

1. Thread much slower then non thread. 2. Thread slower on much faster hardware

H! I'm working on a old MacBook Air 2014, and sometimes I test the 'game' on the iMac M1. And it was much slower. Then I did bring the code down to a simple test case that everyone can run, and see the problem. But I can fix it to not use threads. The facts are: - Love 11.4 - MacBook Air 2014 = elap...
by gcmartijn
Wed Dec 28, 2022 9:02 am
Forum: General
Topic: info needed for image scaling, keep it sharp, photoshop nearest neighbor (hard edges)
Replies: 11
Views: 2665

Re: info needed for image scaling, keep it sharp, photoshop nearest neighbor (hard edges)

@zorg I do use nearest ;) The problem is not the game 'engine', but give the 'correct' image so it can 'scale'. As you can see, I can solve this by converting the image in Photoshop, and create hard edges and lower the colours. I though maybe there is some converter on the internet that can do this ...
by gcmartijn
Tue Dec 27, 2022 7:16 pm
Forum: General
Topic: info needed for image scaling, keep it sharp, photoshop nearest neighbor (hard edges)
Replies: 11
Views: 2665

Re: info needed for image scaling, keep it sharp, photoshop nearest neighbor (hard edges)

I did choose to do the first work by hand in photoshop, and a pixel perfect artist need to finetune it later. Here you can see what I did in photoshop, the left side is scale perfectly to each resolution. The right side is creating blurry edges. I did not found the tool that can do this for me. Scre...
by gcmartijn
Mon Dec 26, 2022 5:12 pm
Forum: General
Topic: info needed for image scaling, keep it sharp, photoshop nearest neighbor (hard edges)
Replies: 11
Views: 2665

Re: info needed for image scaling, keep it sharp, photoshop nearest neighbor (hard edges)

No I don't want to use vector images, there is to much detail. I use this for the canvas https://love2d.org/forums/viewtopic.php?f=3&t=92669 self.canvas = {} self.canvas.width = 320 self.canvas.height = 180 self.canvas.integerScaling = true self.canvas.subpixels = 4 Here you se a in game image: ...