Best way to handle inventory movement / item drops etc
M
Matthew Spencer
started a topic
almost 5 years ago
Right now the player opens the inventory and clicks an item to drop it on the floor. I have it setup so I trigger an event which removes the item from the database and then on the callback it drops the item. This obviously causes input lag for the player.
How do other games handle this with zero input lag? Ultimately I'd like it to instantly drop the second they tap it.
1 Comment
D
Drosatos charalampos
said
almost 5 years ago
Could you pre-load the whole inventory on game start?
Matthew Spencer
Right now the player opens the inventory and clicks an item to drop it on the floor. I have it setup so I trigger an event which removes the item from the database and then on the callback it drops the item. This obviously causes input lag for the player.
How do other games handle this with zero input lag? Ultimately I'd like it to instantly drop the second they tap it.