Jump to content

Suggestions for post-collision graphic change


OhFudgeYah
 Share

Recommended Posts

Hi all,

 

This is my first post; hopefully I'm putting this in the right place.

 

Anyway, I'm creating a game where the user controls a character that moves right and left at the bottom of the screen. Objects fall from the top of the screen. The goal is to collect as many "good" objects as possible and avoid the "bad"/damaging ones. I have no problem setting the game up; the only problem is this: I'm not sure what to do with the falling object (visually) once it is successfully collected. At the moment, it simply disappears (and increments the user's score) on contact.

 

Certainly, I'm planning to add some sound upon contact, but I'm very aware many/most users will be playing my game without sound. Initially, I had thought of maybe having the object change colors or even 'explode' into a little burst of color, but neither of those options look all that great in practice. The game moves pretty quickly, so I'm thinking that this visual effect should be 0.25 seconds or so. Probably no more than 0.5 seconds at the absolute most. 

 

In case it matters for some reason, I'm using HTML5 canvas with vanilla JS. Although I have experiencfe coding,  I'm very new to writing games and this is my first (and most complete) project!

 

Thanks!!!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...