flackr / dungeon

A D&D based multiplayer role playing game.
13 stars 4 forks source link

Implement cloning map regions. #13

Open flackr opened 12 years ago

flackr commented 12 years ago

Summary

When designing a map there will often be things which need to be replicated and/or moved. We should have some rectangular selection based map tools such as cut / copy / paste and consider having a store of "pre-fab" objects to be able to build a house once and place down several copies of it.

Implementation

We need to support dragging a selection rectangle, and add buttons to the UI. We should probably add event types for region paste type functions to avoid having to send hundreds of updates from a single UI interaction where the clients probably already have the necessary information.