jocelynlih / SwiftGameBook

73 stars 15 forks source link

Add lead trail after Mr. Pencil #23

Closed nettlep closed 10 years ago

nettlep commented 10 years ago

I'm not sure what to do here... if he's a pencil moving along a surface and we're viewing that surface from the side ('side-scroller' anyone?) - then I'm a little confused about what this should look like.

hallas commented 10 years ago

How about a path where you add his location frame, then every 60 frames you reduce the path to approximation and then we draw that path as a black line?

I dont think it needs a specific look

hallas commented 10 years ago

You probably already have a great idea to implement a trail

nettlep commented 10 years ago

I'm more curious about how somebody envisions this to look.

Here's where I'm getting brain-locked. You said "draw a path..." Would that be a path drawn on the platforms and other surfaces that he's moving across? The same platforms and surfaces which already have sketch-pencil outlines? :)

O_o

On Wed, Aug 6, 2014 at 5:20 PM, Christoffer Hallas <notifications@github.com

wrote:

You probably already have a great idea to implement a trail

— Reply to this email directly or view it on GitHub https://github.com/jocelynlih/SwiftGameBook/issues/23#issuecomment-51405691 .

hallas commented 10 years ago

Well. Things that he touch will bounce him off or he'll kill them?

Maybe the path will help the idea that this is "drawn" game? It's like a magic sketch pad..

ankurp commented 10 years ago

I think the point of this was to visualize that the led is running out as we will have that in the HUD counting down. If we can draw a line of the path where the pencil goes that is good enough. Maybe we can use particle effects in SpriteKit and show the trails that way if its easier like this kcu1fttegc

nettlep commented 10 years ago

I think everybody is missing my point. Take a screenshot and DRAW on the screen where you would expect that lead trail to go.

I think then you'll see my point - that lead trail will be drawn where there is already a pencil-outline.

thinkclay commented 10 years ago

Personally I was thinking of a character trail that is drawn from the pencil tip across the scene wherever the hero goes: https://www.dropbox.com/s/yrwk1uoojqvdciu/Screenshot%202014-08-09%2019.47.30.png and as the life decreases, the lead trail gets lighter and lighter. It could replace or enhance the mr pencil indicator we use in the top right. But I'm not partial either way.. both work well.

nettlep commented 10 years ago

Well, that's not quite what I meant. Here's 1000 words (a.k.a., a picture). Just imagine the trail drawn as sketch lines like our vectorized assets.

You can see that there are parts of the level that as Steve moves over them, we're drawing our trail line right on top of our sketch lines (these areas circled in Red.) Our trail would also be sketched (not shown in the screenshot below), so they would be nearly impossible to see. We could move them up in the air so they follow behind him (rather than where his feet touch the level) but that kinda defeats the purpose and would look a little strange with the sketch lines following him around AND the sketch lines around our sprites.

sample

nettlep commented 10 years ago

This feels like a feature that, if we could agree on how it is implemented, would be something we would add if we had time.

Don't see us having time at the moment. Closing.

hallas commented 10 years ago

:+1: