Page 2 of 3
Re: Pure2048
Posted: Thu Jun 05, 2025 12:39 pm
by Mindphazer
Thank you for the corrections !
And... you're right, the “about” menu is managed specifically by MacOS, but it should appear on Linux as it does on Windows. Fixed now hopefully.
Re: Pure2048
Posted: Fri Jun 06, 2025 5:50 pm
by threedslider
Re: Pure2048
Posted: Fri Jun 06, 2025 7:05 pm
by AZJIO
Code: Select all
LanguageRU:
Data.s "MenuJeu", "Игра"
Data.s "MenuItemNouveau", "Новая"
Data.s "MenuItemUndo", "Отменить последний ход"
Data.s "MenuItemQuit", "Выйти"
Data.s "MenuTheme", "Темы"
Data.s "MenuItemAbout", "Об игре"
Data.s "Score", "СЧЕТ"
Data.s "HighScore", "ЛУЧШИЙ"
Data.s "Attention", "Внимание"
Data.s "Abandon", "Вы действительно хотите выйти из игры?" + #CRLF$ + "Если у вас будет высокий балл, он не будет сохранен."
Data.s "*", "*"
Re: Pure2048
Posted: Sat Jun 07, 2025 8:54 am
by Mindphazer
Russian language added, thanks to AZJIO
First post updated
Re: Pure2048
Posted: Wed Jun 11, 2025 8:18 am
by falsam
Here's a nice version of the famous 2048 game. Thanks for sharing. I really like it

Re: Pure2048
Posted: Wed Jun 11, 2025 10:22 am
by Mindphazer
Thanks falsam & threedslider for your kind words.
I've tried to make a game that's fun to play, and I'd like to think I've succeeded !
Re: Pure2048
Posted: Wed Jun 11, 2025 10:30 am
by AZJIO
1. It would be great if the styles were stored in an ini file. Then the user can create their own design style.
2. It is also better to store language files in an external file, so that you can also create your own file without having to compile.
3. It would be great to have a phone version.
There is
another such version.
Re: Pure2048
Posted: Wed Jun 11, 2025 11:15 am
by Mindphazer
AZJIO wrote: Wed Jun 11, 2025 10:30 am
1. It would be great if the styles were stored in an ini file. Then the user can create their own design style.
2. It is also better to store language files in an external file, so that you can also create your own file without having to compile.
3. It would be great to have a phone version.
There is
another such version.
I'll think about points 1 & 2
For point #3, i'm not familiar enough with spiderbasic, so it's not planned yet
Re: Pure2048
Posted: Wed Jun 11, 2025 4:29 pm
by AZJIO
If you cancel a move, and then repeat the move and do it cyclically several times, the score increases, but the playing field remains the same.
Re: Pure2048
Posted: Wed Jun 11, 2025 5:32 pm
by Mindphazer
AZJIO wrote: Wed Jun 11, 2025 4:29 pm
If you cancel a move, and then repeat the move and do it cyclically several times, the score increases, but the playing field remains the same.
Can't reproduce this.
If you cancel a move, the points are cancelled and the score goes back to the previous value.
I've tried several times without having the behaviour you're explaining...
Re: Pure2048
Posted: Thu Jun 12, 2025 5:29 am
by PeDe
Mindphazer wrote: Wed Jun 11, 2025 5:32 pm
Can't reproduce this.
If you cancel a move, the points are cancelled and the score goes back to the previous value.
I've tried several times without having the behaviour you're explaining...
I can reproduce the error if more than two fields are merged.
https://www.dreisiebner.at/temp/Pure2048-Punkte.png
Peter
Re: Pure2048
Posted: Thu Jun 12, 2025 9:04 am
by Mindphazer
Oh damn
I see what you mean
I will take a closer look
Thanks Peter !
Edit : problem solved, first post updated
Re: Pure2048
Posted: Thu Jun 12, 2025 1:50 pm
by moulder61
@Mindphazer
On my Linux install the language is in German, mostly. The theme menu looks English and the game over screen says "Game Over". Your first version displayed mostly in French, but "SCORE" and "BEST" were in English.
I tried tweaking the code a bit, but so far haven't been able to get it to display in English fully.
The section of code that checks the ENV variable in Linux seems to be doing what it should, but on ProcedureReturn, the "en" string seems to be converted to 0, which I guessed would either choose French, as it's the first language listed in the Select/Case statement, or at the least default to US English in the same statement. That isn't happening.
I did look at other ways of getting the LANG variable in Linux, but to be honest, the way it's being done looks the most consistent.
I don't remember you using Linux, but, any ideas?
Moulder.

Re: Pure2048
Posted: Thu Jun 12, 2025 3:27 pm
by Mindphazer
Hi Moulder,
Well, in fact, I have not done any translation for the themes names, neither for "game over"
This means, whatever language is used, the end of the game will always display "Game Over" !
I thought these words were enough universal to stay as they are...
I can handle the translation if you really want it

Re: Pure2048
Posted: Thu Jun 12, 2025 4:32 pm
by moulder61
@Mindphazer
Thanks for the offer, but I can force it to be in UK English, just for my benefit.

I have various ideas for getting around it but I was trying to do it within the constraints of your code so it would still work for everybody else.
At the moment, I haven't worked out how to fix it or whether it's just me having issues? It looks like it should work but somehow it doesn't for me?
If anyone else is reading this and using Linux, what is your experience regarding the language selection?
Moulder.