A brand new game
for Windows, Linux, Mac, HTML5, 3DS Homebrew and more
every week,
unless exhausted!
About Games Music Pixelart Poetry Home Patreon Scores JNKPlat Petit Switch
Blog
Slowly But Surely
  13th April, 2019
After yesterday's break, I'm back to getting Ludo up and running, and .. Boy is it complicated!!



-=-=-

But it's starting to fall into place, now. The pieces are moving via the proper logic of the board, in that each player has their own path, and follows them correctly.

I've also had to rewrite a chunk of the "Pick up object" code to allow for more than one piece per player. Previously, I'd relied on the sprite value, along with X and Y location, to decide which object the player has in their hand.
With Ludo, however, not only are there 4 copies of the sprite, but the pieces can also stand in the same place, meaning you'd be picking up ALL the pieces from the board, if they're in the same square, not just one of them!

The game now "works" to the point where you can roll the dice, move the piece, and eventually reach the end. But there's currently no blocking, and AL isn't doing much of anything. (I need to manually play for AL)

Next I need to teach AL how to play the game, and see if I can get a few interesting tactics into its gameplay technique.

Nearly there..!!!

Views 34, Upvotes 2
Shoebox
Site credits : PHP script, Site design, Blog posts, Games, Music, Pixelart, Poems and More : Jayenkai
(c) Jayenkai 2017 and onwards. RSS feed
Blog - Slowly But Surely - AGameAWeek