Posts: 172
Threads: 14
Joined: Oct 2017
12-17-2017, 05:01 PM
(This post was last modified: 12-19-2017, 01:16 AM by GwynMil.)
Small updates.
- Styled user profiles a bit more. Figured out how to get (some of) the necessary info on the profileview page instead of dragging it all in from class_userprofile or wherever it was. So currently the profile code is a total mess, parts are mix 'n matched across a bunch of files. But at least it LOOKS perfectly normal, and works, so... I'll do the chore of cleaning it up later.
- Introducing the Scroll items! You can teach spells to griffs and use them in battle. Will later expand these to use elements, include non-magic skills, and must make a page somewhere to list details about them all, like MP cost, effects and which griffs can learn them.
- Haven't tried adding stat-boosts to wearables yet, but I had an idea as to how it might work. Which is currently eluding me again, but I'll come back and note it later.
- Haven't had any luck making user wearables. Items give message and vanish as they should, but refuse to actually do anything to user tables. Hmmm.
If all else fails, I can set up some pre-made skin/clothing/scenery options to appear on profile, for some limited character customisation. Would prefer to either use clothing-items or have them permanently unlocked from a list, like achievements, later.
- Realised the battle system (really just a bunch of jQuery divs and buttons) could actually be used for NPC conversations, quests and other scripted story things. So I'm gonna test these ASAP.
- Been plotting The Big Chart (ooo *shudders*) of possible griff breeds, it's linked in the Breeding Change thread. Currently rushing to draw and add another pure breed and its hybrids, just so we have a proper range of "breed genes" to test the new system with. Right now there are only 3 and that's not really enough.
Oh, and note: all marking and wearable layers are currently disabled, because they haven't been drawn for the hybrid breeds and that would break their images. Griffs can still inherit marks and wear/take off items as usual, but they're not visible on images. It'll be a long time til these are shown again... my first priority is to get all the new linearts and base body-parts ready. After that, can think about redrawing markings etc on them.
18 Dec:
- managed to redo the adopt page table in HTML but it also broke the radio button/adopt function for some mysterious reason. Bah. So it's reverted back now. Will try again later.
- added a big palette of nicely-chosen hex colours for those generated griffs, but so far the combinations are still hideous! Argh. Do we have to limit the main bodies to only have natural colours? (white, greys, browns, red, gold, black) That seems the only option... I guess users can still buy more exotic coloured griffs from the shops.
- created page 'npctalk' with demo of an NPC conversation. It leads to a choice of 2 battles. Only just started the first though. It takes a surprisingly long time to think up these dialogue options...
Posts: 172
Threads: 14
Joined: Oct 2017
24 Dec: still drawing lotsa griffs! Posting them in the breed thread.
Done a bit of styling on the Manage pages. Also made it so that you can't tell the breed or sex of eggs anywhere. They should always appear as '???'. Y'know, because surprises are fun, and you should be able to guess the breed from ancestors anyway.
Also been thinking about how to do a public breeding system. Males put up for stud, for a price. I suppose... set up new DB table for stud offers, make a copy of the pound layout to list them all, and then - slightly trickier - make an interim page that displays the male's info and also the user's active griff's info (must have a female selected). After comparing genetics etc, click button to confirm the breeding. I guess it'd use the same breeding script and destination-page as usual.
And genetic stuff. Suppose there'd be nothing wrong with having 2 genes for every* marking/eye/horn. Like recessives; only the first slot is what's visible on the griff, but they can carry something different in the second slot. The only way to guess the hidden gene is to breed them and see if chicks get unusual results.
* except the paint marks, ugh no, those will be complicated enough without the possibility of passing down different ones! For these genes, what the griff has is what it displays.
Actual dominant/recessive interactions are a bit too complex right now, so it's just about slot order. A tiger/leopard griff will be striped, and leopard/tiger will be spotted. Choice of parents matters.
Could add an item in the future that switches these genes around, so the hidden one becomes the main one. Griff owners are advised to try and work out what the hidden genes are, to avoid any disappointing surprises (the hidden slot could be None, or the same as the main one).
Finally... stats, 'level up' etc. Need to do some more planning about these.
Would be nice to have solid RPG-like skill levels, up to maybe 20 or 50 or 100 (?!) based on EXP or sth. Maybe the same EXP currently used for growth stages? Hmm.
Anyway, I'm seeing this a bit like Howrse's Genetic Potential system. During the 50 or so levels, each breed will increase stats in its own way. A bulky Rampant or Persian will grow defence a lot, while barely increasing agility, etc. This would encourage hybrids etc, for players who want to try different 'builds'.
The bonus growth stage, Grand, could be the reward for reaching max level.
As for how to reward higher levels of training/achievements, and pass down a small amount of stats to offspring... thinking about that.
Posts: 172
Threads: 14
Joined: Oct 2017
01-09-2018, 05:19 PM
(This post was last modified: 01-09-2018, 05:34 PM by GwynMil.)
9 Jan (how time flies!) :
- Undid the 'hidden breed for eggs' thing, it was pretty stupid. They're already given the breed name by default, and in the future (when art is finalised) every breed might have a unique egg shape (you know, texture, size, patterns etc). Sex is still impossible to tell though, as it should be.
- Been redoing chunks of my battle system code. Nearly finished. Need to add checks for griff's adornments and elements before start of battle, to apply the stat boosts/losses, and then... figure out an elemental triangle thing, with modifiers for damage taken. 8 elements, aaah!
- Started messing round with CSS border images, and the main page div is looking nice! I think. Even though the design is scribbly and basic lol. Any page could have custom borders, backgrounds, body-backgrounds and anything else. But I don't have time to paint any more stuff now, nor try the menu/footer...
- Have tested some of the new breeding code offsite. It works, mixing parents' alleles and combining strings into new genotypes to look up in table. Only got ONE MORE BREED LINEART TO DRAW WOOHOO (can you tell these have become a chore?) and then will hastily fill and upload them, just to test the one base colour. Will need to set up database table to hold the... several hundred?? hex colours. Yay. But if that part works, then I can move on to eyes, horns, other body parts and markings, all with own genes too. Can't wait!
- Also have planned how to handle extra mutations: albinism, melanism, erythrism, xanthism, axanthism, anerythrism, leucism... and possibly we could add a couple more fantasy ones, that only affect blue pigment, since that's a bonus part griffs have here. I have to wait a while before properly plotting out all those colours though!
- Note to self: set up a simple Imagick script for the item dropdown display.
- And until I can be arsed to draw the next bunch of pixel sprites, temporarily use the 'main image' script for griff thumbnails.
- Think about how griff and user profile layouts could be fancified, now I've figured out this new border thing.
Posts: 172
Threads: 14
Joined: Oct 2017
01-15-2018, 06:30 PM
(This post was last modified: 01-17-2018, 06:43 PM by GwynMil.)
15 Jan
- Added health, energy, trust bars. They'll replenish daily, the first time owner visits their griff's perch. Not much use for them yet, except that battling takes some energy and losing battles has a chance to take health too. Later there'll be more to do with these stats.
- Also added natural aging. If a griff is not yet adult, they'll gain a growth point every day until 7 points, then they move to next stage. You can see the time on the perch page: 'incubating for X weeks' or 'growing for X weeks'.
If griff is adult, they gain an age point instead. This will later be used for retirement (lifespans).
All of these can be ignored (griff effectively frozen) if owner doesn't visit their page. Young griffs can still be aged 'elsewhere' with EXP items and other people clicking them from profile.
- Thinking about the freezing feature. It lets users pause their griffs so they don't accept any clicks (EXP) from others. But I plan to add extra actions to do with young griffs (playing etc) to boost skills a little. It wouldn't be fair if some users could keep them in this stage forever, for huge stat boosts before eventual adulthood. So the natural aging will still apply to frozen griffs. Every user has up to 7 days to do bonus things.
... alternatively, if someone REALLY wants to keep their chick all tiny and cute-looking forever, frozen status could mean extra actions are blocked, along with natural ages/healing being disabled.
- Worked on battle system a bit more. Tidied up some things. Added basic status effects and attack modifiers. To be continued...
Also from looking at others' mods, it seems AJAX may actually be useable here (and in explore, other systems) after all... but I don't have a clue about it yet, lol. Gonna think about it later.
- Noticed some nasty weirdness in flock pagination. Griffs not showing up at all, or showing up on every page, etc. x_x Same issue with breeding too.
I assume (hope!) this is purely due to the deleted griffs earlier, screwing up the DB table. They do show up in bizarre orders there. Hopefully when I wipe that, the new flocks will work normally.
- Thinking about maybe adding randomly-generated names to the adoption, buying and breeding processes. It would add a little flavour, and help users to differentiate between heaps of eggs. Breed names are boring anyway!
The new names could be based on genetic traits; dark-element chicks are called Shadow, Midnight, Umbre etc... air-elements are Breeze, Storm, Gale, Whirlwind... and if they have a special mutation like albinism (even one allele, so not expressed) the name would be Snowy, Light etc. That would be a cool hint.
17 Jan:
- done some fiddly stuff with background and wearable items. Now the item names and their values can be different. For example the "Blue and Gold Collar" (names can have spaces now, yay!) is actually stored as "BGCollar" in griff table, and Imagick uses that short version, as it can't handle spaces.
- finally got user-changing item function working! Now this can be used to change user's own background, wearables, craft licence, reputation, faction, stats, battle skills... the sky is the limit.  Need to set up a page for all their customisation, which will include the functions to remove bg/items. Just like the griffins' perch pages. First, will need to actually draw some basic bodies and wearables...
- started a Surprise item function, that will give user a random amount of money and some other items. There should be ranges, so a lucky bag gives small prizes while an ancient treasure chest gives massive prizes. Will finish this tomorrow.
- also been thinking about adding companion creatures (familiars? pets? whatever you call them). Shouldn't be too hard... they could give stat boosts in battle, or unlock unique spells. Or... all sorts of effects and bonuses, really! Not to mention unlocking avatars and achievements by collecting lots of types.
Problem is that I'd like to treat these differently to other items. Ideally they'll not appear in normal inventory, but listed on own page somewhere. And they can be 'bred' to get new companions - just like the normal crafting system, but again, on a page exclusively listing them. Not sure how many scripts will need to be changed or duplicated for this.
Posts: 172
Threads: 14
Joined: Oct 2017
01-22-2018, 08:19 PM
(This post was last modified: 01-27-2018, 09:59 PM by GwynMil.)
Ooookay! You may notice the fancy new linearts! And a bunch of extra genetic bollocks on profiles! And hundreds of disappeared griffs! And possibly some freaky errors here and there? .. sorry if that happens >.>
Just had to do a LOT of major alterations, whew. Adding 4 breeds and renaming the other 6 (which got super messy due to how levels are stored in another table, but it's cleaned up now), graphics overhaul, big pile o' DB changes. Griffin population was cut from 300-ish back down to 33, and the auto_increment reset. Yay, so I got to preserve a few original favourites
I haven't yet had time to colour all the bases' body parts (eyes, horns, wing feathers) or any markings. There are 100 linearts, FFS. But the new hex colours are working on bases at least.
edit: done! Breeding works. Gotta do a bunch more testing to see if ALL genotype and breed combos work properly.
(note that some colour 'mixes' can give odd results if parents are actually at opposite ends of the spectrum... oh well, the point of a breeding game is that you pay attention to genes and selectively breed to get the combo you want. Something that looks visually similar may be totally genetically different!)
edit 2: adoption works. If you don't enter a name it'll choose from a random list of names. I'll fix the shops now...
Also thinking about eye colour genetics, and maybe horns. Instead of simply passing these down directly, use a pair of alleles to determine them. Then they can be colourised by hex colours too (instead of me having to pre-draw loads of versions) and that "visible" hex colour on the coat can be different to the actual genes. So an albino's black horns will appear white, but when breeding, they can still pass down black genes.
26 Jan:
- adding some item types that change genetics. It's a bit fiddly. Ought to finish the Surprise item functions too...
- managed to get the new explore demo working, it's currently at the bottom of the Market page, I can't be arsed to move it yet lol. Need to make some new graphics and animated sprites, figure out how to arrange them in JSON sprite sheets, change the map layout... and then make certain tiles interactive. Ideally using jQuery to update/hide/show various divs, with preset NPC portraits, messages and PHP buttons that will give/take items, change location and start quests etc (since AJAX isn't quite useable yet).
- also done some thinking about how individual griffs' locations can be tracked. The idea is that you go to Explore page and a seer-looking NPC says "GRIFFNAME is currently in PLACENAME." You have several buttons: "Go and command them" to view that particular map and let them run around, "Check their info" to see their perch page, "Summon them home" to bring them back to the starting area, or "Check on another griff" to go and switch your active griff to another one.
Every griff is sorta individual in that you can send them exploring alone, fighting 1v1 battles etc. You might assemble a bunch of super battlers and send them out in different directions to reach tricky areas.
(yes, this game is unconsciously morphing closer to my earlier idea o.O Where there's a fancy map/realm made of loads of small areas, to individually traverse and gain unique resources from. Hmm, ambitious but looking more possible now!)
- been wondering about how to make stat/skill numbers more interesting. The Howrse-y way is perfectly functional but pretty dull - just level up parents to max and offspring gain a few more inborn points, repeat over and over...
- Also, other traits/abilities certain griffs can have. For example the female Achaemenid has a scorpion tail... I thought it'd be cool if some produced lethal poison, others could merely slow/stun/confuse the enemy, or even produce various kinds of healing substances (native breeders would have many uses for this).
Buuut, I don't want to accidentally copy BeastKeeper's genetic system. :/ So will think about other creative ways to handle traits. Besides, I don't think all breeds will have them, only a few weird ones.
27 Jan:
- added companion creatures and treasure items. You can buy them from the shops on Market page. I'm outta time right now so they're just random old drawings from my DA lol. Giving them is functional, and if you give another the old one will be returned to your inventory. But the removal functions on perch page aren't working... and I'm not yet sure how to duplicate and change the griff-rename function to work with companion's name instead.
- Colourstones are the new item type that changes griff colour. The single Stones are used on eggs, the Coils are for adolescents or adults only. After use, you'll be left with chargeless stones. Later it'll be possible to recharge their magic, or craft them into jewellery/armour etc.
In theory, you'll be able to collect 3 Stones and combine them into a Cluster, then combine two Clusters and a magic chain to get a Coil.
Alas, I've hopelessly broken the crafting. ;_; Tried to add a 3rd item slot but uhhh. Yeah. Don't go there right now lol
Posts: 172
Threads: 14
Joined: Oct 2017
01-28-2018, 05:32 PM
(This post was last modified: 02-08-2018, 08:23 PM by GwynMil.)
28 Jan:
- yay, after several days of checking, eggs are hatching and young griffs are growing naturally! So I don't have to edit any of that code.
- also just realised the problem with the remove companion/treasure functions: I didn't include the public functions on the non-view page. I am such a dumbass. They're fixed now.
- thinking about adding small rewards every day when a user visits griffs. "X was scratching around and found a tiny jewel in the dirt" or "X left a few warm feathers/bits of shed armour behind". This would be cool with Achaemenids; keep visiting them for small chances to pick up their lost gems or bits of scorpion tail.
And/or just good old poo. Use it for manure in quests, growing plants or sth. Pegasus poo would be best for that.
Otherwise, gonna be busy working on my own website for a little while. Includes detailed write-ups of the battle system, genetic stuff and other features. My replacement debit card should arrive soonish - I'll finally be able to buy hosting for both sites.
7th Feb (wtf, where's the time going?)
- Added a dashboard-like Activity page which tracks all recent adoptions, breedings, abandonments, item usage and purchases. Later will extend this so it includes item sales, exchanges, crafting results, friend request stuff, public stud acceptances, battle results, quest log, errr other stuff.
- OMG these bases are doing my head in. 100 griffs. 100 sets of little eyes, horns/claws, nostrils, pawpads, several body parts to colour per body... and this is without any kinds of markings yet! Aaaaaaaa. Damn I hope the results will be worth it, once the genetic code is (massively) extended to cover every part. I'm guaranteed to have some headaches...
- got basic locations working. Go to Explore page and if you have an active griffin, you should see their current location listed, and have options to travel to other places. If you try to view the page of a location they aren't in, you'll get a message.
Next I'll set up another table to keep track of every location each griff has ever visited. This will allow to count/list all former inhabitants. Will be a nice detail to list on the world map entry for each area
(note to self - travelling should take some of griff's energy... and exploration should not be possible if griff is too unhealthy, or hates owner)
Posts: 172
Threads: 14
Joined: Oct 2017
02-12-2018, 03:55 AM
(This post was last modified: 02-15-2018, 04:30 PM by GwynMil.)
11 Feb:
- Randomly decided to add a totally pointless but maybe-cool feature: 'relationships'. You can choose up to 9 other griffins and write a little about them, and they'll be featured on your griff's profile.
This could be used purely for game purposes; track certain relatives, make note of interesting griffs you plan to breed this one with, elite griffs you want to try battling, etc. Or story writers/roleplayers may like it, as a way to feature other 'characters' who are linked to this one. It's totally open, could be used for any purpose.
Anyway, you can view these on manage and profile pages, and edit the details for each 'acquaintance' on the manage page.
To add new relations, visit the public profiles of other griffs and click the Befriend button.
If you don't have an active griff yet, button should say 'No active griff!' - you can go to any manage page and set one as active.
If all 9 of their relation spaces are filled, button should say 'No space left!'.
It's best to load each page one at a time. If you click Befriend on some griff's profile even after all spaces have been filled elsewhere, it will update anyway, overwriting the 9th slot with new griff. So be careful about that.
Also, manage page slightly tidied up (only if companion creature and/or treasure are present, you'll get options to rename or remove them) and those two things appear on public profiles too. Messy CSS - the whole profiles need redesign - but still.
The rename, biography and 'make active' buttons/functions should be nice and sleek too.
I'll add this nice jQuery organisation for the other options soon (wearable stuff).
Edit: yikes! If no active griff, everything completely breaks. I guess I messed up the top header thing - it was attempting to get name and link for nonexistent griff (0) even after the message was "None!". The closing bracket was in a stupid place >.<
I've fixed it now, so if you don't have an active griff, everything should work. Just that you get messages about it when trying to battle or explore.
14 Feb:
- added the skill box on manage page. Haven't actually added numbers in DB yet - gonna need some more planning - but the display can be designed for now. There are extra boxes for info about each skill. What kinds of task it's useful for, how it can be learned, and which breeds are best at it. Well, that stuff needs writing.
NOTE TO SELF (so I don't forget) - could also keep track of 'skill experience', basically whenever a griff uses a skill for a task (like NPC asks them to use Flight skill to survey an area, or Strike skill to deal with a scary monster in a basement) they get +1 added to that skill's exp counter. Later we could have 6 rankings for the griffs who've done the most with each skill.
Completing tasks will also give money as reward (along with items, stat boosts or whatever) so we could count the richest/most successful griffs too.
- also added some daily activity buttons. Only Observe and Hunt (I think) do anything yet, and they don't actually have effects lol. The idea is that every day you can choose a few things to do with griff. Each action will take some energy (or time?) and depending on the choice and current location, griff may find items, get in fights/hunt local monsters, socialise with others and gain some skill points, etc. Grooming or making them rest can replenish a lost health point. Some breeds enjoy certain activities - a Rampant will like hunting and dislike being ordered to rest, etc. Each location should have a large range of items to get, so it's beneficial to park some griffs in each place.
Later I'll have to alter this so each stage of growth sees own set of buttons - obviously you can't command an egg or chick to go hunting, lol. Instead they can just be washed, handled, fed, played with, talked to etc, depending on if you want to boost their energy, trust, stat numbers or social skill early.
These individual griff activities are separate to proper exploration, where you see the map and move griff around, talk to NPCs, get in battles etc.
- been vaguely thinking about allowing users to release griffs into the wilderness, instead of (or alongside?) the pound. Should be fairly easy to 'give them' to new owner (wild) and then they have chances to appear to others when exploring. "Bob came across a free-roaming male Achaemenid..." and depending on breed, some will attack and you must battle them to 'catch', or you can try to lure them back by offering certain item, or doing other non-battle task with them, to show your griff's skills. If you fail the task, or don't have the item that attracts them, they'll move on and someone else might spot them later.
- also been thinking about the lifespans (100 years, or maybe 110 so user gets 10 days of a warning message about old age first).
Also perhaps griffs could die in battle (only in a few high-level, serious quests, for example going to attack an invading airship; those quests could have turn limits, like 50 turns to get through the place, defeat all the soldiers one by one, destroy the engine room, then get out again). User will get the griff's items etc, along with other rewards for the sacrifice - money, some spell scrolls to aid in training others, etc. Like griffs who are in pound, wild or belong to NPCs, I'm sure the profile page layouts can be changed to show a nice landscape and the message "This griff died in battle" etc.
Speaking of NPCs, I guess user profiles can also be custom-ised for certain cases. Would be especially nice to cover up SYSTEM (aka pound) with a new layout.
And there should be items that either freeze griff's aging for a while, or stop it altogether (age-immortality, though may not count for deadly missions). Of course aging only happens when a griff is visited, so that's another way to be careful about it.
Posts: 172
Threads: 14
Joined: Oct 2017
02-17-2018, 02:11 AM
(This post was last modified: 02-21-2018, 12:04 AM by GwynMil.)
16 Feb: finally starting to add the next wave of body parts. Been drawing them for weeks x.x
18 Feb: all body parts working with their respective bundles of genes. Haven't updated breeding script with them yet... will do that asap.
Horns etc are handled with a bunch of universal textures - Imagick cuts them out in the right shape. Whew! As this turned out to be so easy, I went kinda overboard and now there are dozens of variations (Gold/Gold = gold, Gold/Copper = darker gold, Copper/Gold = closer to copper, Copper/Copper = copper)...
Also, Opal and Metal mutations. Details are posted in 'Genetics' admin thread. Let's just say the number of possible combos is huuuge, and I've found a few very pretty griffs just while randomly scattering genes in testing. Some are also hideous, but hey.
I guess the same technique could be used for the paint markings later. Plain white is most common, but opal and silver and gold and galactic and pearl patterns could be cut out too... oooh.
19 Feb: (sighs in relief) OK, the breeding script should be finished now. You can get up to 3 eggs per try (it loops over the whole genetic stuff for each one), so any remaining errors probably should've come up by now... but I've only tested 4 times or so.
Additional colours are 90% likely to be same colour as base, just with own shade. Same for 'outer' inner and outer wing parts. This is to avoid too many clashing colours. Can be changed later if users want it.
20 Feb: the adoption, promo code and 2 shop scripts are updated. Dumped a load of test-griffs in the pound.
Now gonna clean up the daily activity buttons, try to add a time-of-day thing so you can choose 4 actions per day and then they disappear.
Also might start adding stat boosts and item-finding to them.
NOTES TO SELF:
- srsly need to finish battle system, with the status modifier, elemental and wearable stat boosts, and fighting other griffs.
- make energy depletion happen on page load, instead of after battle, to deter players from refreshing to try again.
- try adding AJAX to automatically take away health if griff's HP hits 0 in battle. Ideally also redirect page so player can't refresh and try again.
- make a simple quest with NPCs scattered across some areas, requiring active griff to travel around. Will need a new table to hold the unlocked/visited status of each NPC...
- need to plan skill system: which breeds are naturally best at which roles, and how age and higher stats should unlock/increase the potential points.
- add table for locations, to track which griffs have ever been where. And scribble a crappy map to test those "who's here, who's been here" queries.
Posts: 172
Threads: 14
Joined: Oct 2017
02-22-2018, 11:45 PM
(This post was last modified: 02-28-2018, 02:39 AM by GwynMil.)
edit: bloody forum error ate my post. Ugh. Basically login bar got disabled at some point or another (???) but it's fixed now, you should be able to log in! *facepalm*
Anyway last night I made the daily actions (see manage pages) affect energy etc, and there are 5 times of day that get passed through. By Evening, your griff and servants need to sleep. So basically you choose up to 5 little commands for your griff, from a list; go hunting, go looking around the area, rest, socialise, get groomed by servants, enjoy leisure time. It's an opportunity to find some items, get some stat boosts, raise their energy/happiness or whatever.
It's totally separate to main gameplay like exploring, battling etc. Though I'd like to make use of the relative day/night - if your active griff is still in daytime, they see arena and maps in daytime weather, while at night, graphics are different and new NPCs are available. It'll be up to the player to keep an eye on the time (and reminders) and take the griff exploring when they want.
23 Feb: now griffs will grow into Grand Adult stage after 50 years. In other words, 50 days. If players want to speed it up they'll need to gain all the stat and/or skill points possible (maybe some other tasks too, like having explored several regions).
I might try adding lifespans/retirement soon... that'll be at 100 or 110 years.
Currently piddling around in Photoshop trying to generate a quick map.
26 Feb: been thinking about stat stuff, still.
At the moment (though it's not been fully implemented yet) there are 6 categories/methods for increasing each skill. Battling, exploring, NPC quests, daily activities, item boosts, and something else I forgot lol. The idea is that each one has a limit of 20 to 50, so by filling all those you could gain a maximum 250 points. They would be added to the griff's inborn skills during battling and other tasks.
It's a bit similar to Howrse, with their 'genetic potential' and how you can unlock 30% of skills from rides, 30% from competitions, 40% from training... or some numbers like that. It forces players to do a variety of activities with each horse.
I'm not necessarily unhappy with this current setup for griffs, but was musing while in the bath this morning: change the current 'level' sytem?
There are 5 levels for each breed, they correspond to growth stages and when people click on griffs, it gives them points which can speed up their growth.
It feels a bit awkward, I'm not sure why. People feed/visit/do something with griffs and it... gives them points to grow??
- It's possible for users to 'freeze' griffs so others' clicks aren't counted, to avoid them possibly growing too fast. Bit of a chore though, yet another thing to track/manage.
- If griff grows naturally (every 5 days) and not enough clicks are gathered for the next growth stage (level)... then those clicks were wasted. And they probably won't catch up for the next level either.
So this mechanic is useless, unless you want to grow your griffs really fast AND are good at pasting their sprites around the 'net and can get hundreds of clicks within a few days. But that would be annoying to other users who have to wait or use items... might seem unfair.
There is a limit to how many griffs one IP address can click each day, so there's a limited amount of "plz click my griff" possible to share around between users.
My new idea
Stop using levels as growth stages. Make a new DB column for growth and only use that. The natural aging script and Imagick could easily be pointed towards it, and I'm sure some new growth items could be made. Apart from those rare bonuses, growth is entirely based on real days.
Instead, levels could be used in the usual RPG way. They're a modifier for stat numbers when it comes to battling etc. Level 43 is much stronger than level 16, etc.
The maximum level could be 20, 50 or 100.
Note that each breed must have levels created for them. So some breeds could be limited to 80, and any extra points do nothing... while others get 100 levels. Though I'm not sure why we would want to limit some. Are they naturally weaker, or supposed to be rare/special, or have access to overpowered battle abilities?
Clicks on a griff are called EXP and gathering these points is how level increases. Items, battle wins, NPC quests can also boost EXP if owner doesn't get many clicks.
Yeah, it still doesn't make a lot of sense - what are all these visitors doing to griffs, that improves their stats? Do they just enjoy attention? Are they being fed treats??
But anyway, gathering clicks to strengthen each others' adult griffs sounds a bit better than growing griffs. It's not as urgent or frustrating.
Using levels to increase stats might also be much simpler than individually training up each stat by each activity type. That could get tiring - "got all 50 speed points from battles, 50 points from exploring, now to start getting another 50 from NPCs"... and that's just one of the 7 or 8 stats!
All activities could simply give EXP instead.
The Skills/Roles (need name for this feature still) don't change. Points for them can still be gained by specific activities. It would be a lot clearer now, compared to gaining stat numbers AND skill points at once...
27 Feb: cleaning up little things on various pages. And finally, I think the daily updates are fixed now. The energy/health/mood/daytime/growth should instantly update the first time you view the griff's page on any day. No refreshes needed. Ugh, figuring out the problem there was annoying. >.<
Stages are now used for growing up.
- Also finished group stuff. You can now enter a description as well as a name, and edit these for any group. I couldn't fix the weird pagination problem so have upped the number of Griffs Per Page to 100. Lazy but eh, it prevents some of the errors. You can definitely see all your griffs now. And finally see the details of which group you're currently viewing!
- And updated achievements to include all 10 current breeds, plus higher numbers.
Ought to add some more, like owning a griff of every magic element... or counting the number of battle victories all of your griffs have, in total... later though.
NOTE: the first time you view the page, your stuff gets updated in DB but it's not shown until second time you view page (refresh). I need to change this.
- Also YES WOO FINALLY. Managed to wrestle with jQuery and get a smooth transition effect in the battle and conversation systems. Looks so much nicer than text just appearing.
- Levels are... interesting. Added 20 for the Heramin breed only.
Need to come up with formula for EXP needed - how much to add each time? - and then the total number needed must be manually entered for each level. So if lvl16 requires 180 EXP total, lvl17 may require 196, lvl18 requires 224, or sth. The rate of increase could grow over time, or be flat like +20 EXP per level.
Guess we can make some breeds level faster than others, cool. Or make them level quickly at first but then much slower at high levels. Stuff like that. Gonna need a calculator and notepad for all these numbers though! D:
Posts: 172
Threads: 14
Joined: Oct 2017
02-28-2018, 03:19 PM
(This post was last modified: 03-01-2018, 02:05 AM by GwynMil.)
28 Feb
Finally adding the skills today. I decided Transport was a bit redundant - if a griff is good at flying, or traversing terrain, chances are they're able to carry people/things. Gonna replace it with Technical, a skill based around repairing or destroying items and machinery. It's quite different to Strike (which is attacking in general, with physical or magic power). They can be used together for missions involving dealing with enemy airships etc.
And the Teamwork skill is sorta useless too... I'll replace it with Aid. The skill of healing and helping people and creatures. Pretty important, and could have lots of use for NPC story quests, outside the serious war-stuff.
Soooo here goes another DB table and an afternoon of plotting all the breeds, ages and their potential skill numbers...
(leaving notes here)
- gonna have all skills capped at 90 or 95, even for breeds who should totally master them, like Aquilas and Flight. Extra 5% can be unlocked with the right element (Wind in this example) and another 5% if griff is taught a certain battle spell/ability (like some sort of wind-altering spell, or a super flying technique).
- I'm not really sure how different breed could affect the Technical and Aid skills... might as well make them all the same. So even a weak breed who fails all other skills could at least get good at those.
- if egg or chick, search table for column "EggChick". Otherwise it's $breed . $stage . $gender, for example Aquila3f or Marlik5m.
- Minoan has natural +5 in Technical. Achi, Marlik and Griferald get +5 in Aid. Mino, Heramin, Rampants -5 in Aid as they're so unfriendly...
- IMPORTANT: the primary column in this table is 'petid' as 'aid' is already taken by the skill name. Must remember it for future scripts.
... Wooo! Seems to be working. 
Most griffs have 0 skills and no potential, but when you visit their page (assuming it's the first time viewing them today) it should update and show their potentials.
Should look like this (except there's no way to gain points yet - but I'll start adding them to battle wins and daily commands ASAP!)
- also had an intriguing idea about how multiple griffs could co-operate, out while exploring regions. Battle system is necessarily 1 vs 1 (or 1 griff vs machinery, obstacle, puzzle, whatever) so they can't fight together. But there could be local 'quests' which reset every few days and are limited to the region. These quests would be collections of tasks, for example: in a snowy cavern area, there are several frozen mechanisms that need to be thawed and repaired, using some gears and treasures that must be found from dungeons, and a few fixed-location monsters and bosses that must be defeated. All of these must be accomplished within a few days - up to 4 griffs who are currently in the area can apply to the current team/quest, and any of them can complete a task.
If the group collectively ticks all the boxes in time, they all get a reward and achievement for having participated. The group is disbanded, and future griffs travelling through area can apply to try the quest themselves.
If a few days pass and not all tasks have been done, the quest ends and griffs get no reward (or may even get kicked out of the area).
Will be a while til I can start developing such a feature though... more important stuff to get finished first.
Would def require a new table to hold all quests: their ID, times of start and end, the IDs of up to 4 griffs taking part in it, a numbered list of tasks, and the rewards...
- as an aside, I just love some of the coats already, and there aren't even any markings yet!
This dude looks like a fancy chocolate pudding...
Edit: THAT WAS ANNOYING. Whew. Tried about a million Imagick commands and combos of layers, and finally got the secondary layer and the horn-shape layer to vanish together (otherwise you'd still see the coloured area of the bases, where horn2 is meant to be, just without any texture on top). Some griffs are lookin' good now with only a single horn texture.
So basically there are 2 parts of the 'horn' layers (they also include claws, armour, certain body markings). Above, Mr. Chocolate Pudding only shows the first layer: the spiral lines. Mr. Steel shows the second layer too: the silvery area covering his shoulders and wingtips.
All griffs show the first layer (gotta have some sorta texture for claws, armoured breeds etc) but there's now a gene that determines whether or not they show the extra layer. If the 2 layers are different colours you can get some awesome 'gradients' like gold merging into blue metal, or different opals next to one another.
But some griffs look better without the extra layer: you can see Chocolate Pudding's dark brown colour extending up his shoulders, and any marks on his body will be clear. Whereas you'll never see any markings that appear on Steel's shoulders as that silvery area masks them.
Anyway, it's inherited from parents.
|