Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

2D All the way! / [LOCKED] 2d pac man problem

Author
Message
lokatsis
20
Years of Service
User Offline
Joined: 11th Feb 2004
Location: greece
Posted: 7th Mar 2004 22:36
i am trying to make a 2d pac man game and i have some trouble with the dots.
i created the dots with the for next command and i'd like to know
how to delete them when the sprite of pac man is close to them.
i'd some code snippet for this. if anyone knows how to do it pls help!

THE AOOS
comando 300
20
Years of Service
User Offline
Joined: 23rd Nov 2003
Location:
Posted: 7th Mar 2004 22:49
for eat=1 to number of sprites
if sprite collsion(pacno,number sprites)=1 then hide eat
next eat

That's what I did!

CURRENT PROJECT: RETRO PAC-MAN

Login to post a reply

Server time is: 2024-05-20 08:12:54
Your offset time is: 2024-05-20 08:12:54