Hello Guest, please login or register.
Did you miss your activation email?
Login with username, password and session length.

Pages: [1]   Go Down

Author Topic: Multithreading in gm  (Read 1201 times)

0 Members and 1 Guest are viewing this topic.
Multithreading in gm
« on: August 20, 2008, 05:42:44 am »
  • *
  • Reputation: +1/-0
  • Offline Offline
  • Gender: Male
  • Posts: 4588
We all know what threads are and what they do but what about threads in GameMaker. If a user has multiple processors/cores then a thread(s) would boost the performance of a game for sure by putting some processing elsewhere. However a single cored pc would just lag the game.

There is a dll that allows threads... but I wonder... is it even worth the time and effort?
Logged
the a o d c
Re: Multithreading in gm
« Reply #1 on: August 20, 2008, 06:25:37 am »
  • *
  • Reputation: +3/-0
  • Offline Offline
  • Gender: Male
  • Posts: 3374
yes, I've seen that dll before. To me, most games wouldn't really need it, and just looking at the coding involved it's not really practical. Depends if you're game's going to have a lot of action or behind the scenes action going on. Since most of my coding doesn't do that, I have no need to bother with threads until mark actually makes them possible with the standard GM package.
Logged
Quote from: Jason
Your community is a bunch of stuck up turds.
Re: Multithreading in gm
« Reply #2 on: August 20, 2008, 02:39:33 pm »
  • *
  • Reputation: +3/-0
  • Offline Offline
  • Gender: Male
  • Posts: 6629
If your actually looking into designing something that requires multi-threading then I would seriously ask you to consider if GM really is the best language for that.
Logged
Re: Multithreading in gm
« Reply #3 on: August 20, 2008, 02:51:10 pm »
  • *
  • Reputation: +1/-0
  • Offline Offline
  • Gender: Male
  • Posts: 4588
If your actually looking into designing something that requires multi-threading then I would seriously ask you to consider if GM really is the best language for that.
Well I said is it worth adding it to GM games, not other languages.
Logged
the a o d c
Re: Multithreading in gm
« Reply #4 on: August 20, 2008, 11:32:59 pm »
  • *
  • Reputation: +3/-0
  • Offline Offline
  • Gender: Male
  • Posts: 3374
If your actually looking into designing something that requires multi-threading then I would seriously ask you to consider if GM really is the best language for that.
Well I said is it worth adding it to GM games, not other languages.
IMO, no. Too much of a bother.
Logged
Quote from: Jason
Your community is a bunch of stuck up turds.
Pages: [1]   Go Up

 


Contact Us | Legal | Advertise Here
2013 © ZFGC, All Rights Reserved



Page created in 0.017 seconds with 47 queries.