I no longer slave for"work for" xelu.SiENcE wrote:Can you say some bit about the steam integration and how you did it? I also plan todo it and currently i don't know where to start. I don't wanna start with my own c++ module.qaisjp wrote:We plan to do Steam integration by writing bindings for the SteamWorks API in C++ (or obtain it from the wonderful world of open source github) and calling functions in Lua.SiENcE wrote:How do you do Steam integration?
Move or Die | Löve game on Steam!
Re: Move or Die | Löve game on Steam!
Lua is not an acronym.
- slime
- Solid Snayke
- Posts: 3163
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: Move or Die | Löve game on Steam!
Look into CapsAdmin's Steam stuff for Lua: https://github.com/CapsAdmin/goluwa/tre ... ries/steam (he's on IRC as well). There's no need to add anything to love's source.SiENcE wrote:Can you say some bit about the steam integration and how you did it? I also plan todo it and currently i don't know where to start. I don't wanna start with my own c++ module.
-
- Party member
- Posts: 730
- Joined: Sat Apr 26, 2014 7:46 pm
Re: Move or Die | Löve game on Steam!
Not that I know for sure or not but what if terms and conditions prevents you from using that? (Idk how it would tho) but I am sure the move or die team knew about CapsAdmin's stuff. I know that the people behind Collider knew about it too and their repo does not have that module either. (I have access)slime wrote:Look into CapsAdmin's Steam stuff for Lua: https://github.com/CapsAdmin/goluwa/tre ... ries/steam (he's on IRC as well). There's no need to add anything to love's source.SiENcE wrote:Can you say some bit about the steam integration and how you did it? I also plan todo it and currently i don't know where to start. I don't wanna start with my own c++ module.
- slime
- Solid Snayke
- Posts: 3163
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: Move or Die | Löve game on Steam!
They don't. Move or Die also uses a fork of LÖVE 0.9.1 (which was released 2 years ago), I suspect their code for interacting with Steam was started quite some time ago.bobbyjones wrote:Not that I know for sure or not but what if terms and conditions prevents you from using that?
Re: Move or Die | Löve game on Steam!
I work on Pocket Rumble (another Löve game now on Steam!)SiENcE wrote:How do you do Steam integration?
We asked the same question to one of the Move or Die developers (sorry I forget who, I wasn't the one talking with him)
Anyway, he was super helpful, thanks a ton!
How move or die did it:
extended love, wrote steamworks c++ code in love, rebuild love exposing a custom steam object to lua
Code: Select all
steam.unlockAchievement('whatever')
made our own steam wrapper .dll that that has c++ steamworks code in it, used it via ffi
Code: Select all
local ffi = require("ffi")
local steamDLL = ffi.load("my_steamworks")
steamDLL.unlockAchievement('whatever')
(best tip for writing the c++ steam code is to copy paste from the example game they provide you with)
butts
Re: Move or Die | Löve game on Steam!
@farzher thanks for providing this informations.
@slime Yes, using an FFI integration was also my first intention. Go goluwa seems to be the right place to start, but it seems to be not a walk in the park.
@slime Yes, using an FFI integration was also my first intention. Go goluwa seems to be the right place to start, but it seems to be not a walk in the park.
Re: Move or Die | Löve game on Steam!
This looks really cool, and encourages me to plonk Spellrazor on Steam.
One quick question: did you bother to get your game 'signed' as an app and .exe to stop people's computers moaning 'Can't run this, as this file is from an unknown source,' style message? Or does Steam magically make that go away?
One quick question: did you bother to get your game 'signed' as an app and .exe to stop people's computers moaning 'Can't run this, as this file is from an unknown source,' style message? Or does Steam magically make that go away?
Re: Move or Die | Löve game on Steam!
Steam makes that go away.
If you put it on Steam please put up a Linux version as well (it's not a huge effort - there was something on github which wrapped everything in a shell script that you can also launch from Steam, but I can't find it right now :/).
If you put it on Steam please put up a Linux version as well (it's not a huge effort - there was something on github which wrapped everything in a shell script that you can also launch from Steam, but I can't find it right now :/).
Re: Move or Die | Löve game on Steam!
WIll either of you publish your steamworks wrapper at some point?
Re: Move or Die | Löve game on Steam!
I think it uses code which is protected by a NDA, so they won't be able to publish it, legally. I think.Jack5500 wrote:WIll either of you publish your steamworks wrapper at some point?
PM me on here or elsewhere if you'd like to discuss porting your game to Nintendo Switch via mazette!
personal page and a raycaster
personal page and a raycaster
Who is online
Users browsing this forum: No registered users and 2 guests