Sign in to follow this  

Drag'n'drop bug in CEF with JqueryUi sortable

Recommended Posts


i was working on an inventory system and wanted to use drag'n'drop like RPG inventory system, it's working on firefox, but doesn't work in game
do you know how to do a drag'n'drop
or tell me if i forgot something.

i included

            <script src=""></script>
        <script src="js/main.js"></script>

and just started a sortable with


function refreshSortableInventoryList()
    connectWith: '.item-cell',
    placeholder: '.item-sortable-placeholder',
    receive: function(event, ui) {

the rest of the code won't be interesting for debug.

Edited by soxzer

Share this post

Link to post
Share on other sites

It wont work this way, something to do with direct X. You can still do it by coding the drag and drop system yourself, by catching the mouse position and moving the object accordingly 

Share this post

Link to post
Share on other sites

Do you know what i have to do with direct X and if i can or if it needed to be done by Direct X themselve.

Have u got an example for a drag'n'drop without any JS drag event ? should i just do something like

On click -> take item under mouse pos -> follow mouse pos each clock -> at click on another case -> drop current clicked item in the case

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.