kiigame / kiigame/adventure_engine

Define in json whether an object will have a hitregion

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

Description

Right now, in Lätkäzombiet, several items are hardcoded to have no hitregion: tactic_board_wiper, tag_on_wall, marker, library_receipt, hairkeeper, all the showers.

There should be a flag in the object definition in the json which defines if the hitregion should be made or not.

It affects if the transparent part of the object's picture can be clicked or not: if the object has a hitregion, you can only click on the visible parts, otherwise you can click on a seemingly empty spot and still connect to the item.

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the JSON object definitions and the code that creates hitregions and handles clicks. Use the listed objects as regression cases, then verify that the new flag controls whether transparent image areas can be clicked while preserving each object's intended behavior.

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
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.