rukai / PF_Sandbox

A platform fighter sandbox featuring a character editor tightly integrated with gameplay.
GNU General Public License v3.0
41 stars 3 forks source link

Osu style package drag and drop #47

Closed rukai closed 6 years ago

rukai commented 7 years ago

Osu allows easy importing of songs by drag and drop. Similar functionality would make importing packages more intuitive. Click and drag package zip/folder onto PF Sandbox window to unzip/copy it to PF_Sandbox/packages/

Wont implement for Linux as there doesnt seem to be support for it? And its fairly safe to assume that linux users are not afraid of the filesystem.

Windows API: https://msdn.microsoft.com/en-us/library/windows/desktop/ms678405(v=vs.85).aspx Will need to add functionality to winit to handle this.

rukai commented 6 years ago

Turns out winit already supported it! https://github.com/rukai/PF_Sandbox/commit/c4817b6ba7aee013935a0826c95f7826b45caa55