This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Custom Timers


Custom Timers

Postby mmtbb » May 1, 2005 @ 5:47am

It would be great if there were custom timers that you could do various things with i.e. every 10 seconds make something happen. Maybe you could create the name like SetCustomTimer(name, interval) with SetTimerInterval(millisec) etc.

Also, this may be too difficult, but it would be helpful for me if the events in the spriteproc could be individualized. Example, WM_Timer event could be set seperate to the SETSPRITEAISPEED (which also controls the movement of the sprite and probably the rest of the collisions for the sprite etc). Right now everything fires at the same speed, which can be fine in a lot of cases, but I have ran into a few that would present problems.
mmtbb
pm Member
 
Posts: 277
Joined: Mar 18, 2004 @ 6:56am


Postby kornalius » May 1, 2005 @ 10:06pm

Hi,

Good idea.

I will implement a SetSpriteTimer() function that will trigger WM_TIMER events in each sprite's proc. You will be able to customize and have many timers per sprite.
Regards,
Kornalius
President
ArianeSoft Inc.
http://www.arianesoft.ca
User avatar
kornalius
pm Member
 
Posts: 1704
Joined: Dec 9, 2003 @ 6:04pm
Location: Montreal, Québec, Canada


Postby Guest » May 2, 2005 @ 5:02pm

Sweet. Sounds great.
Guest
 


Return to Pocket Programming Language (PPL)


Sort


Forum Description

Discuss this new development tool.

Moderator:

kornalius

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum