Utilizing Game Maker for 2D Online Multiplayer
Moderator: Moderators
Re: Utilizing Game Maker for 2D Online Multiplayer
NAW is made in GMS2 and has a chiptune player. Accepts nsf, spc, gbs. The name of the extension is GME (Game Music Emu) https://forum.yoyogames.com/index.php?t ... ree.25121/
https://twitter.com/bitinkstudios <- Follow me on twitter! Thanks!
https://www.patreon.com/bitinkstudios <- Support me on Patreon!
https://www.patreon.com/bitinkstudios <- Support me on Patreon!
- Jedi QuestMaster
- Posts: 688
- Joined: Thu Sep 07, 2006 1:08 pm
- Location: United States
- Contact:
Re: Utilizing Game Maker for 2D Online Multiplayer
That's the same one I couldn't get to work. Which version of GMS2 are you using? I'm on v2022.2.1.618
Re: Utilizing Game Maker for 2D Online Multiplayer
I'm using the latest GMS2 (I have a perpetual desktop license). But it's been working for years now, so it definitely worked with that version you're using. What error are you getting? I thought you were only testing the MOD plugin, not the GME one. My bad.
You may want to edit GME the same way I did. Look in the thread: https://forum.yoyogames.com/index.php?t ... 121/page-2
Anyway, here's the minimal example to get that extension to work:
1 - have a persistent object in your first room. you need to mark it as persistent using the object editor.
2 - in this object's create event, call GMEInit()
3 - if your persistent object is named "mainobj" do this to load a nsf on any other object's event (make sure it only happens once)
Let me know if that worked. If not I can send you a working project. As I mentioned in that thread, I made some very small modifications to GME, I just can't remember what it was, but it would certainly be to fix some bug, not to add a feature or anything.
I must say that for my indie game SHL DX I ended up not using GME because the porting team was having trouble getting it to work on consoles. So we did long looping wav files. That's something to consider. I did not touch any console devkit so I don't know how feasible it is.
You may want to edit GME the same way I did. Look in the thread: https://forum.yoyogames.com/index.php?t ... 121/page-2
Anyway, here's the minimal example to get that extension to work:
1 - have a persistent object in your first room. you need to mark it as persistent using the object editor.
2 - in this object's create event, call GMEInit()
3 - if your persistent object is named "mainobj" do this to load a nsf on any other object's event (make sure it only happens once)
Code: Select all
with mainobj
{
GME_LoadSong("directory/mysong.nsf");
currtrack = 0;
maxtracks = GME_NumTracks();
GME_StartTrack(currtrack);
GME_Play();
}
I must say that for my indie game SHL DX I ended up not using GME because the porting team was having trouble getting it to work on consoles. So we did long looping wav files. That's something to consider. I did not touch any console devkit so I don't know how feasible it is.
https://twitter.com/bitinkstudios <- Follow me on twitter! Thanks!
https://www.patreon.com/bitinkstudios <- Support me on Patreon!
https://www.patreon.com/bitinkstudios <- Support me on Patreon!
- Jedi QuestMaster
- Posts: 688
- Joined: Thu Sep 07, 2006 1:08 pm
- Location: United States
- Contact:
Re: Utilizing Game Maker for 2D Online Multiplayer
How'd you get a perpetual license? I'm jealous.
I wish you would have asked me this before I gave up on this asset and deleted my error text files.
Oh. I didn't even realize that was you. Small world.nesrocks wrote: ↑Sat Jul 16, 2022 5:09 amYou may want to edit GME the same way I did. Look in the thread: https://forum.yoyogames.com/index.php?t ... 121/page-2
Wait, I don't have that script. Where'd you get it? Did you make it up?
My example has obj_gme. So it's that, right? Wait, is this the GMEInit() script I'm supposed to create?nesrocks wrote: ↑Sat Jul 16, 2022 5:09 amCode: Select all
with mainobj { GME_LoadSong("directory/mysong.nsf"); currtrack = 0; maxtracks = GME_NumTracks(); GME_StartTrack(currtrack); GME_Play(); }
You mean to the script files or the extension itself? I think you should just let Mick upload your example.
Re: Utilizing Game Maker for 2D Online Multiplayer
4 years ago. They don't do that anymore, I'm afraid.
It seems that he updated the extension and it doesn't have that script anymore. Hmm...Jedi QuestMaster wrote: ↑Sun Jul 24, 2022 11:01 pmWait, I don't have that script. Where'd you get it? Did you make it up?
I didn't edit the extension itself (dlls or whatever). I edited just the GML files. I could test his new version to see if it works for me.Jedi QuestMaster wrote: ↑Sun Jul 24, 2022 11:01 pmYou mean to the script files or the extension itself? I think you should just let Mick upload your example.
https://twitter.com/bitinkstudios <- Follow me on twitter! Thanks!
https://www.patreon.com/bitinkstudios <- Support me on Patreon!
https://www.patreon.com/bitinkstudios <- Support me on Patreon!
- Jedi QuestMaster
- Posts: 688
- Joined: Thu Sep 07, 2006 1:08 pm
- Location: United States
- Contact:
Re: Utilizing Game Maker for 2D Online Multiplayer
I thought they stopped letting you get updates.
Okay, good to hear. Thanks for your help.nesrocks wrote: ↑Wed Jul 27, 2022 9:45 amI didn't edit the extension itself (dlls or whatever). I edited just the GML files. I could test his new version to see if it works for me.Jedi QuestMaster wrote: ↑Sun Jul 24, 2022 11:01 pmYou mean to the script files or the extension itself? I think you should just let Mick upload your example.
Re: Utilizing Game Maker for 2D Online Multiplayer
They said they're going to stop updates, but they haven't done it yet.Jedi QuestMaster wrote: ↑Wed Jul 27, 2022 9:56 pmI thought they stopped letting you get updates.