Fen Dweller
8830ad3f14
Actually skip the rest of the selection logic on Firefox
6 роки тому
Fen Dweller
bd0b61c745
Fix selection not working on Firefox
For whatever reason, I cannot seem to draw an SVG to a canvas.
Therefore, the selection test function does not work.
The current solution is to just skip the logic in Firefox and
use the standard bounding-box selection.
6 роки тому
Fen Dweller
8221d29040
Allow deselection of an entity by clicking within its bounding box
Clicks that hit the bounding box of any entity were unable to deselect, since
the canvas was not listening for mousedown events. It now is.
6 роки тому
Fen Dweller
9219fef30a
Speed up selection of very large entities
The clicked entity is rendered to a canvas and tested for opacity at that point.
Very large entities caused a very large canvas to be created.
Now, the canvas is limited to 4000x4000 in size
6 роки тому
Fen Dweller
a54c374c86
Allow characters to extend below the 0 meter line.
6 роки тому
Fen Dweller
babcbdcd73
Make the delete and backspace keys remove the currently selected entity
6 роки тому
Fen Dweller
1e83dcd6fa
Add an option to automatically set the world height
6 роки тому
Fen Dweller
9caca6eaf0
Improve menubar. Add button to fit world to current entities
6 роки тому
Fen Dweller
18b0a1ce29
Fix horizontal limits.
6 роки тому
Fen Dweller
b9ff268133
Add a button to order entities by height
6 роки тому
Fen Dweller
0be141f8c8
Fix selection and menu not turning red when hovering with touch controls
6 роки тому
Fen Dweller
80977195c4
Add Sofia. Add clear-all button
6 роки тому
Fen Dweller
fa108e30dc
Construct a new entity each time, instead of using the same one repeatedly
6 роки тому
Fen Dweller
33eda1c94a
Allow spawning of entities
6 роки тому
Fen Dweller
47b6e7fc56
Drag entities up top to delete them
6 роки тому
Fen Dweller
3e1c704328
Add some buildings. Increase default view size
6 роки тому
Fen Dweller
6535cef446
Move characters into their own file. Add default views. Remove info up
top
6 роки тому
Fen Dweller
f4e263247e
Allow scrolling to adjust the world scale
6 роки тому
Fen Dweller
e333dc20b6
Add a building and organize the media
6 роки тому
Fen Dweller
d546583d50
Allow feet/miles. Make entity creation more generic
6 роки тому
Fen Dweller
5fb453272a
Avoid changing an option that was just set
Option fields were getting updated right after a value was entered, preventing more numbers
from being typed. Fields are now skipped if their change was what prompted an update.
6 роки тому
Fen Dweller
dfba32e5aa
Fix width of inputs. Make view inputs numeric
6 роки тому
Fen Dweller
63ad1594ed
Fix positioning of bottom name tags
6 роки тому
Fen Dweller
6ee89ad272
Allow entity selection by clicking the bottom name
6 роки тому
Fen Dweller
dc8b6dd391
Add names below each entity
6 роки тому
Fen Dweller
e4bfb74265
Update view info when switching viwes
6 роки тому
Fen Dweller
f251f25ea6
Update options automatically. Add cool Fen silhouette.
6 роки тому
Fen Dweller
a54cdc1182
Avoid scrolling when touch-dragging
6 роки тому
Fen Dweller
2b05948617
Add (some sort of) support for touch events
6 роки тому
Fen Dweller
16866f4c19
Improve name plate positioning
6 роки тому
Fen Dweller
460c4e738b
Allow for views to be switched between. Hello peppers!
6 роки тому
Fen Dweller
c8a41857b5
Add weight attribute
6 роки тому
Fen Dweller
ca43b2894b
Allow for attributes of a view to be reconfigured
6 роки тому
Fen Dweller
8ffd86c0c4
Set up system for a variety of attributes for each view
6 роки тому
Fen Dweller
8c4c6a18e6
Fix test canvas causing the layout to get messed up
6 роки тому
Fen Dweller
929fe80e9e
Put the images in a div so that a nametag can be added
6 роки тому
Fen Dweller
fe12131393
Wait 200ms before dragging, not 100ms
6 роки тому
Fen Dweller
0629b86f82
Select w/ transparency. Switch to generic man image (goodbye pepper)
6 роки тому
Fen Dweller
436939ad85
Allow the scale of an entity to be edited
6 роки тому
Fen Dweller
322bed6920
Switch to Coda font
6 роки тому
Fen Dweller
72b310a9c6
Give entities multiple views. Allow height to be changed.
6 роки тому
Fen Dweller
3ddff0de27
Prevent a world height of 0 from being set
6 роки тому
Fen Dweller
75a47088b0
Consrain density of y-axis ticks. Add numerical labels
6 роки тому
Fen Dweller
7074f72bb6
Add snapping
6 роки тому
Fen Dweller
07ef85b972
Adjust y position of objects as the world is rescaled
6 роки тому
Fen Dweller
17e86ffc77
Switch to using relative positions (0-1 for x and y) instead of absolute coordinates
6 роки тому
Fen Dweller
2109a9434b
Restyle options
6 роки тому
Fen Dweller
e3e7cd1c75
Allow entities to be deselected
6 роки тому
Fen Dweller
8dd9489af5
Offset entities w.r.t. the entities holder, not the window
6 роки тому
Fen Dweller
2af899c8a2
Allow world scale to be changed
6 роки тому