May 25, 2013, 04:06:46 am
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: Chat with us on IRC:
http://ganggarrison.com/irc.html
Server:
irc.esper.net
, Channel:
#gg2
Home
Help
Search
Login
Register
The Gang Garrison 2 Forum
>
Gang Garrison Development
>
Feature Requests
(Moderators:
fishy
,
Phantom Brave
,
Psychopath
) >
Loading Resources externally to improve performance
Pages:
1
Print
Author
Topic: Loading Resources externally to improve performance (Read 406 times)
♫Sani Sani Disco♫
Onion Knight
Offline
Posts: 10508
yo let's suck face and listen to rap music
Loading Resources externally to improve performance
«
on:
January 08, 2012, 07:55:50 pm »
So one reason the game is slow is that it's in Game Maker.
Another notable reason is that everything is precached and the game is bloated. We can solve both those problems at the same time if we keep only the essentials in the game (Like ctf mode and game-essential objects and scripts) to make it a little easier on the game. Also it can still stay bloated.
Or at least the sound files those are huge and shitty
«
Last Edit: January 08, 2012, 08:05:07 pm by ♫Sani♫
»
Logged
Quote from: mop
Quote from: MR MAGN3TIC
I don't like it.
Oh, well, you might as well pack up and stop now, because he doesn't like it
Asdf64: "ultros turned me on" - sani 2013
Isumi
Jr. Member
Offline
Posts: 78
Vote okapi
Re: Loading Resources externally to improve performance
«
Reply #1 on:
January 08, 2012, 08:05:20 pm »
so keep the essentials inside the game but make the less important stuff external so reduce lag, if it reduces lag i dont see why not
Logged
Quote from: Rainy on February 04, 2012, 12:20:54 am
I giggled.
♫Sani Sani Disco♫
Onion Knight
Offline
Posts: 10508
yo let's suck face and listen to rap music
Re: Loading Resources externally to improve performance
«
Reply #2 on:
January 08, 2012, 08:06:46 pm »
The biggest problem is that it's a long and tedious process.
Logged
Quote from: mop
Quote from: MR MAGN3TIC
I don't like it.
Oh, well, you might as well pack up and stop now, because he doesn't like it
Asdf64: "ultros turned me on" - sani 2013
Isumi
Jr. Member
Offline
Posts: 78
Vote okapi
Re: Loading Resources externally to improve performance
«
Reply #3 on:
January 08, 2012, 08:07:51 pm »
then this probably isnt going to happen considering how lazy every one here is
Logged
Quote from: Rainy on February 04, 2012, 12:20:54 am
I giggled.
NAGN
Developer
Offline
Posts: 16895
Yeah so now I have an idea
Re: Loading Resources externally to improve performance
«
Reply #4 on:
January 08, 2012, 08:41:46 pm »
Externaly loading through Game Maker's notoriously slow parser isn't going to do much other than make map switching and boot up times much longer
That being said, its rather simple to dump all the materials (backgrounds , sounds, and sprites) to an external folder and load them on the fly, but considering the fact that you need nearly all recourses anyways other than external maps, which are dynamically unloaded and reloaded between maps anyways, I don't really see the reasoning behind that
And no that won't boost framerates. I don't even see how that logically boosts framerates
Logged
[im
Humble Master
Hero Member
Offline
Posts: 1284
Maker of Drakora
Re: Loading Resources externally to improve performance
«
Reply #5 on:
January 08, 2012, 09:20:16 pm »
Don't know if this would work. What if you put all the sound and sprites and whatnot into a plugin that then loaded the resources onto GG2 as needed? We already have the programing for Plugins so it wouldn't need an exessive amount of modifications.
Logged
Finally returned
NAGN
Developer
Offline
Posts: 16895
Yeah so now I have an idea
Re: Loading Resources externally to improve performance
«
Reply #6 on:
January 08, 2012, 09:24:52 pm »
that would actually make it even slower, because parsing gml into gml is reallly really slow, from the actual importing feature being slow and frame locked as well
not only that but there's no reason to do so anyways. The only problem is that GG2 takes up an excessive amount of memory, but that wouldn't cause a decrease of speed, and even that wouldn't solve it considering mostly everything has to be preloaded anyways
Logged
[im
Pages:
1
Print
Jump to:
Please select a destination:
-----------------------------
Gang Garrison Discussion
-----------------------------
=> Announcements
=> General Gang Garrison Discussion
===> Servers
=> Strategy and Tactics
=> Gang Garrison Clans
=> Tournaments and Competitive Play
-----------------------------
Gang Garrison Development
-----------------------------
=> Feature Requests
===> Accepted Feature Requests
=> Development Discussion
=> Mods
===> Plugins and Addons
=> Website & Forum
=> Bug Reports
-----------------------------
Maps
-----------------------------
=> Map Making
=> Garrison Builder
-----------------------------
Other Faucet Projects
-----------------------------
=> Playable Projects
=> New Projects
-----------------------------
Off-topic Conversation
-----------------------------
=> General Chatter
=> Art
=> Gaming Discussion
-----------------------------
Archived Boards
-----------------------------
=> Old Bug Reports
=> Dead Clans
=> 2011 Haxxy Awards
=> 2012 Haxxy Awards
Loading...