Farm Game
- hallsofvallhalla
- Site Admin
- Posts: 12026
- Joined: Wed Apr 22, 2009 11:29 pm
Farm Game
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
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
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.
Also when I plant the plants can overlap alot - perhaps your fixing that up latter, already, though.
Fight Cycle : My latest Browser game WIP
Driftwurld : My Browser Game WIP
Philosopher Gamer : My Blog
Driftwurld : My Browser Game WIP
Philosopher Gamer : My Blog
- hallsofvallhalla
- Site Admin
- Posts: 12026
- Joined: Wed Apr 22, 2009 11:29 pm
Re: Farm Game
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
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
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.
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.
- hallsofvallhalla
- Site Admin
- Posts: 12026
- Joined: Wed Apr 22, 2009 11:29 pm
Re: Farm Game
damn...that was the news I was hoping not to hear..... hmm anyone know how to get the pixel boundries of a div?
- hallsofvallhalla
- Site Admin
- Posts: 12026
- Joined: Wed Apr 22, 2009 11:29 pm
Re: Farm Game
nevermind
but I am using tables so it results in 1....
Code: Select all
var topdiv = document.getElementById('messagearea').offsetHeight;
but I am using tables so it results in 1....
- SpiritWebb
- Posts: 3107
- Joined: Sun Jul 12, 2009 11:25 pm
Re: Farm Game
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!! 

- hallsofvallhalla
- Site Admin
- Posts: 12026
- Joined: Wed Apr 22, 2009 11:29 pm
Re: Farm Game
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.
you may have to clear browser cache to reload the changes. It should look completely different now.
- SpiritWebb
- Posts: 3107
- Joined: Sun Jul 12, 2009 11:25 pm
- hallsofvallhalla
- Site Admin
- Posts: 12026
- Joined: Wed Apr 22, 2009 11:29 pm
Re: Farm Game
thanks!