
-----------------------------------
Blade
Thu Apr 10, 2003 11:45 am

Multi-Tasking
-----------------------------------
is there anyway i can get different things to run at the same time without using a process?

i am creating a game that involves a guy moving, and shooting a gun with a boss-like character moving around at the same time, and attacking back at the guy.

if i use a process the processing of the game will lag pretty badly, and it will be almost as if he isnt moving anyways..

-----------------------------------
Asok
Thu Apr 10, 2003 12:35 pm


-----------------------------------
just have everything in the same loop.

-----------------------------------
Tony
Thu Apr 10, 2003 1:51 pm


-----------------------------------
Asok is right. Having everything in the same loop would make more sence.

also if you program in v4, you can have View.Update at the end of the loop, so that all graphics are updated only when the whole loop is run through. This way it wouldnt lag as much.

-----------------------------------
Blade
Thu Apr 10, 2003 2:43 pm


-----------------------------------
yea, i wasn't really thinking about it that way, i was thinking along the lines of how i can keep the code organized and run well at the same time. lol

-----------------------------------
Catalyst
Thu Apr 10, 2003 2:45 pm


-----------------------------------
classes work very well for organization

-----------------------------------
Blade
Thu Apr 10, 2003 2:59 pm


-----------------------------------
whats a class?

-----------------------------------
Catalyst
Thu Apr 10, 2003 3:07 pm


-----------------------------------
check tutorials i made one couple of min ago
