Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit/AppGameKit Studio Showcase / Dynamic Snakes & Ladders Template (Source Included) (AGKS)

Author
Message
DannyD
7
Years of Service
User Offline
Joined: 29th Aug 2017
Location:
Posted: 14th Jun 2020 14:53
I've created this "Starter Template" for a Dynamic Snakes and Ladders. (Required by a client)

No need to recompile the APP everytime
Just add the Board files in the media folder, and off you go

1. Edit setup.txt, and change line 2 for the total number of boards (Crrently 3)
Currently it only support boards for 10x10blocks (Total 100)
But can be very easily modfied..

Boards must be named as.
sl1.png
sl2.png
sl3.png
etc

For every board, there is a ladX.txt and snakesX.txt which have the ladders and snake end/starting points
X = Board number
For 1 Board you will have the following files
example: Board 1
sl1.png
lad1.txt
snake1.txt

eg
lad1.txt
ladder start (low)
ladder end (high)
ladder start (low)
ladder end (high)
ladder start (low)
ladder end (high)
ladder start (low)
ladder end (high)

eg
snake1.txt
snakestart (high)
snakeend (low)
snakestart (high)
snakeend (low)
snakestart (high)
snakeend (low)
snakestart (high)
snakeend (low)

If you have any easier method for doing this, please let me know

Enjoy, hope someone find it usefull....




Attachments

Login to view attachments
GarBenjamin
AGK Developer
7
Years of Service
User Offline
Joined: 30th Nov 2016
Location: USA
Posted: 27th Jun 2020 05:44
Sounds like a good data driven design.
Xaby
FPSC Reloaded TGC Backer
17
Years of Service
User Offline
Joined: 17th Apr 2007
Location: Berlin
Posted: 2nd Aug 2020 10:13
Maybe it would be also nice, to build in something like a dynamic painting option. Bezier cuved snakes created out of snake elements or so.

Login to post a reply

Server time is: 2024-11-21 12:50:09
Your offset time is: 2024-11-21 12:50:09