Public - Battle System Test Ver0.13a


This is a beta version of thebattle system will be implemented in Ver1.3.

In this test you need to find Hart and fight off the enemies with him. After successfully defeating the second boss, an undisclosed storyline will be revealed.

WARM TIP: Please don't save and read too often, this will cause the enemy's HP to accumulate and prevent them from being knocked out.

I'd be happy if you'd like to test it out and would love it if you'd leave ideas or comments for me to further improve the system.

Thank you!

==========================================================

这是一个将会在1.3中实装的战斗系统的测试版。

在这个测试中你需要寻找哈特并且跟他一起击退敌人。在成功击退第二个boss之后将会出现一段隐藏剧情。

温馨提示:请不要频繁的存档读档,因为会触发一个让敌人叠血的bug,最后血量会高到打不死。

这个战斗系统将在1.3中进一步优化,如果你玩过之后有什么想法或意见可以告诉我,从而进一步做优化。

感谢!

Files

Unknown_Code_Extra_BattleTest-0.13a-pc.zip 73 MB
May 27, 2024
Unknown_Code_Extra_BattleTest-0.13a-mac.zip 67 MB
May 27, 2024
Unknown_Code_Extra_BattleTest-ver0.13a.apk 82 MB
May 27, 2024

Get Unknown Code Extra v1.33b

Comments

Log in with itch.io to leave a comment.

I found a bug during testing. If you have tried equipping the sword and failed, still have the knife, and equip a stick (or bone) if it's the last one, the option to switch weapons disappears, and the game will say that you're now barehanded and have to rely on your claws. The game will still use the weapon you chose though. The bug also appears when you enter battle and select the stick. I think this is caused because on line 540 of 'battle.rpy', you check if all of the weapons are == 0. However, you don't check for the knife, and the player might have something equipped already.

So basically there are 3 bugs:

1) You don't currently check for the knife on line 540 of 'battle.rpy'. This causes the game to show a message saying that the player has no weapons, even if they have a knife. ("现在的你赤手空拳,只能依靠自己的爪子了")

2) You again don't check for the knife on line 327 of 'battle.rpy', this stops the menu option to switch weapons from showing. ("选择武器")

3) You again don't check for the knife on lines 341, 361, 387 and 544.

4) These checks don't consider the currently equipped item either.


For a suggestion, I would move the 'Skill' button to it's own category. Basically it's currently like this:
>Choose weapon

>Battle

>>Skill

>>Attack

>Items

>Run

I'd change it to:

>Choose weapon

>Skill

>Attack

>Items

>Run

If I may, the current weapon system has some maintainability issues. Code-wise at least. This battle test has 5 weapons total: The sword, the knife, the twigs, the wooden sticks, raw bones and technically bare handed too, so kind of 6. Each of these weapons are checked individually in 25 different places throughout the script, and each additional weapon actually adds more checks. If you add a new weapon, and forget any of these places, it'll create a bug that might be rare, and hard to track down. 

I'd be willing to lend a hand in refactoring the code to be more maintainable if you'd like? The idea would be to condense the number of checks by abstracting them, so instead of checking each weapon individually, it checks a list of weapons instead. You can message me on discord at 'rachel02048' to talk further if you want.

Thank you very much for your input!

I have now centralized all the code for weapon selection in order to add weapons in the future without problems.

Regarding the knife, I'm aware of the issue of not being able to display the selected weapon even if the knife is still present after all weapons have been consumed, as this was deliberately designed by me.

Thank you very much for your input again!

I'm glad to hear it! I look forward to the next update and wish you good luck! Implementing an RPG system can be a big task.

(2 edits)

I like this battle system I think it's neat but it needs some work because there's some bugs for  the weapons 

Thanks for your playing and give me a comment!