Pages: 1 2 »
  Print  
Author Topic: Yoyogames Example in Enigma  (Read 6923 times)
Offline (Unknown gender) fervi
Posted on: September 15, 2013, 02:40:43 PM
Member
Joined: Feb 2013
Posts: 78

View Profile Email
First Game (Catch The Clown)
Works fully

FPS (Doom-like)
Compiling, but no walls (background_get_texture problem?)

Maze Game (Maze)
Works fully

Multiplayer Example
Not compiling - (mplay_init_ipx)

Platform Game Example
Playable, compiling without any problems, but Highscore table doesn't work

Shooter Example (1945)
Playable, compiling without any problems, but Highscore table doesn't work

Isometric Example
Works fully

Parallax demo
Not sure, probably background doesn't work

Parallel demo
Works fully

Scaling example
Background doesn't work and bugged collision
Logged
Offline (Male) DaSpirit
Reply #1 Posted on: September 15, 2013, 03:59:29 PM

Member
Location: New York City
Joined: Mar 2013
Posts: 125

View Profile
YoYo Games fully removed mplay_* functions in recent GameMaker editions. We shouldn't be supporting it either, as it was never even recommended in GameMaker either.
Logged
Offline (Unknown gender) fervi
Reply #2 Posted on: September 15, 2013, 04:24:02 PM
Member
Joined: Feb 2013
Posts: 78

View Profile Email
YoYo Games fully removed mplay_* functions in recent GameMaker editions. We shouldn't be supporting it either, as it was never even recommended in GameMaker either.

In theory yes, but enigma should be compatibile with mplay (or just create mplay like technology)

Fervi
Logged
Offline (Male) Goombert
Reply #3 Posted on: September 16, 2013, 01:18:41 AM

Developer
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 3151

View Profile
Quote
mplay_init_ipx

DirectPlay has been officially deprecated for like 10 years now and I don't feel like writing the code only for it to buggy and outdated, there is no point in wasting time on it. MPlay is obsolete in both ENIGMA and Game Maker, it never worked well anyway.

Quote
In theory yes, but enigma should be compatibile with mplay (or just create mplay like technology)
Sure if someone wants to write a networking system that uses DirectPlay which for reasons I stated above and the fact IsmAvatar already wrote Berkeley Sockets, I feel it is a huge waste of time.

Quote
Not sure, probably background doesn't work
Build->Settings "API" tab, sometimes it helps to try these games in different graphics systems.

Quote
but Highscore table doesn't work
That is part of widget systems, which is defaulted to Win32 on Windows and I don't think highscore functions were added, on Linux for widgets you need to set GTK+

Quote
Compiling, but no walls (background_get_texture problem?)
That should not be happening in the current version, there are collision bugs because game maker returns -4 for noone constant which people do if (!collision) and GML assumes negative values as boolean false, which ENIGMA and no real programming language does so you generally have to do if (!collision == -4) in ENIGMA

But as for the texture problem, try the version on the EDC as it has these changes, and you can also try Build->Settings "API" and switch graphics systems.
« Last Edit: September 16, 2013, 01:21:26 AM by Robert B Colton » Logged
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.

Offline (Unknown gender) TheExDeus
Reply #4 Posted on: September 16, 2013, 07:21:34 AM

Developer
Joined: Apr 2008
Posts: 1886

View Profile
Quote
Sure if someone wants to write a networking system that uses DirectPlay which for reasons I stated above and the fact IsmAvatar already wrote Berkeley Sockets, I feel it is a huge waste of time.
I think he meant we need to support those functions, not some underlying system. So just create a wrapper around Berkeley sockets. I don't know how hard the current net_ functions are to use, but the mplay ones were easy as far as I remember.
Logged
Offline (Male) Goombert
Reply #5 Posted on: September 16, 2013, 03:53:52 PM

Developer
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 3151

View Profile
Harri, with networking you still need to obtain the curl headers for http functions, that is why if it were done it should just use DirectPlay since that is already distributed with our MinGW just like DirectSound, DirectInput, and Direct3D 9 I'd rather not hang on to those functions forever, nor emulate an obsolete part of the DirectX API
Logged
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.

Offline (Unknown gender) TheExDeus
Reply #6 Posted on: September 17, 2013, 11:53:47 AM

Developer
Joined: Apr 2008
Posts: 1886

View Profile
Quote
with networking you still need to obtain the curl headers for http functions
Why? I don't remember mplay having any http functions.

Quote
MinGW just like DirectSound, DirectInput, and Direct3D 9 I'd rather not hang on to those functions forever, nor emulate an obsolete part of the DirectX API
Then that clearly wouldn't work with Linux. So I don't get why BS cannot be used here.
Logged
Offline (Male) Goombert
Reply #7 Posted on: September 17, 2013, 04:35:49 PM

Developer
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 3151

View Profile
Quote
Why? I don't remember mplay having any http functions.
Not what I said, I said the new Berkeley Sockets have networking, and you have to obtain the curl headers in order to compile with Berkeley Sockets enabled.

Quote
Then that clearly wouldn't work with Linux. So I don't get why BS cannot be used here.
Yes, and neither did the original mplay functions. Mplay functions were designed specifically like the DirectPlay version, that is also why joystick functions are named the way they are, and all of the Direct3D functions, a lot of GML functions are named directly after the DX equiv. But anyway, Mplay was shit, and nobody ever used it, me and Josh were fine just leaving it obsolete/deprecated because it performed so fucking horribly, other than the one tutorial, there is not any other game in Game Maker that used mplay, maybe a few side ones, but I have found very very few, and none that are even worth porting. Anybody who knew anything used 39dll, etc. Like I said I am not wasting my time with it, someone else certainly can, but I am not.

Edit: Fuck it, I guess I'll write mplay functions wtfever
« Last Edit: September 18, 2013, 05:22:59 AM by Robert B Colton » Logged
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.

Offline (Male) time-killer-games
Reply #8 Posted on: September 18, 2013, 01:26:07 PM

Contributor
Location: Virginia Beach
Joined: Jan 2013
Posts: 1168

View Profile Email
I always wondered, why is it called "39dll" if you ask me that is an extremely stupid name, heck, it's some random number. I'm tempted to think the guy who named it was tripping on acid.
Logged
Offline (Male) Goombert
Reply #9 Posted on: September 18, 2013, 04:17:09 PM

Developer
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 3151

View Profile
Think it's a pun on a baseball team...
http://39dll.wikia.com/wiki/39sters_39DLL:_winsock_for_Game_Maker_Wiki
Logged
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.

Offline (Unknown gender) fervi
Reply #10 Posted on: September 18, 2013, 06:30:18 PM
Member
Joined: Feb 2013
Posts: 78

View Profile Email
@Robert B Colton
I thinking about recreate mplay functions, but using better tools. I understand about mplay-GM - is very bad, but enigma should have better, but compatibile (by GML-code) functions

Fervi
Logged
Offline (Male) Goombert
Reply #11 Posted on: September 18, 2013, 07:19:19 PM

Developer
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 3151

View Profile
Fervi, we do, it's called Berkeley Sockets networking, mplay is just Microsofts shitty designed multiplayer, we have real networking.
Logged
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.

Offline (Unknown gender) TheExDeus
Reply #12 Posted on: September 19, 2013, 04:19:56 AM

Developer
Joined: Apr 2008
Posts: 1886

View Profile
Quote
Not what I said, I said the new Berkeley Sockets have networking, and you have to obtain the curl headers in order to compile with Berkeley Sockets enabled.
Why? I have used BS with mingw without any extra headers before.

Quote
Fervi, we do, it's called Berkeley Sockets networking, mplay is just Microsofts shitty designed multiplayer, we have real networking.
But you still don't get it. We are saying that we don't need DirectPlay or whatever, because we have Berkeley implemented. It doesn't matter on what mplay was originally based on and it doesn't matter how it is called. I am saying that mplay can be implemented as a wrapper for the now implemented BS.  So no need for DirectPlay which will only work on Windows and will probably not give any benefit.
Logged
Offline (Male) Goombert
Reply #13 Posted on: September 19, 2013, 04:54:59 AM

Developer
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 3151

View Profile
Quote
Why? I have used BS with mingw without any extra headers before.
Weird, everyone else has had to obtain the curl headers, I have yet to test it on Windows, but for me it was the same on Linux.

Quote
But you still don't get it.
No, I do get it, you want to keep that API alive longer than it should be, it's dead, it was never alive, and should be left to rest in peace :| That said, networking functions would be weird to wrap around the mplay functions, they wouldn't fit nicely together.
Logged
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.

Offline (Unknown gender) TheExDeus
Reply #14 Posted on: September 19, 2013, 06:16:39 AM

Developer
Joined: Apr 2008
Posts: 1886

View Profile
Quote
Weird, everyone else has had to obtain the curl headers, I have yet to test it on Windows, but for me it was the same on Linux.
On linux you proably have to install loads of crap. On Windows it worked for me with just the MinGW. I once made a server which simulated traffic lights and ran it on Linux - and a client that visualized it in ENIGMA.

Quote
No, I do get it, you want to keep that API alive longer than it should be, it's dead, it was never alive, and should be left to rest in peace :| That said, networking functions would be weird to wrap around the mplay functions, they wouldn't fit nicely together.
We can let it die. Just saying that implementing DirectPlay seems useless. Either wrap around BS (which shouldn't be that hard at least as much as I remember both mplay and BS) or don't do anything. Of course implementing the new GM:S networking functions should be more important. While you already added network_ and buffer_ functions (I think) we still need to implement the events. http://www.yoyogames.com/tech_blog/11
Logged
Pages: 1 2 »
  Print