XMage API?
by BetaSteward
Moderators: North, BetaSteward, noxx, jeffwadsworth, JayDi, TheElk801, LevelX, CCGHQ Admins
XMage API?
by wartime » 25 Apr 2016, 07:05
Just as a thought experiment, how much work would be involved to create a web API using XMage's gameplay logic. This way we can more easily create front-ends which do not rely on Java or spring?
I think an HTML5 or Unity front-end would be great and I'd like to give it a stab. I just downloaded XMage's codebase and it is very vast, so is there any starting point someone would recommend for seeing where the gameplay logic ends and the UI begins? How much of XMage's functionality relys on the spring interface?
I think an HTML5 or Unity front-end would be great and I'd like to give it a stab. I just downloaded XMage's codebase and it is very vast, so is there any starting point someone would recommend for seeing where the gameplay logic ends and the UI begins? How much of XMage's functionality relys on the spring interface?
- wartime
- Posts: 3
- Joined: 25 Apr 2016, 06:56
- Has thanked: 0 time
- Been thanked: 0 time
Re: XMage API?
by escplan9 » 25 Apr 2016, 16:20
In the Developer Getting Started Guide (https://github.com/magefree/mage/wiki/D ... ng-Started) there's some mention of what each project does under the Developer Notes section:
https://github.com/magefree/mage/wiki/Developer-Notes
https://github.com/magefree/mage/wiki/Developer-Notes
Re: XMage API?
by wartime » 25 Apr 2016, 18:40
I saw that after I posted. According to that page there is a clear separation. Good news?
- wartime
- Posts: 3
- Joined: 25 Apr 2016, 06:56
- Has thanked: 0 time
- Been thanked: 0 time
Re: XMage API?
by escplan9 » 25 Apr 2016, 19:28
I'm still very new to developing with XMage so I unfortunately don't have anything else to offer here.
Re: XMage API?
by LevelX » 25 Apr 2016, 22:53
There were already 2 or 3 projects in the past to create such new clients.
They all failed because it's a lot more work than you probably think now.
The used interfaces between server and client are all here:
https://github.com/magefree/mage/tree/m ... /mage/view
They all failed because it's a lot more work than you probably think now.
The used interfaces between server and client are all here:
https://github.com/magefree/mage/tree/m ... /mage/view
-
LevelX - DEVELOPER
- Posts: 1677
- Joined: 08 Dec 2011, 15:08
- Has thanked: 174 times
- Been thanked: 374 times
Re: XMage API?
by wartime » 25 Apr 2016, 23:51
Thanks, I think that's the list of files I was looking for. I'm not going promise I'll get very far but it seems like a fun side project.
Do you know those 2-3 failed projects? Maybe there's a starting point among them.
Do you know those 2-3 failed projects? Maybe there's a starting point among them.
- wartime
- Posts: 3
- Joined: 25 Apr 2016, 06:56
- Has thanked: 0 time
- Been thanked: 0 time
Re: XMage API?
by LevelX » 26 Apr 2016, 09:30
-
LevelX - DEVELOPER
- Posts: 1677
- Joined: 08 Dec 2011, 15:08
- Has thanked: 174 times
- Been thanked: 374 times
7 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 12 guests