Page 1 of 1

Farm Game

Posted: Thu Feb 17, 2011 9:18 pm
by hallsofvallhalla
Can I have some testers test this and make sure it all lines up and they can plant the plants in the side bar?

http://indie-resource.com/farmgame/login.php

This does not work in IE!!! Will shortly though

You player should end up being bound in the square of grass. I based it on the screen size.


WASD keys to move...

Click on plants in right side bar to plant them

Re: Farm Game

Posted: Thu Feb 17, 2011 9:31 pm
by Callan S.
Once I figured the controls, yes and yes. The left side bar is slightly wider than the right, but I imagine you planned that and the left will have alot of data in it latter.

Also when I plant the plants can overlap alot - perhaps your fixing that up latter, already, though.

Re: Farm Game

Posted: Thu Feb 17, 2011 9:59 pm
by hallsofvallhalla
ah yes added the controls to first post.

Yeah working on the overlap. It is going to be database driven for the plants will grow and die, and can be harvested. all depends on how well you treat them :)

Thanks for testing

Re: Farm Game

Posted: Thu Feb 17, 2011 10:19 pm
by OldRod
The boundaries are off a bit. I can walk down into the section below the grass, but I have a zone at the top of the grassy area that I can't walk into. The dead zone at the top looks to be the same size as the area at the bottom, so it looks like an offset problem.

Hope that makes sense... the area I can move around is the proper size, it's just offset from the actual grassy area vertically a bit.

Re: Farm Game

Posted: Thu Feb 17, 2011 10:22 pm
by hallsofvallhalla
damn...that was the news I was hoping not to hear..... hmm anyone know how to get the pixel boundries of a div?

Re: Farm Game

Posted: Thu Feb 17, 2011 10:49 pm
by hallsofvallhalla
nevermind

Code: Select all

var topdiv = document.getElementById('messagearea').offsetHeight;

but I am using tables so it results in 1....

Re: Farm Game

Posted: Thu Feb 17, 2011 10:53 pm
by SpiritWebb
Tested on Google Chrome. Works great. However the character will not go into the upper part of the grass section. Where it starts is as high as I could go. I don't know if that was supposed to be that way, but otherwise, I could move around and plant the plants!! :)

Re: Farm Game

Posted: Thu Feb 17, 2011 11:33 pm
by hallsofvallhalla
okay changed some things. Please try again. Once again character should stay on grass only.


you may have to clear browser cache to reload the changes. It should look completely different now.

Re: Farm Game

Posted: Thu Feb 17, 2011 11:37 pm
by SpiritWebb
Works great! No problems with my end, google chrome!

Re: Farm Game

Posted: Fri Feb 18, 2011 12:08 am
by hallsofvallhalla
thanks!