Thanks!, and yes, Everything you see is all meMud wrote:I love the look of your game. Did you do the sprites?

I also went with the "cute" looks since cute + violence is oddly appealing.
Thanks!, and yes, Everything you see is all meMud wrote:I love the look of your game. Did you do the sprites?
Thats great! I can create and spawn an enemy just fine (as you can see in the demo) but I'm unsure on how to add multiple enemies. They won't spawn in random areas though, they will actually approach from the right off screen and walk towards the enemy. Any Ideas would be appreciated, I'm still wondering what's causing the issue in my last post.zac352 wrote:Enemies? I can help with that. I wrote life. It's somewhere in projects if you want to look.
I can also help with their pathfinding, I've successfully implemented the A* algorithm before.
What exactly do you need?Ryne wrote:Thats great! I can create and spawn an enemy just fine (as you can see in the demo) but I'm unsure on how to add multiple enemies. They won't spawn in random areas though, they will actually approach from the right off screen and walk towards the enemy. Any Ideas would be appreciated, I'm still wondering what's causing the issue in my last post.zac352 wrote:Enemies? I can help with that. I wrote life. It's somewhere in projects if you want to look.
I can also help with their pathfinding, I've successfully implemented the A* algorithm before.
It's odd and its tickling my O.C.D.Ryne wrote: Also something weird is happening when I package the game as a .love file. The enemy approaches from the left instead of the right If I play directly from the folder. Even more odd is that if the .love file isn't in the same directory as the LOVE shortcut enemy approaches from the left, but if its in the same directory enemy approaches from the right. Is this happening for anyone else?
I will work on it when I get home.As for the enemies, I'm not sure what I need since I'm unsure of an efficient way to create a horde. Ideally, I would like to be able to freely call as many zombies as I want to the field. I'm just wondering if it's easier than it seems :p
Awesome! Ill check it out after I sleep for 14 hours, Hopefully someone will be able to shed some light on my odd problem.zac352 wrote:... That's really weird.
I will work on it when I get home.As for the enemies, I'm not sure what I need since I'm unsure of an efficient way to create a horde. Ideally, I would like to be able to freely call as many zombies as I want to the field. I'm just wondering if it's easier than it seems :p
* Hording
* Spawning
Short list.
This is the only code that has to do with player location. It's what I'm currently to make the enemy follow the player.Robin wrote:What is the code that causes them to come from the one side or the other, exactly?
Code: Select all
if CheckCollision(player, enemy) == false then
enemy.x = enemy.x + (player.x - enemy.x) * (dt - 0.01)
enemy.y = enemy.y + (player.y - enemy.y) * (dt - 0.01)
end
Users browsing this forum: No registered users and 35 guests