GithubHelp home page GithubHelp logo

New feature about as3isolib HOT 8 CLOSED

road0001 avatar road0001 commented on June 14, 2024
New feature

from as3isolib.

Comments (8)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 14, 2024
[deleted comment]

from as3isolib.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 14, 2024

Original comment by jwopitz on 16 Oct 2008 at 5:36

  • Changed state: Acknowledged

from as3isolib.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 14, 2024
so this is basically the same as the IsoView's pan method.  The IsoDisplayObject
would move from rather than move to.  Relative coordinates vs Explicit 
coordinates. 
I will certainly consider this as it would be nice to say move something by x, 
y, z
rather than having to know specifically the targeted x, y, z.

Original comment by jwopitz on 16 Oct 2008 at 5:39

  • Changed state: Started

from as3isolib.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 14, 2024
added moveBy(x:Number, y:Number, z:Number) to IIsoDisplayObject and its 
implementers.

Committed to SVN and will be available in next build.

Original comment by jwopitz on 17 Oct 2008 at 9:09

  • Changed state: Done

from as3isolib.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 14, 2024
im checking out from svn every morning so np :)

Original comment by [email protected] on 18 Oct 2008 at 6:55

from as3isolib.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 14, 2024
Hi, I think you misunderstood me or I misunderstood you :)
Did you check attached diff? Your implementation totally differs from what I
suggested and pan method does different thing also. Could you check
http://www.gbox.lt/moveByGridTo.jpg (or attached image) I think it will be 
easier to
understand.

Original comment by [email protected] on 18 Oct 2008 at 8:09

Attachments:

from as3isolib.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 14, 2024
[deleted comment]

from as3isolib.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 14, 2024
I understood what you were saying and it led me to add the relative position 
method
(unrelated to the feature request).  Honestly, I am not sure I want to tie any
grid-based logic into the lib as that would most likely be an 
implementation-specific
feature for whatever application you decide to use it on.  

You could easily implement that change yourself if you need this logic.  Given a
specific grid with a specific cell size, you pass in the relative pan 
coordinates (x,
y, z) which would be multiplied by the cell size and then += to the object's 
current
position.  This would be probably best implemented on a utility type class.

Hope that helps you.

Original comment by jwopitz on 18 Oct 2008 at 6:35

from as3isolib.

Related Issues (20)

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.