kiigame / kiigame/adventure_engine

Inventory item visibility & scrolling according to width of item images

Open
#95 0 comments 0 reactions 0 assignees View on GitHub
features
Dominant language
JavaScript
Stars
1
Forks
6
Avg merge
2m
Merged PRs (30d)
4

Description

The engine shouldn't resize inventory items, it should be up to the adventure designer to set the size in json. Even in LZ the item image size varies - many are 90x90, which is unfortunately squeezed into 80x80 in inventoryAdd.

Right now the visible inventory size is set to seven items, and doesn't care about the actual width of the item images.

Therefore: calculate the room needed by each inventory item from the item image width.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating inventoryAdd and the JSON item-image size handling. Inspect how the current seven-item visible width is calculated, then verify that inventory space follows each image's width and that item images are no longer resized.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
game-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.