Cypher1 / 13k_lost

A tiny game (hopefully)
3 stars 1 forks source link

Things I need to fix/do #4

Open wemyss opened 7 years ago

wemyss commented 7 years ago
Cypher1 commented 7 years ago

I've had a go a making it more state based in https://github.com/Cypher1/13k_lost/tree/stateBased. Can you have a look sometime, I'm not sure it counts as a finite state machine but I think it's closer to a good approach.

wemyss commented 7 years ago

Looks good (I like the separated animation sprite). Are we doing top down or side scroller 😕 ❓ Can that grass be used for top down? image from the branch I'm working on. Was this similar to what you were thinking for caves? (the yellow squares are just examples of where we could put treasure things or enemy spawns)

wemyss commented 7 years ago

Also on your branch you can no longer change which direction you're looking without moving, not sure if that's something we want (I literally was just thinking of how they do things in pokemon emerald 😛)

Cypher1 commented 7 years ago

Gotcha. That was an unintended side effect of the way I reimplemented Player.walk. I should be able to fiddle with it and get back the 'look' action.

I drew those tiles as side scrolling as an experiment really. I'd prefer top down really but I'm not used to drawing textures for it so I'll have to keep practicing.

So Im assuming somethings about the a game a we want to make so let me know where we have different ideas but, we need:

Some kind of death system.

Any preferences for all these?

On Sat., 9 Sep. 2017, 8:01 pm Wemyss notifications@github.com wrote:

Also on your branch you can no longer change which direction you're looking without moving, not sure if that's something we want (I literally was just thinking of how they do things in pokemon emerald 😛)

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/Cypher1/13k_lost/issues/4#issuecomment-328267445, or mute the thread https://github.com/notifications/unsubscribe-auth/ABEaHgAvalo8SOYuAplgNkIINtCVjEZSks5sgmHtgaJpZM4PRQpT .

wemyss commented 7 years ago

Wall and floor textures 👍

Collidable objects is kinda done on my branch with walls already (was thinking in the world grid that any positive numbers are collidable and 0 or below are free to move around in)

Would like to do doors and keys. Else I'm keen for explosives they can place to get to other sections.

Scary gnomes :P

Yeah not sure what happens when someone dies? Should they respawn after some time or?

Cypher1 commented 7 years ago

Awesome.

Explosives are great, so like a timed explosive (just explode when the animation finishes) maybe spawn some smoke?

This reminds me of the AI assignment I'll look for the spec.

On Sun., 10 Sep. 2017, 11:49 am Wemyss notifications@github.com wrote:

Wall and floor textures 👍

Collidable objects is kinda done on my branch with walls already (was thinking in the world grid that any positive numbers are collidable and 0 or below are free to move around in)

Would like to do doors and keys. Else I'm keen for explosives they can place to get to other sections.

Scary gnomes :P

Yeah not sure what happens when someone dies? Should they respawn after some time or?

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/Cypher1/13k_lost/issues/4#issuecomment-328314192, or mute the thread https://github.com/notifications/unsubscribe-auth/ABEaHiIQFFwgNZEkOEAA2LgjAUNrxeetks5sg0AOgaJpZM4PRQpT .

wemyss commented 7 years ago

Hahaha. Secretly I'm doing Ai and getting you to do my assignment. Timed explosives with puffs of smoke sound cool. Kirsten also suggested footprints that linger for a while so you can see someone was around

Cypher1 commented 7 years ago

That's a sweet idea! We could go the horror route if we did some lighting work... Fixed up spawning by the way (merged it in as its pretty small)

wemyss commented 7 years ago

Last min todo list before 9pm tonight:

wemyss commented 7 years ago

Made temporary treasure sprite

wemyss commented 7 years ago

Fixed browser focus bug, will commit straight on master

Cypher1 commented 7 years ago

Working on A improvements, almost got it working (should do an A and only need to redo the A* when it runs out of path to follow)

wemyss commented 7 years ago

I can see the player exploiting that by running straight back past the enemy. not sure if this would work but maybe we could when the player moves 1 unit we calculate the A* search again from path[path.length-2] (the 2nd last tile in the path) to the new player coordinates and update the path with the findings.

EDIT: probably not worth doing this

wemyss commented 7 years ago

http://codeincomplete.com/posts/javascript-game-foundations-sound/ - I'll give this a go tonight