Kodi Community Forum
2048 Game for XBMC - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Game Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=291)
+---- Thread: 2048 Game for XBMC (/showthread.php?tid=189964)

Pages: 1 2


RE: 2048 Game for XBMC - zag - 2014-03-25

This is totally cool.

Please please please write a tutorial on how to code a python game, if only the structure of the add-on

It would help other people build many games in the future Smile

Wiki Game Tutorial


RE: 2048 Game for XBMC - joethefox - 2014-03-25

nice game, I enjoyed playing it


RE: 2048 Game for XBMC - sphere - 2014-03-25

(2014-03-25, 11:09)zag Wrote: Please please please write a tutorial on how to code a python game, if only the structure of the add-on

To be honest, the sum of that games are not very popular in XBMC and that there is no generic pattern in writing games makes me feel that this would be wasted time. I owe you one wiki tutorial (I promised) so I will put my time in the ScreenSaver_Tutorial instead, ok? Wink


RE: 2048 Game for XBMC - zag - 2014-03-25

Hehe fine, anything is good! Wink

I came from a HTPC project where virtually every add-on was based on a tutorial and many new programmers learnt that way. Just trying to replicate it here Wink

This is a great site for anyone wanting to port python games http://pygame.org/news.html


RE: 2048 Game for XBMC - da-anda - 2014-03-25

@sphere - I think if we'd have a nice game section this would change. Just yesterday I played tick-tack-toe with my brother - that game needs a facelift though - just as the XBMC arkanoid clone


RE: 2048 Game for XBMC - zag - 2014-03-25

Do we even have a games category?

http://addons.xbmc.org/

I seem to remember creating an icon for it on the front-end but maybe it got lost somewhere along the way.


RE: 2048 Game for XBMC - sphere - 2014-03-25

(2014-03-25, 13:21)da-anda Wrote: @sphere - I think if we'd have a nice game section this would change. Just yesterday I played tick-tack-toe with my brother - that game needs a facelift though - just as the XBMC arkanoid clone

There is already an XBMC tic-tac-toe? Didn't know it. Could be interesting...
Btw, I PM'd you in IRC - got a few minutes?

(2014-03-25, 13:53)zag Wrote: Do we even have a games category?

http://addons.xbmc.org/

I seem to remember creating an icon for it on the front-end but maybe it got lost somewhere along the way.
Nope, there isn't. But there also is no real extension point for games. I chose "script.game.<ID>" but this isn't official. Twinther's Movie Quit has just "script.moviequiz"...
Same within XBMCs addon manager, games are just programs (like plugin.program.foo and script.foo) - maybe this is one for gotham+1 (or "Heisenlix" or "Helixberg") Wink


RE: 2048 Game for XBMC - da-anda - 2014-03-25

oh, we have a couple games - not in official repo anymore, but they are still out there and I installed them ages ago. Might be worth a try to bring them up in shape for Heisenlix - you can find them here: https://github.com/XBMC-Addons

and I just answered your IRC ping - just came back from lunch Smile


RE: 2048 Game for XBMC - joethefox - 2014-04-14

Ok, I really enjoy playing this game through XBMC interface, it works great also with the remote app gesture zone Smile Is there any reason why it isn't public?