This is a full game engine. With just two lines of code you can be running the entire 2048 game. Tones of support for custom images and styles.
Features to be implemented later:
var left = keyboard_check_pressed(vk_left); var right = keyboard_check_pressed(vk_right); var down = keyboard_check_pressed(vk_down); var up = keyboard_check_pressed(vk_up); draw_2048(1,10,100,0.5,left,right,up,down,0);
The keyboard_check_pressed lines are not needed to run the game, you can just put 0 as the argument and rely on the built in swipe controls.
Warning, This engine has not been tested on iOS, Mac,Windows 8, Tinzen or Ubuntu. I have only tested it on Windows 7, HTML5 and a few Android devices.
Any questions or suggestions? post it on the forum page
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.
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 :)