Impact

This forum is read only and just serves as an archive. If you have any questions, please post them on github.com/phoboslab/impact

1 decade ago by nzjames

Hey guys,

I've worked my way through Jesse Freeman's Introducing HTML5 Game Development and although there is nothing to original I want to finish my game and get it out there. So I can move onto my first full game.

My demo should work from https://dl.dropbox.com/u/362465/zombies-ahead/index.html

And I've got two questions:

1. in FF I seem to hit invisible walls which makes the game unplayable (all level code I wrote or built myself using Weltmeister

2. I need to move the player entity on the street map to match the doors as the player walks through buildings. What are some strategies here? multiple player entities like spawn points or should I dynamically move the one on level init?

Feedback would great and enjoy the game.

1 decade ago by Joncom

1. in FF I seem to hit invisible walls...

What is FF?

What's your 1st question? It seemed more like a statement.

2. I need to move the player entity on the street map

I'm not really sure what you're asking. It looks to me like the player already moves around, street map or otherwise.

1 decade ago by nzjames

Apologies for the rushed questions, I was running for a bus.

In Firefox (FF) the collisions don't match what I have in the level editor.  The game plays fine in Chrome but in Firefox the player collides as though there was an invisible wall in front of them.  I was wondering if anybody had experienced this before?

Question 2 was related to completing a level and reloading the map level (street) I want to adjust the position of the player entity on level load to relate to the level that has been completed but I haven't decided on the best strategy.

1 decade ago by Jerczu

Your collision layer don't match the background layer just switch it off and see the collision if you dont have some strays.

1 decade ago by nzjames

Quote from Jerczu
Your collision layer don't match the background layer just switch it off and see the collision if you dont have some strays.


I don't think this is the problem as the game plays fine in Chrome and only experiences these symptoms in Firefox. Visually the collision layer looks correct (pink squares where I want walls). Is there another way I could have added collisions to a different layer?

1 decade ago by nzjames

I got the collision/invisible wall issue sorted. The simplest thing to do was to drop the collision layer and re build them. Not too hard.

I think I discovered the cause while re-building the collision maps. I was using an empty square inside the collision tile set to clear collision tiles. It looked fine and played fine in Chrome but must act differently in Firefox. I made sure I cleared any collision tiles using the upper most right box outside of the collision tile set and all looks good.

1 decade ago by nzjames

I'm releasing.

Play the final game here: http://nzjames.com/zombiesahead/

Get the source: https://github.com/nzjames/zombiesahead

It's short. It's simple. And it's done. I've got loads more to learn but this is the first game I've ever released and I'm satisfied.

1 decade ago by rooster

Just wanted to say great job on the game! I just purchased Impact and Freeman's book about a week ago and have been working through it as well. I love the idea of keys, pretty cool!

1 decade ago by jessefreeman

Just started catching up on the forum again, great job nzjames on the game. Love that you added an inventory system!
Page 1 of 1
« first « previous next › last »