🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: rec.games.programmer
Article #194

Re: Collision detection

#194
From: Zarniwoop Woop
Date: Fri, 24 Jul 1992 01:33
22 lines
920 bytes
You could just check the direct screen memory to see if two sprites

had collided,

 for example..

The memory segment for one part of the screen is black (lets assume)

then just look to see if this memory location changes colors twice after 
an 'object' moves. (or once if a sprite allready occupies that location 
with its color.

I dunno, don't ask me. I program in Turbo Pascal 6.0

Color me dumb.

Then again, you could just use objects and define their boundries

:)


 * Origin: NineJackNine / 608-256-5697 / Madison WI / (1:121/99.0)
Technical Details
Message-ID: <712005390.4@selene.FidoNet.Org>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!daffy!uwvax!gorgon!selene!FredGate

Show Full Headers
Complete Article Headers
From: Zarniwoop.Woop@f99.n121.z1.FidoNet.Org (Zarniwoop Woop)
Sender: FredGate@p0.f99.n121.z1.FidoNet.Org
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!daffy!uwvax!gorgon!selene!FredGate
Newsgroups: rec.games.programmer
Subject: Re: Collision detection
Message-ID: <712005390.4@selene.FidoNet.Org>
Date: 23 Jul 92  20:33:18 EST
Lines: 23