Search found 779 matches

by togFox
Thu Feb 08, 2024 11:42 pm
Forum: General
Topic: How do you code and deploy DLC's?
Replies: 10
Views: 2815

Re: How do you code and deploy DLC's?

Ah. I see now. That makes a difference.

Thanks.
by togFox
Thu Feb 08, 2024 12:39 pm
Forum: General
Topic: How do you code and deploy DLC's?
Replies: 10
Views: 2815

Re: How do you code and deploy DLC's?

Some thoughtful thinking there. Thanks! I didn't know itch can do tiers so I've learned something. I've coded file drop before and it is a very very simple feature that only needs one or two lines of code so that's a great idea. An unlocker exe with t.identity would give me a lot of control with min...
by togFox
Wed Feb 07, 2024 11:31 am
Forum: General
Topic: How do you code and deploy DLC's?
Replies: 10
Views: 2815

How do you code and deploy DLC's?

My target audience for my project is itch.io which lets customers download game files that need to be installed by the customer - in other words - it does not deploy or do any sort of local file management. It simple "serves" game files - usually zip files (developers decision). I'm thinki...
by togFox
Wed Feb 07, 2024 11:21 am
Forum: Libraries and Tools
Topic: Resolution Solution [library]
Replies: 54
Views: 77572

Re: Resolution Solution [library]

Some scenes were using RS and some scenes were using RS and scale. Making sure the rs.pop, rs.push. love.graphics.scale and origin is called in the right sequence and being disciplined in the scope fixes it. Thanks!
by togFox
Sun Feb 04, 2024 12:41 am
Forum: Libraries and Tools
Topic: Resolution Solution [library]
Replies: 54
Views: 77572

Re: Resolution Solution [library]

So, documenting here for others, my project is using:

Code: Select all

love.graphics.scale
and

Code: Select all

love.graphics.origin()
These things change the way things are drawn and if you're not careful, will interfere with RS.

Obviously.
by togFox
Fri Feb 02, 2024 12:57 am
Forum: Libraries and Tools
Topic: Resolution Solution [library]
Replies: 54
Views: 77572

Re: Resolution Solution [library]

Okay. Thanks. When I develop I use my monitor size so I'll use this code that should take my 1920x1080 and scale it to the users monitor size:

Code: Select all

	res.conf({game_width = 1920, game_height = 1080, scale_mode = 1})
	res.setMode(0, 0, {resizable=false})
by togFox
Thu Feb 01, 2024 9:18 am
Forum: Libraries and Tools
Topic: Resolution Solution [library]
Replies: 54
Views: 77572

Re: Resolution Solution [library]

Is this the correct way to initial RS when I develop in 1920 x 1080 while allowing the user to resize to whatever they want? res.conf({game_width = 1920, game_height = 1080, scale_mode = 1}) res.setMode(1920, 1080, {resizable=true}) The demo is 800 x 600 so just checking I got this bit right. Thanks.
by togFox
Sat Jan 27, 2024 11:38 pm
Forum: Libraries and Tools
Topic: Resolution Solution [library]
Replies: 54
Views: 77572

Re: Resolution Solution [library]

So this one confused me and perhaps still does. This code works as expected: res.conf({game_width = 1920, game_height = 1080, scale_mode = 1}) res.setMode(1920, 1080, {resizable=false}) But when I set resizable to TRUE like this: res.conf({game_width = 1920, game_height = 1080, scale_mode = 1}) res....
by togFox
Tue Dec 19, 2023 1:29 am
Forum: Support and Development
Topic: Justified text displaying one character at a time
Replies: 13
Views: 64364

Re: Justified text displaying one character at a time

** has limitations **

You can print the whole text to screen then draw a black box over the top so it obscures the text. You can then shrink the black box on a loop so that each character is revealed one at a time and has the same effect.

(you'd need two black boxes)

** has limitations **
by togFox
Mon Dec 18, 2023 4:58 am
Forum: Support and Development
Topic: How to make Portable Version?
Replies: 2
Views: 10905

Re: How to make Portable Version?

I've been doing this for years using nativefs library. You looking for a way that doesn't work around Love?