Search found 636 matches

by BrotSagtMist
Wed Sep 29, 2021 9:00 pm
Forum: Games and Creations
Topic: Advance Wars - Turn Based Strategy - fan game
Replies: 16
Views: 25765

Re: Advance Wars - 2000s strategy nostalgia - fan game

Good question, cant remember.
Searching the usual places only returned _Tanks of freedom_, not sure if its that what was in my head.
Goddod engine, ugly sideway view *shiver*
by BrotSagtMist
Wed Sep 29, 2021 7:04 pm
Forum: Games and Creations
Topic: Advance Wars - Turn Based Strategy - fan game
Replies: 16
Views: 25765

Re: Advance Wars - 2000s strategy nostalgia - fan game

I have NEVER seen a good enemy AI before in any strategy/tactics game.
But Advance wars AI was exceptionally low, probably due to hardware limits?
So youre not under a lot of pressure here.
by BrotSagtMist
Wed Sep 29, 2021 5:34 pm
Forum: Games and Creations
Topic: Advance Wars - Turn Based Strategy - fan game
Replies: 16
Views: 25765

Re: Advance Wars - 2000s strategy nostalgia - fan game

I loved this game but the bots where so stupid.

I have already seen a an attempt of cloning this in another forum but the guy gave up at the point of adding enemy AI.
Best of luck here.
by BrotSagtMist
Tue Sep 28, 2021 8:31 pm
Forum: Support and Development
Topic: How to set volume of sfx and music differently?
Replies: 11
Views: 5696

Re: How to set volume of sfx and music differently?

No, not at all. Just saying that you should stay away from situation where you adjust the volume of every file. At least one file should be played with 100% and act as base. So what is a tile? A meter? A centimetre? A kilometre? A lightyear? The lib must know how long a tile is for stuff to work. Or...
by BrotSagtMist
Mon Sep 27, 2021 3:05 pm
Forum: Support and Development
Topic: problem pausing
Replies: 3
Views: 3447

Re: problem pausing

Very complicated, I usually pause by simply renaming the update. So i do Running=love.update love.update=function(dt) blah end --pause screen logic to enter pause and to leave it just reverse love.update=Running The draw function will just show a static picture in this case, either replace that too ...
by BrotSagtMist
Sun Sep 26, 2021 11:13 pm
Forum: Support and Development
Topic: How to set volume of sfx and music differently?
Replies: 11
Views: 5696

Re: How to set volume of sfx and music differently?

Volume is sound*master*system*amp. Its wise to keep the volumes you can control as close to 1 as possible. Lowering volume from within löve simply degrades the signal to noise ratio you get from the speaker, thats not player friendly, let the OS handle the final volume. More on setPosition is that s...
by BrotSagtMist
Sun Sep 26, 2021 6:31 pm
Forum: Support and Development
Topic: How to set volume of sfx and music differently?
Replies: 11
Views: 5696

Re: How to set volume of sfx and music differently?

Wiki:
The volume for a Source, where 1.0 is normal volume. Volume cannot be raised above 1.0.
by BrotSagtMist
Thu Sep 23, 2021 10:20 pm
Forum: Support and Development
Topic: Can love2D detect keypresses when unfocused?
Replies: 3
Views: 3752

Re: Can love2D detect keypresses when unfocused?

Doesnt look like it.
If youre the only user a quick hack in would be to just read from /dev/input in a thread.
I am not aware of other simple ways, let alone one that universally works.
by BrotSagtMist
Thu Sep 23, 2021 10:11 pm
Forum: Support and Development
Topic: Other ways than shaders for transparent color?
Replies: 5
Views: 4444

Re: Other ways than shaders for transparent color?

You can just draw transparent as a normal colour.
It happens we just had that already too: https://love2d.org/forums/viewtopic.php?f=14&t=92033
TL:DR:
love.graphics.setBlendMode("replace")
love.graphics.setColor(0,0,0,0)
by BrotSagtMist
Sun Sep 19, 2021 3:15 pm
Forum: Games and Creations
Topic: Railway Track
Replies: 7
Views: 10911

Re: Railway Track

You can always add another canvas for order and instead of painting you can erase pixels too.
A quick hack in of my approach:
main.lua.zip
(1.85 KiB) Downloaded 270 times