This is a full game engine. With just 3 lines of code you can be running the entire 2048 game. Support for custom images and styles. New update (22-Mar-2019). In this updated I completely re-coded the game engine. Taking advantage of ds_maps for data storage. Shouldn’t be too hard to update if you are using the old version.
A Demo object is provided, just put it in a room and press play. Example Code:
player1_map = setup_2048(4,4,true,grid_background_2048_sprite,grid_tile_2048_sprite,115,0,1,10);
Added saving and Loading! Added a delete_2048 script to free the memory used by the engine. Added the ability to undo as many times as you want (new argument setup_2048 script) saving and loading supports the undo's .
Version 1.1.0. Published April 22, 2015
Created with GameMaker: Studio v1.4.1474
You can only review assets you've bought.
Works great and the developer was very responsive to answer my questions.
Simple and easy to use. Don't know what to say, but this engine rocks.
It would be such a cool engine if it has network feature. But overall, 5/5 stars.
Excellent 2048 Engine
This is a great engine that has lots of cool features. Most of the code is way above my pay grade, but I've learned quite a bit about ds_grids and ds_lists by reviewing the scripts. I'm eager to see the Undo function, and possibly one that would save a game in progress so that it could be reloaded later.
Edit for version 1.1.0 -- The undo, save, and load additions worked like a charm. Thanks!
Thatnks for the review, A saving and Loading feature is a great idea!! i will put it in the next update.
Edit: saving, loading and undo's are in 1.1.0 update out now. hope you like it :)