Code stuff
All PHP, JS, CSS and whatever musings. Entries marked with [Mysidia] are written for a certain framework, so probably aren't useful to general coders, but of course you're free to browse anyway.JavaScript battle system - Tutorial in progress!
jQuery game map - A small game where griffin runs around map, finding items to bring to NPC.[Mysidia] User dashboard - Create a page that logs all of user's recent activity; pet adoptions and births, item usage and transactions, battle results...
[Mysidia] Quick JS filter - Easy way to 'search' pets, items or other things on a page, using simple criteria.Other game features I've done and am in process of writing-up:
- Public breeding system with studbook.- Trade system, offering up to 4 griffs, 4 items, money and messages, gift/trade options, and counter-offers for original user to choose from.
- Uh, what are the other big ones I've forgotten... Features that unfortunately I am not planning to share publicly (mostly due to being huge, difficult for others to edit, and/or quite special for my game) but you can feel free to ask for tips about coding them yourself: - Genetic system with hundreds of dom/recessive alleles, pigment mutations, precise inbreeding percentages, and gene-changing items
- Trials with teams of griffs competing for shares of prizes
- Growth/aging process, including changing health/energy/loyalty, personality traits, and possible causes for death
- Applying bonus items to griffs that boost energy or freeze age for lengths of time, or make them permanently immortal
- Daily commands for griffs, in which they hunt, travel, socialise, learn etc, wherever they are. Every territory offers own rewards or risks
- Avatar collecting
- Three types of skills: heritable physical stats, trainable skills in 6 roles, battle moves/spells taught from scrolls. Every breed has different skill potentials, and learning certain moves/spells depends on element, among other things.
- Player character with own battle skills, reputation, and customiseable appearance (dress-up! Woo!) and profiles
- Gardening, workshop, critter breeding, crafting side-games
And features I'll work on later. Not yet sure if I'll feel like sharing code/writing tutorials.
- NPC trade and quest scripts- Tutorial system for new players
- Different battle system for wilderness and boss fights; player character must fight alongside their griffin companion
- A 'pantheon' of deities or mystic forces, for griffs/users? to complete quests to become aligned with, for stat boosts and chances of rewards
- More security: extra passwords and questions for users to login, access their money vault, do other sensitive actions
- Faction stuff, either based on the pantheon or regions of the continent
- Growing or crafting exclusive griff breeds (flower, mecha, crystal) in the garden, workshop and other locations, using collected ingredients
- Limit the number of flock spaces, and let users unlock more via achievements, logging in regularly, or using items
- Assigning griffs to roles they're qualified for, and receiving daily salaries (or skills, or injuries etc) depending on role
- Custom coat system, allowing users to upload art for their own griff or for anyone to use
- Weekly or monthly "pretty griff" contest, based on coats/wearables/backgrounds, where users enter griffs and vote
- Site-wide 'plot' events where all users are given challenges to complete, and when total goals are reached, users who contributed the most receive extra points to spend on prizes
- PayPal integration so users can buy goodies and help pay for server
At some point, I will also need to edit the internal framework to run on PHP 7. Will of course share that guide, as soon as I manage to track down and fix all the errors!