# Pixel color

**URL:** https://forum.kirupa.com/t/pixel-color/173905
**Category:** Uncategorized
**Created:** [December 30, 2005, 6:22pm UTC](https://forum.kirupa.com/t/pixel-color/173905 "2005-12-30T18:22:24Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![VoS](https://avatars.discourse-cdn.com/v4/letter/v/22d042/32.png) [@VoS](https://forum.kirupa.com/u/VoS)
#### Post date: [December 30, 2005, 6:22pm UTC](https://forum.kirupa.com/t/pixel-color/173905/1 "2005-12-30T18:22:24Z")

</div>

Hey.  
You’ve all probably seen the classical take turns side scrolling cannons shooter.

Well i want to make one with a bit more advanced parts.

Lets say i have a ground made randomly each time game is loaded.  
and a player dropped on opposite sides of the map…  
now how do i make it so the player stops when they hit the ground?.

The only way i can think of doing this is if there a way to check what color a pixel is at a certain point? (you make it stop when pixel color under the player is same color as ground)

Also when players go on fighting i want holes to be blown out of the ground. And then again making sure the player is at the ground ( so make big white spots were bullets hit and again making player fall till they hit ground)

Any ideas welcome

//VoS
