Comments (8)
[deleted comment]
from as3isolib.
Original comment by jwopitz
on 16 Oct 2008 at 5:36
- Changed state: Acknowledged
from as3isolib.
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.
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.
im checking out from svn every morning so np :)
Original comment by [email protected]
on 18 Oct 2008 at 6:55
from as3isolib.
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.
[deleted comment]
from as3isolib.
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)
- Download link is not working HOT 3
- Memory leak in IsoScene.removeChild
- (IsoContainer::renderLogic) code may need be fixed. HOT 1
- DefaultSceneLayoutRenderer.renderScene() - bug and solution HOT 1
- IsoView, please change zoomContainer from private to protected HOT 1
- Node.as Error 1046: Type was not found or was not a compile-time constant: INode.
- sdffs
- IsoView isoToLocal changes the given point
- Adding the same object twice to an IsoScene
- [fp10]IsoContainer.displayListChildren problem
- scene.addChild sceneRemoveChild issue
- moveTo and moveBy round the numeric input to integers HOT 1
- AS3 Isolib game development
- porting the as3isolib to another platform
- getChildByID is slow (has O(n) complexity)
- Node:getChildIndex slow HOT 1
- Node:removeChildByID duplicates Node:getChildIndex functional
- no built-in depth sorting>?
- Missing dispatchEvent at set x, set y, and set z in IsoDisplayObject
- [deleted issue]
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from as3isolib.