Jump to content

Hare

Game Owner
  • Content Count

    274
  • Joined

  • Last visited

  • Days Won

    29

Daily XP Streak Bonus

Blix
XP

Start posting to receive your Daily Streak Bonus for your Adoptable. Every day you post, the more XP you earn.


Hare last won the day on September 19

Hare had the most liked content!

Community Reputation

104 Excellent

1 Follower

About Hare

  • Rank
    Guru Member

Recent Profile Visitors

1541 profile views
  1. I drew these rabbits for my game, but have decided to not use these ones. If anyone would like to purchase them, they're $20 each and come with full copyright and 600x600px layered PSD files.
  2. KingofCrows

    I did some skletches for Kingofcrows and had a good experience working with them. Highly recommended!
  3. Edit: I found some artwork. Thank you! Hello! I'm looking for feline art. Sketches, lines, colored, anything for sale or artists who take commissions. I definitely need a cat that's more on the realistic side, not a super friendly pose (either mean or neutral). Please let me know if you have anything available and prices.
  4. Oooh, I get what you mean! That sounds better, could probably use the same code too (just change the ranges for $x and $y that determine where the sheet gets moved to). Oooh, I've never used a hashing or seeding method for this. How do you use those for genetic traits? And how would you name the image files being called up? (would they have the hash in them?) I'd like to see a snippet or example. I would love to implement bigger and better image generation methods for breeding systems. Or if you have a link to somewhere I can read about this, let me know. I'm also interested in hearing from you about which limitations would make you prefer another method. There's a few things I've been trying to smooth out (not sure if it's possible or not), such as finding a way to reverse the method (get the original value of the pet when your inputs are just the primes and modulus selections for each pattern). This would be useful for a generator where players get a custom pet. We have a generator on my site that uses the modulus, and you can select patterns by changing the hidden value, but I'd like to make it so there's a sliding scale or dropdown selection for each different type of markings, which all come together to generate the single value using the primes and modulus selections involved. I feel like this should be mathematically possible, but I never took high level math classes, so I'm still working my primitive brain trying to figure out a formula (if it's possible). And the tricky breeding thing I mentioned might be a limirtation or 'quirk,' another thing I'm not sure if there's a fix to. I'm still trying to figure something out for that on my site. I did find a solution to running out of smaller primes though. I just use another modulus to set it for how many files I want. For example, say you want to add a star pattern allele to a pet's genotype. You want different variations of stars, but the lowest prime you have available is 173 because the other 39 (or however many) primes before 173 are being used for other marking (or other types of variation like opacity and such). You don't want to draw 173 different star patterns, so: $starpattern = $markingint % 173; $starpattern2 = $starpattern % 3; Add the layer for a file called "star" . $starpattern2 . ".png" and it'll cycle through 3 different star patterns based on the 173 remainder of the pet's marking value. If the pet has a marking value of 346, you get star0.png because 173 goes into 346 with a remainder of 0. 347 will give the pet star1.png, 348 will give star2.png, and 349 goes back to star0.png. I'm always testing though and will post on this thread if I find any limitations that I know of. Anyway, yeah. I'm interested in knowing more about hashing or other methods.
  5. Things You're Happy With

    That's gorgeous.
  6. So like the player would draw the spots on the sheet and upload it?
  7. Are you thinking of something like this? It randomize where the the spots go and creates a clipping mask into the top color layer to reveal another color underneathe. It might be cool to play around with resizing, rotating, etc. too to get all sorts of cool combos. Here's an imagemagick code for it: //randomize for a 400px pet image $x = mt_rand(0,400); $y = mt_rand(0,400); $masklayer = new Imagick( $path . "/spots.png" ); //100x100px transparent png $whitelayer->compositeImage($masklayer, Imagick::COMPOSITE_DSTOUT, $x, $y);
  8. Have you ever used a modulus to create color variations in a breeding feature? I came up with this method a while back and have been using it for a few years with Imagick and GD library. Let's say we have a pet with different possible spots, stripes, nose markings, and foot markings. With a modulus, you can have all four marking types controlled by one INT column (instead of having four different columns). There are 5 nose patterns. The files are named: nose0.png, nose1.png, nose2.png, nose3.png, and nose4.png There's 6 foot patterns: foot0.png, foot1.png, foot2.png, foot3.png, foot4.png, and foot5.png. Same thing with spot and stripe patterns, which have 11 and 13 possible layer files respectively. $markingint is the INT data column for each pet that controls their markings. We set this value, then add this code below it: $nosepattern = $markingint % 5; $footpattern = $markingint % 6; //uses up 2 and 3 $spotpattern = $markingint % 11; $stripepattern = $markingint % 13; Note that these are all prime numbers, except 6, but we sactifice 2 and 3 to have 6 foot markings. Using all separate prime numbers allows different marking combinations to be possible. Anyway... The images are layered from your image folder as such (in whatever order you want): "/foot" . $footpattern . ".png"; "/spot" . $spotpattern . ".png"; "/nose" . $nosepattern . ".png"; "/stripe" . $stripepattern . ".png"; So whatever the $markingint is, it'll apply all the different patterns. Let's look at two example pets. Pet #1 has $markingint = 87; This pet will have nose2.png, foot3.png, spot10.png, and stripe9.png. Pet #2 has $markingint = 145; Will have nose0.png, foot1.png, spot2.png, and stripe2.png. In practice, breeding these causes each marking to cycle like this: 0.png 1.png 2.png 3.png 4.png 0.png 1.png 2.png 3.png 4.png, I save the art files to have 0.png aand 4.png to look similar so it feels like you get markings that look similar to the parents when breeding. It's trickier to breed for a specific combination, though, especially if you don't understand the math behind the system. What do you think? Do you have a better method?
  9. Edit: Never mind, I got them back. I'm not sure how, it might remain a mystery. Original post:
  10. I'm wondering, what are some things you all have added to your games that you are, to this day, really happy with? Things that turned out well? Did you expect them to turn out well, or were you less sure at one point? Did you know that the addition would be successful? How was it successful. Here's some of mine, and as examples: 1. The ability to post as an admin account without having to log into it. Clicking a checkbox is much easier than switching to a staff account. 2. Month-long holiday activities. Less strain on the server than an event that's a few days long, and players seem to love it. I was really unsure of this because a month seems like a long time, but heck, it works. 3. Using Imagick/GD library for dynamic animal images. It's so fun to see what the program creates!
  11. Buying Your Sketches/Unsold Work

    I have some left over ones that didn't sell that I'll sell for $2 each. If you want rabbits, I also have a lot of those laying around.
  12. Hunting System!

    Great idea, and it looks fantastic!
  13. Google Ads - Worth It?

    I've been trying to get adsense on my site for years and was inspired to try again after seeing this thread, but have had the same issues of no ads appearing on the site in spite of doing everything right (from what I've read). The site is verified, the code is in the header. Anchor ads appeared for 2 days at one point. Google then suggested adding other ads so I turned some others on to see how it went, but they got in the way of players' activities, so I turned them back off (leaving the anchor ads on) and bam, it's all gone. Been waiting a week and still nothing. Has anyone else had trouble getting ads to appear on their site? I've researched this extensively and am still completely baffled as to why I can't get the anchor ads back.
  14. Bug Reports

    Thank you for your input, hurricaneviolet. We've taken a lot of the input provided here and improved our bug fixing system. Much appreciated.
  15. Bug Reports

    Thank you! This looks about like what we have. We could add more. =D
×

Important Information

By using this site, you agree to our Guidelines, Terms of Use, and Privacy Policy.