Hello,
(firt : sorry for my english. i hope my question will be clear enough...)
Is there a relation between performance (no lags/slowdowns) of a game and :
- the number of events in a map (or in a project in general) ?
- the number of common events in a project ?
- the size of a map
I have noticed that in previous games i'have developped "lag" could appear (the walking animation of the main character was not fluid) in certain cases and i always wonder why. One day, i tried to supress a lot of events in a map, just to see the difference, and i could seen the game flow returned to normal. So... i wonder if there is a recommended limit to the number of event (+ common event) in games.
Must I limit my use of common events ou events ? Is there a recommended "limit" by maps, in the number of common event included ?
My situation for my current project :
I'm developping a game with nearly no plugin, except for a call to a custom menu (the plugin is only here to call a common event with the mouse right clic, Y button or escape key).
I'm using a lot of Common Event to handle my custom inventory system but all of these comon event are called by other events (no use of parallel or automatic common event).
For now, i have around 30-40 common events.
In my maps, i don't use parallel events, and rarely (but occasionaly) use automatic.
My maps size varie from 13x17 to 100+x100+ and i change the screeenresolution to 1920x1024.
I have in general around 20-30 events by maps.
Thank you for your help ! 🙂
(firt : sorry for my english. i hope my question will be clear enough...)
Is there a relation between performance (no lags/slowdowns) of a game and :
- the number of events in a map (or in a project in general) ?
- the number of common events in a project ?
- the size of a map
I have noticed that in previous games i'have developped "lag" could appear (the walking animation of the main character was not fluid) in certain cases and i always wonder why. One day, i tried to supress a lot of events in a map, just to see the difference, and i could seen the game flow returned to normal. So... i wonder if there is a recommended limit to the number of event (+ common event) in games.
Must I limit my use of common events ou events ? Is there a recommended "limit" by maps, in the number of common event included ?
My situation for my current project :
I'm developping a game with nearly no plugin, except for a call to a custom menu (the plugin is only here to call a common event with the mouse right clic, Y button or escape key).
I'm using a lot of Common Event to handle my custom inventory system but all of these comon event are called by other events (no use of parallel or automatic common event).
For now, i have around 30-40 common events.
In my maps, i don't use parallel events, and rarely (but occasionaly) use automatic.
My maps size varie from 13x17 to 100+x100+ and i change the screeenresolution to 1920x1024.
I have in general around 20-30 events by maps.
Thank you for your help ! 🙂