5th July
Finally figured out the json problem; it was just that this webhost didn't have it enabled by default, doh. Had to go into PHP settings and find it.
So now I've spent the afternoon building very simple SRPG demo; an 8x8 grid of divs, each with co-ords, with three griffs dotted around. You can select a co-ord in a 5x5 grid around the griffin, to move to. This array of 25 co-ords is freshly generated, based on the selected griff's own co-ords.
Impassable co-ords are stored in an array, and when hovering over those 'tiles' you get red box and message, else green box. Other griffs totally cover their 'tiles' so you can't move on top of them.
Tomorrow, will need to...
- allow switching between the 3 griffs. They must be given starting co-ords, in their div data. When clicking on one of them (need griff class) get those data attributes and update griffx, griffy to them (the universal co-ords). The 5x5 movement grid should shift around that griff.
- must allow griffs to move. Just buttons like "move this griff 1 n/s/e/w" should do for now. Update their data and variables.
- must allow selection of griffs for that, and normal tiles. Highlight by overlaying a border or sth.
7th July
Got so much done yesterday, forgot to write an update...
Well, added random events to most pages. Updated all (I think!) the last remaining incorrect breed/sex checks.
Started building new-new-new battle system. So far, just the griff-selecting and opponent-searching stuff, right up until actually creating new battle in table, inserting those griffs in it, and automatically redirecting user to that battle's page... will now set that up tonight.
- Also removed all the old Menagerie stuff, now rebuilding from scratch.
Finally figured out the json problem; it was just that this webhost didn't have it enabled by default, doh. Had to go into PHP settings and find it.
So now I've spent the afternoon building very simple SRPG demo; an 8x8 grid of divs, each with co-ords, with three griffs dotted around. You can select a co-ord in a 5x5 grid around the griffin, to move to. This array of 25 co-ords is freshly generated, based on the selected griff's own co-ords.
Impassable co-ords are stored in an array, and when hovering over those 'tiles' you get red box and message, else green box. Other griffs totally cover their 'tiles' so you can't move on top of them.
Tomorrow, will need to...
- allow switching between the 3 griffs. They must be given starting co-ords, in their div data. When clicking on one of them (need griff class) get those data attributes and update griffx, griffy to them (the universal co-ords). The 5x5 movement grid should shift around that griff.
- must allow griffs to move. Just buttons like "move this griff 1 n/s/e/w" should do for now. Update their data and variables.
- must allow selection of griffs for that, and normal tiles. Highlight by overlaying a border or sth.
7th July
Got so much done yesterday, forgot to write an update...
Well, added random events to most pages. Updated all (I think!) the last remaining incorrect breed/sex checks.
Started building new-new-new battle system. So far, just the griff-selecting and opponent-searching stuff, right up until actually creating new battle in table, inserting those griffs in it, and automatically redirecting user to that battle's page... will now set that up tonight.
- Also removed all the old Menagerie stuff, now rebuilding from scratch.

