Разные классные фитчи / Various cool features
В прологе седьмого эпизода я реализовал несколько классных вещей, которыми горжусь. Они сами за себя говорят в игре, но мне захотелось отдельно упомянуть их в этом посте:
- На площади жизни есть торговец, который даёт разной величины скидку на свои товары в зависимости от действий Родинки, но самое главное — он продаёт белое платье в одном единственном экземпляре! Мне никогда не нравилась системы магазинов и инвентаря в jrpg; уж простите, но я рос на Morrowind.
- И говоря о белом платье, все изображения Родинки в прологе седьмого эпизода учитывают, что Родинка будет носить его. Видел ли кто-нибудь это? Я сомневаюсь.
- Заклинание "Абсолютное Пространство" вышло почти таким, как я и хотел. Магический пузырь, чёрно-белое изображение, а самое главное — при любом действии героини заклинание сразу же рассеивается. Было бы идеально сделать мир вокруг пузыря застывшим в моменте, но я даже не начинал думать, как это реализовать.
- Один парень просит Родинку отвлечь внимание командира, и сразу же после диалога, когда она идёт выполнять просьбу, парень подходит к углу здания. Это простой шаг вправо, но мне нравится эта мелочь.
- Помощь пьянице в саду тоже полна мелочей, то он засыпает, то останавливается и начинает искать монету, там много разных действий, а в одном месте он даже зажимает Родинку в укромном месте и говорит, что...
Самое забавное, что реализовано в этом «квесте»: при отказе дать помять/пососать грудь, пьяница откажется идти дальше, и его придётся толкать, как в сокобане. Вариант с застреванием и невозможностью двигаться дальше тоже продуман.
- Про палатку Лоуренса и Родинки / Родинки я уже писал, по сути, это один уровень, но с двумя названиями. Рад, что реализовал это, в будущем будет проще работать с основным сюжетом.
- В событии с Ниникой сделал так, что маленькие спрайты персонажей сдвигаются ближе друг к другу и отдаляются. Смещение идёт на небольшое количество пикселей по X и по Y.
- Сценой управляет особый ивент, который переключает наложение кулис: если героиня на сцене, то кулисы под ней, а если она идёт за кулисы, то они накладываются над ней.
- Так же я реализовал запоминание "запачканного" платья, можете запачкать любое, не бойтесь, Родинка вспомнит, какое нужно постирать.
- Если утром выйти на улицу голышом, Боси может пройти мимо и не полюбоваться на прелести Родинки. Не обижайте Боси, не делайте так.
///
In the prologue of episode seven, I've implemented a few cool things that I'm really proud of. They speak for themselves in-game, but I wanted to give them a special shoutout in this post:
- In Life Square, there's a merchant who offers varying discounts on his goods depending on Rodinka's actions, but the most important thing is that he sells a white dress — and there's only one in stock! I've never been a fan of shop and inventory systems in JRPGs; sorry, but I grew up playing Morrowind.
- And speaking of the white dress, all of Rodinka's images in the Episode 7 prologue account for the fact that she'll be wearing it. Did anyone actually notice that? I doubt it.
- The "Absolute Space" spell turned out pretty much exactly how I wanted it. It creates a magic bubble with a black-and-white visual effect, and the best part is that the spell instantly dissipates if the heroine takes any action. It would have been perfect to freeze the world around the bubble in time, but I haven't even begun to think about how to actually implement that.
- There's a guy who asks Rodinka to distract the commander, and right after the dialogue, as she walks off to do it, the guy steps over to the corner of the building. It's just a simple step to the right, but I love that little detail.
- Helping the drunk in the garden is also full of little details: he falls asleep, stops to look for a coin, and there are all sorts of little actions. In one spot, he even pins Rodinka against a wall in a secluded spot and says...
The funniest part of this "quest" is that if you refuse to let him knead or suck Rodinka's breasts, the drunk will just refuse to walk any further, and you'll have to push him along like in Sokoban. I even accounted for the edge case of getting stuck and being unable to move forward.
- I've already written about Lawrence and Rodinka's / Rodinka's tent. Essentially, it's the same level, just with two different names. I'm glad I got this working; it'll make handling the main plot much easier down the line.
- In the event with Ninika, I made it so the small character sprites shift closer together and then move apart. The offset is just a few pixels along the X and Y axes.
- The scene is controlled by a special event that toggles the layering of the stage wings: if the heroine is on stage, the wings are rendered behind her, but if she walks behind the wings, they're rendered in front of her.
- I also implemented a memory system for "dirty" dresses. Feel free to get any of them dirty, don't worry — Rodinka will remember which one needs to be washed.
- If you go outside naked in the morning, Bosy might just walk right past without admiring Rodinka's charms. Don't be mean to Bosy, please don't do that.