Forum

> > CS2D > Scripts > Someone need create a MOBA
Forums overviewCS2D overview Scripts overviewLog in to reply

English Someone need create a MOBA

21 replies
Page
To the start Previous 1 2 Next To the start

old Re: Someone need create a MOBA

Pagyra
User Off Offline

Quote
That is one of rare occasions when I partially agree with user Yates - at this moment situation with images is complicated.
To solve this problem, I use this procedure:
1 generate a list(array) of all images id and its parameters
2 generate a list(array) of all frequently used images (which are often used in lua script)
3 instead of removing frequently used image I make it transparent.
4 in moment of creating and deleting large numbers of images, I add timers to make it a long-acting
5 generate a global timer for organizing changes(movement,opacity,...) for lists(arrays) of images with same mode.

old Re: Someone need create a MOBA

_Yank
User Off Offline

Quote
@user Pagyra: It is not all about the number of images getting displayed but also about the delay they get when comming to the players screen. Players with high latency would experience lag issues even with a beast setup since all the stuff runs on the server side.
To the start Previous 1 2 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview