Git Product home page Git Product logo

Comments (8)

SethArchambault avatar SethArchambault commented on September 16, 2024

Yeah I agree this would definitely be preferable. Unfortunately one of the downsides to how I built this (relying on Div tags rather than pure javascript for drawing) makes this pretty difficult.

However, it's inevitable that this will at some point have to be rewritten to support this - single clicking each tile is tedious huh..

Thanks for pointing it out!

from castlefortify.

SethArchambault avatar SethArchambault commented on September 16, 2024

With the latest update to Castle Doctrine, this feature just became a lot more important as bigger maps will become the norm. So after I added new tiles I took a few minutes to look into this and figured it out!

I'm going to test it a little more before I go live with it, but you can try it out here: http://develop.castlefortify.com

from castlefortify.

SethArchambault avatar SethArchambault commented on September 16, 2024

It's up!

from castlefortify.

mjbarker avatar mjbarker commented on September 16, 2024

I've noticed a few problems with it:

  1. When you click and drag, the first tile doesn't get filled in.
  2. Sometimes it's possible to get it stuck 'on' after releasing the mouse button until the next click. To do this:
  • Draw a row of tiles.
  • With the same type of tile selected, drag over the same tiles and release.
  • Tiles are placed without the mouse pressed.

from castlefortify.

SethArchambault avatar SethArchambault commented on September 16, 2024

Awesome - thanks for catching this! The explanation definitely helps me pin it down, appreciate it

from castlefortify.

codetrix avatar codetrix commented on September 16, 2024

Oh I missed this issue... anyway this is fixed along with another Chrome related issue.

Issue #6

from castlefortify.

SethArchambault avatar SethArchambault commented on September 16, 2024

Wow, this is so cool.. you guys are like finding things and fixing them before I can even pick up a laptop. Nice!!

from castlefortify.

mjbarker avatar mjbarker commented on September 16, 2024

Thanks, though I'm sure someone else would have found the issues eventually. I'd consider fixing the issues too, but C++ and Python are more my thing...

By the way, in case you're interested, my handle on the Castle Doctrine forum is Madeus.

Keep up the good work guys!

from castlefortify.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.