Search found 1174 matches

by darkfrei
Tue Dec 12, 2023 11:15 am
Forum: Support and Development
Topic: Justified text displaying one character at a time
Replies: 13
Views: 63338

Re: Justified text displaying one character at a time

The fake and self made justification: blackString = [[I'm trying to implement the effect you see in many games where text is printed a character at a time. (See the original Dragon Quest for an example.) On its own this is easy: all one needs to do is keep a counter then use string.sub and utf8.offs...
by darkfrei
Tue Dec 12, 2023 8:45 am
Forum: Support and Development
Topic: Justified text displaying one character at a time
Replies: 13
Views: 63338

Re: Justified text displaying one character at a time

Not justification, but you cannot see it: blackString = [[I'm trying to implement the effect you see in many games where text is printed a character at a time. (See the original Dragon Quest for an example.) On its own this is easy: all one needs to do is keep a counter then use string.sub and utf8...
by darkfrei
Mon Dec 11, 2023 4:28 pm
Forum: Support and Development
Topic: Justified text displaying one character at a time
Replies: 13
Views: 63338

Re: Justified text displaying one character at a time

I don't like how the line "about it" looks out:
2023-12-11T17_28_07-Untitled.png
2023-12-11T17_28_07-Untitled.png (21.1 KiB) Viewed 48488 times
by darkfrei
Mon Dec 11, 2023 1:01 pm
Forum: Support and Development
Topic: Justified text displaying one character at a time
Replies: 13
Views: 63338

Re: Justified text displaying one character at a time

Try to make it with love.graphics.print( coloredtext) https://love2d.org/wiki/love.graphics.print table coloredtext A table containing colors and strings to add to the object, in the form of {color1, string1, color2, string2, ...}. table color1 A table containing red, green, blue, and optional alpha...
by darkfrei
Fri Dec 08, 2023 8:07 am
Forum: Support and Development
Topic: How to make Portable Version?
Replies: 2
Views: 10841

How to make Portable Version?

Hi all!

Is it possible to make a portable game, like C:/games/myGame/ with C:/games/myGame/saves/ so all saved data are in the folder near of fused .exe file?
by darkfrei
Mon Dec 04, 2023 6:15 pm
Forum: Support and Development
Topic: [SOLVED] Scaling and camera issues :'D [im probably very stoopid]
Replies: 5
Views: 19809

Re: Scaling and camera issues :'D [im probably very stoopid]

I am making translate and than scale, not in other order.
by darkfrei
Mon Dec 04, 2023 7:53 am
Forum: General
Topic: LÖVE 11.5 released!
Replies: 19
Views: 175776

Re: LÖVE 11.5 released!

Earlier I've made a lot of videos with GeForce Experience, but now it isn't possible anymore.
by darkfrei
Sat Nov 25, 2023 7:43 pm
Forum: Support and Development
Topic: Creating an exact copy of an object
Replies: 4
Views: 2808

Re: Creating an exact copy of an object

Maybe it will be nice to have a entity prototype, that contents the same values in the entity, that have values that are unique for each entity.
by darkfrei
Thu Nov 16, 2023 8:13 am
Forum: Support and Development
Topic: Love wont display anything :( [CLOSED]
Replies: 7
Views: 4555

Re: Love wont display anything :(

zalander wrote: Wed Nov 15, 2023 10:37 am Yup its a WSL issue.
If you solved the problem then explain how and the next one can google it.
by darkfrei
Mon Nov 13, 2023 5:55 pm
Forum: Support and Development
Topic: Love wont display anything :( [CLOSED]
Replies: 7
Views: 4555

Re: Love wont display anything :(

-- wrong: for i = 1, sel-1 do love.graphics.circle("line", ar[i], ar[i+1], 30) end -- rigth: for i = 1, sel-1, 2 do love.graphics.circle("line", ar[i], ar[i+1], 30) end Also be sure where you insert values: function mk() ar[#ar+1] = love.math.random(0, love.graphics.getWidth()) ...