Forum Index > General Discussion > how does sylestia display it's pets?
Page 1
Author
Thread Post
Tetsoramasana
Level 30
Joined: 6/11/2018
Threads: 3
Posts: 17
Posted: 10/9/2020 at 11:52 AM
Post #1
I'm making a game much like Sylestia and ovipets. I wanted to know what technique they use to display pets. My guess is that they query a part of the site that returns an image when src'd, as in this example:
(paste these into a new tab to see them)
https://www.sylestia.com/image_builder_pet.php
Going to the PHP on it's own gives you a simple white egg with no features.
That is the PHP for one of my pets. She's quite pretty. I can just as easily make her a him by editing the "&gender=female" in the link (ctrl-f if you can't find it.):