×

Langue

Fermer
Atelier 801
  • Forums
  • Dev Tracker
  • Connexion
    • English Français
      Português do Brasil Español
      Türkçe Polski
      Magyar Română
      العربية Skandinavisk
      Nederlands Deutsch
      Bahasa Indonesia Русский
      中文 Filipino
      Lietuvių kalba 日本語
      Suomi עברית
      Italiano Česky
      Hrvatski Slovensky
      Български Latviešu
      Estonian
  • Langue
  • Forums
  • /
  • Transformice
  • /
  • Modules
  • /
  • [Game] 2048
[Game] 2048
Missar
« Citoyen »
1759166760000
    • Missar#5078
    • Profil
    • Derniers messages
    • Tribu
#1
  2
  • =
  • Script & ChangeLog

https://github.com/NoLudex/TransformiceLua/blob/main/images/2048_10.png?raw=true



Hello everyone!
This is a custom script mode inspired by the classic 2048, adapted for Transformice.
Merge equal-numbered tiles on a 4x4 board to reach the elusive 2048.
The mode features a dedicated UI with an actions panel, per-player board, and real-time statistics.

What this script does
- Renders a per-player 4x4 board and UI directly in-game
- Handles tile movement and merging logic (left/right/up/down)
- Tracks score, move count, and highest tile during your session
- Shows victory and game over screens with quick restart
- Supports EN/RU localized UI strings

How it works (brief)
- Every move compresses and merges tiles according to 2048 rules; merged tiles add to your score.
- After a successful move, a new tile (2 or 4) spawns in a random empty cell.
- Win when you create a 2048 tile. If no moves remain and no merges are possible, the game ends.
- Your session stats persist while you are in the room (games played, wins, total moves, highest score/tile within the session).

Advantages
- Lightweight and self-contained
- Per-player isolation: each player has their own board and stats
- Clear UI with an actions panel and a one-click Reset
- Localized strings for better accessibility (English and Russian)

Feedback and suggestions
Have ideas, feature requests, or found a bug? - Please send me a private message on the forum or reply directly in this topic. I appreciate any feedback that can improve the mode.
[Important!]

The script only works in the tribe room.
Use /lua with the necessary permissions in the tribe to run the script.

v1.0 - Script
- Initial public release
- Core 2048 gameplay (move/merge/spawn) implemented
- Per-player board and session stats (score, moves, highest tile)
- Victory and Game Over flows with quick restart
- Localized UI text (EN/RU)


  • Forums
  • /
  • Transformice
  • /
  • Modules
  • /
  • [Game] 2048
© Atelier801 2018

Equipe Conditions Générales d'Utilisation Politique de Confidentialité Contact

Version 1.27