Menu
News
All News
Dungeons & Dragons
Level Up: Advanced 5th Edition
Pathfinder
Starfinder
Warhammer
2d20 System
Year Zero Engine
Industry News
Reviews
Dragon Reflections
White Dwarf Reflections
Columns
Weekly Digests
Weekly News Digest
Freebies, Sales & Bundles
RPG Print News
RPG Crowdfunding News
Game Content
ENterplanetary DimENsions
Mythological Figures
Opinion
Worlds of Design
Peregrine's Nest
RPG Evolution
Other Columns
From the Freelancing Frontline
Monster ENcyclopedia
WotC/TSR Alumni Look Back
4 Hours w/RSD (Ryan Dancey)
The Road to 3E (Jonathan Tweet)
Greenwood's Realms (Ed Greenwood)
Drawmij's TSR (Jim Ward)
Community
Forums & Topics
Forum List
Latest Posts
Forum list
*Dungeons & Dragons
Level Up: Advanced 5th Edition
D&D Older Editions
*TTRPGs General
*Pathfinder & Starfinder
EN Publishing
*Geek Talk & Media
Search forums
Chat/Discord
Resources
Wiki
Pages
Latest activity
Media
New media
New comments
Search media
Downloads
Latest reviews
Search resources
EN Publishing
Store
EN5ider
Adventures in ZEITGEIST
Awfully Cheerful Engine
What's OLD is NEW
Judge Dredd & The Worlds Of 2000AD
War of the Burning Sky
Level Up: Advanced 5E
Events & Releases
Upcoming Events
Private Events
Featured Events
Socials!
EN Publishing
Twitter
BlueSky
Facebook
Instagram
EN World
BlueSky
YouTube
Facebook
Twitter
Twitch
Podcast
Features
Top 5 RPGs Compiled Charts 2004-Present
Adventure Game Industry Market Research Summary (RPGs) V1.0
Ryan Dancey: Acquiring TSR
Q&A With Gary Gygax
D&D Rules FAQs
TSR, WotC, & Paizo: A Comparative History
D&D Pronunciation Guide
Million Dollar TTRPG Kickstarters
Tabletop RPG Podcast Hall of Fame
Eric Noah's Unofficial D&D 3rd Edition News
D&D in the Mainstream
D&D & RPG History
About Morrus
Log in
Register
What's new
Search
Search
Search titles only
By:
Forums & Topics
Forum List
Latest Posts
Forum list
*Dungeons & Dragons
Level Up: Advanced 5th Edition
D&D Older Editions
*TTRPGs General
*Pathfinder & Starfinder
EN Publishing
*Geek Talk & Media
Search forums
Chat/Discord
Menu
Log in
Register
Install the app
Install
Community
Meta - Forums About Forums
Meta
Other tools for PbP games?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="pneumatik" data-source="post: 5323059" data-attributes="member: 21087"><p>I've been thinking about how to implement an online battlemat easily and cheaply. I would build a table of square cells with cellpadding = 0 and cellspacing = a couple of pixels. The cellspacing would be colored black or white to make the grid. Each cell would have its own square image that exactly fills a table cell. The edge cells would have numbers or letters in them for reference. And that's the starting battlemat.</p><p></p><p>There would also be icons for PCs, monsters, whatever. They'd have a transparent background and would also go centered in a cell. So now you have a battlemat with stuff on it.</p><p></p><p>To build the battlemat you tell the site how large you want it to be (or there could just be a standard size) and it generates an empty table with a checkbox in each cell. Below the table would be a a set of images. You'd check boxes in all the cells you want a particular background and and then click the background to put it in all those cells. Once you've filled all the cells with background you'd go to a similar screen with the icons to place in cells over the background images. Ultimately you want to be able to put multiple icons on top of each other for stuff like grappling and tiny monsters. Hopefully ENWorld could get someone to make some basic map tiles, but people should be able to upload their own images sets, too.</p><p></p><p>The simple version of permissions is to restrict editing to just the DM or allow anyone to change anything. The awesome version would be to let the DM move everyone and players only move their icons. Maybe they could also upload those icons themselves. To move you just go into the "edit" mode for the battlemat, click your icon, and then click the square you want it to move to.</p><p></p><p>More awesomeness would allow you to set mouseover or popup text (like the site's xp popup) for each icon to keep up to date with PCs. Even better would be to make that text editable directly, so you could edit HPs or mark off cast spells or annotate buffs directly from the battlemat.</p><p></p><p>So, yeah, that's a wall of text, but I think the html is at least straightforward. There's no fiddly adjustments to make things line up and no image processing for the site to do. I have no idea how hard it would be to program though.</p></blockquote><p></p>
[QUOTE="pneumatik, post: 5323059, member: 21087"] I've been thinking about how to implement an online battlemat easily and cheaply. I would build a table of square cells with cellpadding = 0 and cellspacing = a couple of pixels. The cellspacing would be colored black or white to make the grid. Each cell would have its own square image that exactly fills a table cell. The edge cells would have numbers or letters in them for reference. And that's the starting battlemat. There would also be icons for PCs, monsters, whatever. They'd have a transparent background and would also go centered in a cell. So now you have a battlemat with stuff on it. To build the battlemat you tell the site how large you want it to be (or there could just be a standard size) and it generates an empty table with a checkbox in each cell. Below the table would be a a set of images. You'd check boxes in all the cells you want a particular background and and then click the background to put it in all those cells. Once you've filled all the cells with background you'd go to a similar screen with the icons to place in cells over the background images. Ultimately you want to be able to put multiple icons on top of each other for stuff like grappling and tiny monsters. Hopefully ENWorld could get someone to make some basic map tiles, but people should be able to upload their own images sets, too. The simple version of permissions is to restrict editing to just the DM or allow anyone to change anything. The awesome version would be to let the DM move everyone and players only move their icons. Maybe they could also upload those icons themselves. To move you just go into the "edit" mode for the battlemat, click your icon, and then click the square you want it to move to. More awesomeness would allow you to set mouseover or popup text (like the site's xp popup) for each icon to keep up to date with PCs. Even better would be to make that text editable directly, so you could edit HPs or mark off cast spells or annotate buffs directly from the battlemat. So, yeah, that's a wall of text, but I think the html is at least straightforward. There's no fiddly adjustments to make things line up and no image processing for the site to do. I have no idea how hard it would be to program though. [/QUOTE]
Insert quotes…
Verification
Post reply
Community
Meta - Forums About Forums
Meta
Other tools for PbP games?
Top