boionfire81 Posted January 1, 2024 Posted January 1, 2024 I think a drag & drop is what I'm looking for. I'm fairly inexperienced when it comes to js. I want something that will allow me to have a background image and players be able to drop in "items" and the script save the location so next time they view the page it looks just like the last time they left. Quote
Guest Posted January 1, 2024 Posted January 1, 2024 Give a look for this, should be easy to use 🙂 Draggable JS – JavaScript drag and drop library (shopify.github.io) Quote
Joseph Miller Posted November 19 Posted November 19 The persistence part is what would decide it for me, rather than the drag interaction itself. Draggable handles the movement, but you'd still need to capture each item's position and save that server-side, then rebuild the layout on load. I'm putting together something similar for a small map-style interface and I'm unsure whether to store coordinates in a database row per item or just keep one JSON blob per user. I came across Compare AI App Builders Side by Side https://aibuildercompare.com/compare while weighing whether a visual builder saves time here. Has anyone handled restoring positions reliably? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.