Home | Rules and Guide | Sign In/Create Account | Write a Post | Reddit | #ludumdare on irc.afternet.org (Info)

Thanks for making Ludum Dare 26 AWESOME! See you in August!

Ludum Dare 26 — April 26-29th, 2013
[ Results: Top 100 Compo, Jam | Top 25 Categories | View My Entry ]
[ View All 2346 Games (Compo Only, Jam Only) | Warmup ]

[ 10 Sec Video Compilation (x3) | 260 Game Video Compilation | IndieCade Deal | Ludum Deals (Unity Deal Ends Soon!) ]


About McFunkypants (twitter: @McFunkypants)

Hardcore gamer.
Dungeon Master.
Programmer.
Musician.
Artist.
Dad.

My blog about indie game development:
http://www.mcfunkypants.com

Follow me on twitter:
http://twitter.com/McFunkypants

My Ludum Dare Games:
Rising Lava of Doom
Pile-o-gears
Greeble
Bounce-Onium!
A Familiar Story
Asteroid Explorer
Snowboggan!
Super Skill Jump
Puzzabomb
Orca Tactics
Sushi Overload

Some of the other games I have made:
Mars Orbital
Trail Ride
Lost Adventure
Wildflowers
Deadwood
Kool Community
Moonball

Entries

 
Ludum Dare 26
 
Ludum Dare 25
 
October Challenge 2012
 
Ludum Dare 24
 
Ludum Dare 23
 
MiniLD 32
 
Ludum Dare 22
 
Ludum Dare 21
 
MiniLD #27
 
Ludum Dare 20
 
MiniLD 25
 
Ludum Dare 19
 
Ludum Dare 18
 
MiniLD #20

McFunkypants's Trophies

Archive for the ‘LD #24’ Category

Fantasy Map Tactics Terrain

Posted by (twitter: @McFunkypants)
Saturday, August 25th, 2012 2:44 pm

I’ve always loved the “fantasy maps” that you find at the beginning of all fantasy novels (LOTR, Game of Thrones, etc.). There’s something exciting about seeing the map, with all sorts of interesting looking places just begging to be explored. I thought it would be fun to make a turn-based strategy tactics wargame based on this visual style.

I’m creating my game in HTML5 using jquery, because something like this doesn’t need 3d rendering performance, and because it is very easy to turn the game into a mobile (android, ios and ouya) app using phonegap. I started by first drawing some typical fantasy map icons using marker on paper:

After scanning in the images and creating a spritesheet, I wrote a simple random map grid creation class. It uses deterministic random procedurally-generated terrain (a seeded mersenne twister PRNG) so that a complex map can be recalled with a single integer seed value (no need to save a huge array to disk/cookie/localstorage). I then add extra water tiles around the edges by varying the shoreline randomly. Finally, I scatter hamlets, towns, cities, forts and castles in non-blocked tiles and give them random location names by combining two syllables from an array of three-letter strings. This results in a fantasy book-style map with scattered forests, mountains, hills, swamps, and deserts that hold a plethora of interesting-sounding locations.

Finally, I implemented an A-Star pathfinding algorithm that can navigate a character around obstacles to get to any waypoint on the map (the green and red blocks: green is how far you will move in a single turn before running out of “energy”). I also coded a line-of-sight (LOS) algorithm for use in the combat, which means that eventually projectiles and magic spells could be cast in a straight line but would be blocked by mountains or towns. The light beige blocks are tiles that you are able to attack.

There’s no actual gameplay yet – no enemies or win conditions – but at least you can move around the map.

The game jam is half over: so far so good! Wish me luck on this grand adventure: my quest is to make something that is fun enough to provide some replay value and will hopefully serve as an ideal proof-of-concept for a larger and more polished project over the next few months. I love Ludum Dare (and Orcajam – this weekend’s local game jam gathering).

IN IT – BUT NOT TO WIN IT

Posted by (twitter: @McFunkypants)
Monday, August 6th, 2012 3:44 pm
http://mcfunkypants.com/jam/

http://mcfunkypants.com/jam/

I’m not here to win: just to have fun.

I don’t plan to stay up all night or win any awards. I wonder: is it even worth it to write an “I’m In” post on Ludum Dare anymore? With thousands of participants, no one blog entry is visible on this page for more than a couple minutes. That said, tradition dictates that I enthusiastically declare my desire to be in this month’s LD48. I’m in! Woo!

Platform: web and mobile (android)
Language: either html5 (phonegap) or as3 (stage3d+air)
IDE: SublimeText or FlashDevelop
Tools: 3dsmax, photoshop, cooleditpro

Good luck, everybody! Have fun! Don’t forget to eat! I can’t wait to play your games.

P.S. Shameless plug to the left. If you want to make my day, check it out! =)

 


All posts, images, and comments are owned by their creators.

[cache: storing page]