Jump to content

Ywa

Members
  • Posts

    256
  • Joined

  • Last visited

Posts posted by Ywa

  1. Hi folks,

     

    This question is directed towards Josh/Leadwerks, but I think it's good to have it out in the open. (Couldn't find an answer on the forums.)

     

    I have a Pro/C++ license and compile custom binaries which make heavy use of Lua scripts. Am I allowed to put all the scripts with my custom binaries (without the C++ source of my project) on github and have others work on it? This is only related to development of the scripts and gives no one access to the existing Leadwerks toolset. So basically it would be the same as distributing a game, but then encouraging others to make changes.

     

    Thanks in advance.

  2. I'm aware that Josh wasn't very excited to support v140 compilation in VS2015. But seeing the community version of VS2015 is free of charge and that VS2013 always screws up its paths on my various PCs: Is there any ETA for v140 compilation support? Are there any downsides?

     

    If backwards compat is the issue. Is it possible to make v140 the default or at least an option for new projects?

  3. Of course. But this is still a bug, even though it's not a supported feature. And I can't imagine this taking a lot of time to fix. Seeing it already works with the normal publishing method.

     

    I would really appreciate it. And else I will need to publish my game with all the Lua code, so anyone can pretty much make their own game with it without buying a Leadwerks license.

  4. Well, the real answer is that passworded zip files, other than what the editor creates, are not a supported feature at this time.

    I understand that, but I've seen you posting about the package feature a couple times. And seeing it only breaks for password protected files, isn't it possible for you to look into this?

  5. If you just publish the game it will automatically zip and encrypt everything for you. That should work.

    I'm using incremental updates for public testing. Putting everything in 1 ZIP won't work. And the sound-engine which I use has no support for the Leadwerks VirtualFileSystem. So I really just want to protect my scripts, or at least most of them.

  6. Hi,

     

    I'm trying to protect only my Lua files by using an passworded ZIP. I load the ZIP via the package method and I'm passing the correct parameter. It seems the Lua files are loaded fine, but I can't execute them with Interpeter::ExecuteFile. The files are simply not found.

     

    I've tried to put my main Lua file in the scripts folder and protect the rest (so it uses the 'import' directive from the main Lua file). But that isn't working either.

     

    How come this doesn't work with protected ZIPs? (all of this works fine as long as it isn't protected!)

     

    Thanks in advance.

  7. This thread deserves a bump!

    --

     

    So here's a work in progress video of the 'Fallout' GameMode in my game Bobblemod. This GameMode is about the Last Man Standing while tiles randomly drop. Players are warned beforehand because the tile turns red. The player who survives the longest wins the round.

     

    Some remarks:

    - Chat key-detection is somewhat broken.

    - Screen turns black after falling because player dies. There's no spectating code yet etc.

    - Other players don't move because I can't control 3 players at once.

    - Uses a dedicated server (same binary as client).

     

    Tech. Features:

    - Most of the code is in Lua. Performance seems to be fine so far.

    - BASS audio engine.

    - Latest ENet network library integration

    - Networked (physics) entities via map-loading and on-the-fly creation serverside.

    - Synced players

    - GameMode manager

    - This 'Fallout' GameMode itself is currently only about 100 lines code.

     

    Video:

     

    My thoughts on the game:

    It was mostly a test to improve my Lua and game logic coding skills. But when I have the motivation to finish this I want to make Bobblemod a bit like Counter-Strike Source MiniGame maps and Garry's Mod Fretta GameModes where players play short GameModes for ~ 4 rounds and then get to vote for a new MiniGame. With scoring included of course. It should be all about fun! :)

     

    Let me know what your guys thoughts are.

    • Upvote 4
  8. The Map:Load callback doesn't seem to return CSG geometry (boxes and such). While technically the geometry are a bunch of entities. Returning works fine once I attach a script to it. This should either be explained properly in the documentation, or it would be nice to have this fixed. (I prefer the latter, of course)

  9. Are your sounds that important? I mean.. I can understand you want to protect your Lua code and such, but many commercial games store their sounds in normal files.

     

    Or is it due to licensing?

    --

    I just finished my wrapper which overwrites the normal Sound & Source, which works perfectly. I also made some updates to the LuaBASS bind. If anyone wants more info just send me a PM. :)

  10. I want to sync entities between 2 applications through networking. But I want to know when their matrix changed so I know when to send an update to the other application. I'm doing this is in Lua now but my method is leaking memory. (still trying to solve that)

     

    So having a hook for this would be great!

  11. Well I did that to test if it made any difference, but it doesn't. Still a red box with a black background. Removing the 3 lines of code renders my 3D world just fine.

     

    This is my pivot code. Pivot is created after creating a world and before loading a map.

    function Script:PostRender(Context)
    --local Context = App.Context
    Context:Clear()
    Context:SetColor(1,0,0)
    Context:DrawRect(20,20,100,100)
    end

  12. Hi folks,

     

    I'm trying to draw some text on top of my 3D world. I have my rendering code after my world update & render, but it still only shows my 2D stuff with a black background. I've read about PostRender hooks, but it only seems to be available to entities. How can I fix this to work with my normal game logic? Because adding a chat via an entity doesn't seem to make much sense to me.

     

    Thanks in advance.

×
×
  • Create New...