Skip to content

ll-nio/micecraft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Micecraft

2D block-based module inside Transformice. You can play the lastest relatively stable version on /room #micecraft.

Notes about building the Module:

  1. You first must clone the repository into your device.
  2. After that, run the merger.lua file, found under the build directory.
  3. A new file called 'micecraft.lua' will appear on the build directory, which then can be loaded in Transformice.
  4. You can log different builds toggling the shouldLog parameter on the merger.lua file.

Stable releases should be found on the main branch, while active developing versions on the development branch.


Naming conventions

  • All functions, no exceptions: camelCase.
  • Local variables: snake_case.
  • Global variables (that are not classes): MACRO_CASE. Also, if possible, they should be defined at define.txt, otherwise at constants.lua.
  • Global and/or local classes: PascalCase.

There might be vestiges of unorganized naming. They are being worked on.


Planned features (alpha)

  • Magic system: Which allows to cast spells and uses mana. The mana naturally replenishes, and could be faster replenished with things such as potions.
  • Complete player interface: Which should include life and mana statistics, a better placed inventory, better organization of buttons according to their category, and so on.
  • [TBD] Entities: With an algorithm that determines movement and actions.
  • [TBD] Terraria-like crafting system: A simple system which shows you products and their needed items.

Won't be added

  • Parallax-scrolling backgrounds: The game doesn't support a layer that is fixed relatively to the window itself besides interfaces, also, given the runtime constrains and timers irregularity it's impossible to add a scrolling background that doesn't negatively affect performance. Even if that weren't an issue, player position doesn't update fast enough.
  • Minecraft-like crafting system: This was added in the previous iteration of #micecraft. The issue is that the algorithm to determine crafts is too complex, and doesn't let me have granularity with the amount of items needed for certain crafts.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages