Background images (habitat) for pets

Forum
Last Post
Threads / Messages

Kesstryl

Member
Member
Joined
Feb 22, 2012
Messages
206
Points
28
Mysidian Dollar
11,706
I thought I'd throw this out there for either official consideration or for a modder to tackle, but I would love to have a page where a player can create a habitat and place one or a few favorite adoptables in (along with maybe some decoration items) with drag and drop, and have it save. The background image can be changed, along with items and pets to re-oraganize the habitiat according to how the player wants it to look. This is all asthetic and just a way for players to use creativity to show off favorite pets. I think javascript with saving the layout and changes to the database would be the way I would describe the script. I've dabbled in a little js, but this idea is a little bigger than my current dabblings, mainly the writing info from js into a database part.
 
Last edited:
This is just my opinion, and I'm new to this whole modding thing, so excuse me, but I don't think its feasible that this will be considered for the script or by a modder. This was actually suggested a long time ago but was shot down.

Something like this is very, very hard - the kind of thing that experts get paid to program, not volunteers code for open-source programs. It would probably take the same amount of time to code as say, a battle system, which is planned for v5 (in 2013). People won't want to spend that much time on a small side feature.

Though I do admit, it is a nice idea. It has a lot of opportunities - pet shows or contests for examples. It's still up to HoF, but I'm saying don't get your hopes up. It may be possible for someone who is really talented to do part of it - for example, backgrounds for pets may be possible in the not-too-distant future, but I don't think wearable items will be.

Its a great dream, and I've heard a lot of people wish for it, but I don't think it will be added any time soon, if at all.

Sorry for shooting you down... I'm new - just repeating what others have said.
 
As this is something I really want personally for my own site, I'll do some research. What I can't do I might trade some art for coding on another forum I'm on. If I can get past the database part, (new to php) I'll start a thread somewhere and post what I've got. I'm really not a programmer, I only know as much as I've needed to get by with the internet, but perhaps someone who is can point out errors and offer help. Where should I post this thread when I have something to build on?
 
I think you may have to offer a little more then art, but good luck!

If you've got a working prototype, you can post it in the modifications forum - afraid there isn't anywhere for "work in progress"s though.
 
yup cool idea, I agree with gloometh... and I think we should raise funds to higher freelance coders for mods like this. I also think utilizing ads could pay for this but that's me :hmmm:
 
I was talking briefly to HoF about advertising - ads would be nice, Mysidia has almost no advertising at all. Raising funds for freelancers would be so cool. o:
 
I was looking at coding and as far as loading a background, one could just use CSS and php, and apply the background to a div. I'm also looking at js ways to do this.

I think drag and dropping decorations into the background is better suited for html5 canvas with js as it has a coordinate system already. One would just need a way to store the coordinates into the db for the pets and items so it would load the way it was saved. I found lots of code snippets out there for bits and pieces of this, will do more research on the best way to put the js side together.

I wasn't originally talking about dressing up pets, more like having a nice background with maybe plants and background decorations, and a pet or a few pets on display in the layout, but I'm sure the technique can be applied to that too. I also wasn't implying that I was going to hire a coder with my art services, but get a coder to look at my own already written code and offer suggestions for improvement. There are coders for other adoptable sites who look for artists and can't pay with money, and I was suggesting that I might approach some who leave such posts and offer my art services in exchange for helping to troubleshoot my code. Hope this clarifies my previous posts.

Oh yeah, and advertising is a win win. Maybe some banners (varying sizes) that we could use in sigs on other sites we are members of.

*edit* I found a coder willing to exchange services :)
 
Last edited:
I am currenty working on adding accesories, and backgrounds to adoptables using GD images. However, for the background part, you would need the same image size for every adoptable, else the bg would be too small.

* I will release this once I'm done with it, i have a pretty good idea on how to handle the stickers.
 
Cool, that sounds good. My goal was to make a big background page to be like a display page for a few favorite pets with some habitat decorations, something that could be changed every now and then. I'll start buiding that mod after I'm done with the basics (still doing the base line art for my pet collection). I've seen other sites do it your way, are you doing this through php?
 
im doing this trough gd images.
done so far:
working functionality for stickers
management for stickers done

to-do:
admin section
make an preview script somehow >.<
 
Wow, I'm surprised you guys managed to get that going so quickly - good luck!
 
thanks :), however, the script will only function with both the accessories and the image being GIF... (png+gif or png+png are BISHES)
 
Btw, ive also added my gd images script for the name + clicks under the adoptable (basically the 1.2 version but compatible for 1.3)
 
thanks :), however, the script will only function with both the accessories and the image being GIF... (png+gif or png+png are BISHES)

Hmm, that seems to be a problem - lots of people use different file types. o_O still progress though.
 
I can live with just using gifs. Good to know since I haven't uploaded any pets yet.
 
the problem is: imagecreatefrompng and imagecreatefromgif don't merge when placed on top of eachother, resulting in grey-like images and non-transparency, ive treid to make it compatible for all filetypes but it's just not possible, sorry. (btw, you could just open an .png in a image editor and save as a .gif, not a too big of a problem)

Live progress is at epicmiro.tk, however:

1. Like in the default script, not all images are fetched with getcurrentimage(); (wich i use for it), so it will only show on the managing [name] page.
2. No shops for stickers yet, ill add a query to the register form so you recieve 3 of the same stickers
3. no preview function yet for the sticker placement, however the placement fully works
4. no admin area whatsoever
5. all images are from google or the hat sticker, is a purple thingy i made just for testing.
 
ah just heard my site will be down in about 10days, gotta finish it before that ;l
 
no, a friend hosted it for me ut he cant afford reseller, ill needa switch to an other free host soon
 
Oh I like this idea, I used to have someone working on it but they had some life drama and disappeared. >.<' Where do people find coders? I'd love to exchange my art for bits of coding, but I doubt my hand drawn messy natural style will be popular on most sleek sites... Anyway if I could help in any way on this I'd be happy to, all my coding is up for sharing, though anything I've done myself is probably a mess. >.>' I'd kill for a item adding code as well, and a battling one lol. If I ever get a piece of coding thats useful in these areas where do I post it? Once I get a few things working on my site like puzzles I might try and put my game design masters degree to work on a battling system. ^_^

By the way most of my art is in gif form since I love bringing my art to life... I can give you moving pets, items and background images if you want. ^_^
 
Last edited:

Similar threads

Users who are viewing this thread

  • Forum Contains New Posts
  • Forum Contains No New Posts

Forum statistics

Threads
4,280
Messages
33,132
Members
1,603
Latest member
Monako
BETA

Latest Threads

Top