www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/09/21/14:32:44

Message-ID: <342553DA.5C0@mho.net>
Date: Sun, 21 Sep 1997 11:05:30 -0600
From: Joel Rosenthal <ZZTiger AT mho DOT net>
Organization: Eye Gym Software
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: My sprites move too fast
References: <01bcc76c$97466660$473e64c2 AT default>
NNTP-Posting-Host: 206.156.104.124
Lines: 27
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Laine wrote:
> 
> Hi!
> 
> I'm doing a game with DJGPP and Allegro and
> I've got problems. Not much anymore, but still
> one. I've got too sprites, one is a falling object
> and the other is a board with wich the player tries
> to catch the object. I've managed to make them move
> at a different speed, but they both go too fast.
> So here's the QUESTION:
>  How can I slow them down. I don't think a for-loop
>  is a good idea, is it? What is a good idea?
> 
> PS. was this message too long? Thanks for reading
>       it. (I'm new here and I don't know how I'm
>       supposed to behave here :-)
> 
> Jarkko

Isn't there a wait() function?  Is slows down about 18.5 of a second, so
calling that function several times might slow it.
-- 
Want some REAL fantasy role playing action?
Play the Legend of Sardinia!
Just slap 
http://www.geocities.com/SiliconValley/Bay/5345/ on your browser!

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019