Skip to content

Grisgram/gml-highscorer

Repository files navigation

Welcome to the gml-highscorer repository for GameMaker Studio 2.3+!


Highscores & Trophies for your GameMaker Game

1️⃣.3️⃣.1️⃣

This repository contains the full source code of my highscore-library, including two ready-to-use renderers for HighscoreTables in your game. You can render a normal looking highscore or even a more sophisticated TrophyTable.

Rendering is very efficient, as the table is pre-rendered onto a surface and only the surface is drawn in the Draw (or DrawGUI) event.

All objects and classes are documented in the wiki.

Here's what it can look like

This screenshot is taken from the demo program contained in the repository. Just open the project in GameMaker Studio and hit F5, so you can play around with the settings and take a closer look in the room, where variables are set for the renderers.
Date and Time format are localized based on the device settings!

screen_default_score

The renderers are highly configurable through their extensive Variable Definitions. Take a look at the wiki for details on how to use it.

This graphic shows some information, what you can customize image

Don't want to clone and play with the source code?

No problem, just head over to the Releases and get the .yymps local package for easy import.

Part of gml-raptor


This library is also packaged into my gml-raptor platform, where it is super-easy to save and restore your highscore lists by simply adding them to raptor's GLOBALDATA struct or attaching it to the data member of your MainRoomController, whatever you prefer.

Personal note

You may use this library for your own projects, even commercial. Crediting me makes me happy!
As always, if you like what you see, please ⭐ the repository and consider following me. The more reach these libraries get, the better they can evolve!

If you have an idea, how to improve this library, just open a pull request! I will gladly accept contributions as long as they fit the spirit of the library.

Have fun with the highscorer!

Yours,
Gris

(c)2022-2024 coldrock.games


In case you are a night owl like me and you want to support my work,
especially the gml-raptor platform for GameMaker,
spend me a coffee through PayPal.

Thank you!