Do you want me to post progress updates like this?
Added 2021-06-14 00:39:52 +0000 UTCI didn't disappear. In fact, I check every outlet I'm on daily. I just don't think stuff that isn't content is worth anyone's time.
But I appreciate that most patrons will probably have some expectations and want an update.
Redone most of the pregnancy and xray code. Considering how much focus there is on pregnancy I couldn't leave it as is. I am mostly happy with the logic this time. At least I am confident I'll be able to maintain it and add to in the future.
More about mechanics:
Womb and guts are 5x7 arrays. So there are 5 slots and 7 tracked values per slot. Exceeding 5 different filler types will do nothing.
What's tracked: birth/growth script id(serves as unique id per filler as well), xray script id(serves as unique id for filler size), single qty sprite id, color variation, counter to birth/growth script execution, value per quantity table, quantity.
Humanoid counter goes down every time transfered to the real world, abnormal filler counter goes down every time transfered to the dream world. By default, every counter is 3.
Once it reaches zero, counter goes up by 1 and the birth/growth script is added to the execution queue.
The queue tries to execute any outstanding scripts every 10 seconds until there are none left. These only execute when the MC is idle.
Each filler type has a chance to either grow or to "expel", with "expel" getting more likely the larger it gets. Eggs generally come is 5x5, 8x8, 12x12, 16x16, 32x32, 48x48. Pregnancy will always progress until stage 9, then it might go to 10 or may add the birth script to the queue
When the birth scene executes, the array slot is cleared.
Birth script, the scene... is not ready yet. What I'm aiming for is the animation on my pixiv.
A filler's properties are as follows in example:
global.en_egg16_clear = [sc_egg16_clear,xr_egg16, sp_egg16_clear, c_white, -3, [0,5,7,9,11,12,13,14,16,17,18], 10, [0,13,13,13,13,16,16,16,19,19,19], 10]
global.en_egg12_pink = [sc_egg12_pink, xr_egg12, sp_egg12_pink, c_white, -3, [0,3,5,6,8,9,9,10,11,15,18], 10, [0,8,8,8,8,8,13,13,16,16,19], 10]
sc_egg12_pink - is the execution script when the counter is done
xr_egg12 - is the xray script
sp_egg12_pink - is the sprite for the egg
c_white - default color
-3 - is the counter
[0,3,5,6,8,9,9,10,11,15,18] - stomach size per qty (womb)
10 - max quantity
[0,8,8,8,8,8,13,13,16,16,19] - stomach size per qty (bowels)
10 - max quantity
Stomach size now depends on the largest value instead of the combined total between all types. And +1 to stomach size per filled slot that doesn't have the largest value. So 6 x en_egg12_pink will set stomach size to 9(out of 22 as th e current max) and having two other filler types that are less than 9 value will add 2 more points, for a total of 11.
Same applies to the xray: only the largest anal filler and uterus filler is visible. Though humanoid pregnancy will remain as is, allowing mixing. Adjusted position values and made 5 to 7-plets properly positioned. Adjusted stomach size values. Eggs now appear up to 8 in xray form, before switched to an egg "texture"
What I'm currently doing:
Setting x and y coordinates for every egg and pregnancy that's missing them for xray. Mostly it's adjusting stuff that became out of bound because of new stomach values or ones that were missing to begin with. Tedious busy work.
Have just only started doing the animation code. Scene mostly seems to be the same, just different at what's being expelled, how much and from where.
Expelled eggs will be static sprites on the map, humanoids will send MC to a dream on scene end and are removed. Having any kind of nursery function is way over the scope I can achieve at the moment.
I think I can finish xray positioning today. As for the birth animation, it largely depends how much work gets piled on me.
On a side note, I've discovered that I can cram about 50 NPC's into a room, with the current code that Rin runs on, before tanking the frame rate under 60. This is CPU bound and I'm running on Ryzen 3700. Not sure whether I can leave it at that.
Comments
Updates just keep us informed and let those who don't follow your posts elsewhere to know you haven't stopped working on your project. I for one would appreciate it but it doesn't have to be daily or anything.
Terra Blade
2021-06-26 22:03:38 +0000 UTCI like to read stuff like that from time to time. Its shows how much work goes into such a thing and helps understanding it. I think people sometimes need to know the details to not get feisty and "demand progress". Knowlege helps understanding.
Kerenga
2021-06-14 21:09:07 +0000 UTCI'm interested to hear what you've been working on whenever you feel like sharing.
Lithoboli
2021-06-14 05:39:26 +0000 UTC