Search found 36 matches
- Fri Jul 31, 2015 8:55 pm
- Forum: Support and Development
- Topic: [Solved]Big packets in LUBE
- Replies: 2
- Views: 1773
[Solved]Big packets in LUBE
Hello! I'm not really experienced with networking, I'm working on a game using lube and I need to send a big packet. I'm sending the map from the server to the client. It doesn't really work with UDP in LUBE and I'm assuming that's not either the right way of doing it. Is there another protocol in L...
- Thu Jul 30, 2015 6:07 pm
- Forum: Support and Development
- Topic: Opacity with stencil
- Replies: 4
- Views: 1599
Re: Opacity with stencil
Thanks! But using a canvas I would draw the canvas ontop of the things i want to maskout with multipy?Nixola wrote:Maybe I did screw up something with the actual instructions, but what you need can be obtained using a canvas and multiply blend mode. Using a shader is ok as well.
- Thu Jul 30, 2015 5:30 pm
- Forum: Support and Development
- Topic: Opacity with stencil
- Replies: 4
- Views: 1599
Re: Opacity with stencil
You'd need to use a [wiki]canvas[/wiki] with "multiply" [wiki]BlendMode[/wiki]. Draw your stencil to a canvas (white: draw, black: don't draw), draw whatever you need to draw, set the blend mode to "multiply" and then draw the canvas. I didn't get it to work, should I still use ...
- Thu Jul 30, 2015 5:05 pm
- Forum: Support and Development
- Topic: Opacity with stencil
- Replies: 4
- Views: 1599
Opacity with stencil
Hello! I'm using a stencil(mask) in my game when you walk behind things. Is there anyway to use mask so that white=dont draw and black=draw like normal but if the mask is gray it will have opacity?
Thanks!
Thanks!
- Tue Mar 10, 2015 11:59 pm
- Forum: Support and Development
- Topic: send changes in map
- Replies: 0
- Views: 996
send changes in map
Hello! I'm working on a multiplayer game, I'm using the LUBE library for it. So, in my game there is a map of course, there's not alot of map changes expected, but there can be pretty many over time, so I thought that you would download the part of the map you enter, and when you enter a new rectang...
- Wed Mar 04, 2015 2:18 pm
- Forum: Support and Development
- Topic: Read properties file
- Replies: 1
- Views: 977
Read properties file
Hey! I don't think this work but I wanted to check! I have a server for my game, and I wanted to have like a save file in the same folder as the .exe file when i compile that the game can read and adjust settings after. However, as I understand it Löve can't perform this kind of action. Am I right? ...
- Mon Feb 23, 2015 8:52 pm
- Forum: Support and Development
- Topic: Efficent tile with 3d effect and spritebatch
- Replies: 3
- Views: 1665
Efficent tile with 3d effect and spritebatch
Hello ! I'll try to explain this as good as possible. So, i have a tilebased map. Right now i draw it using two for-loops like normal. The tiles in my game are 64x64 but some tiles are taller then that so you can walk behind them like a 3d effect. I draw the character in the for loops if his Y is th...
- Sat Oct 25, 2014 5:38 pm
- Forum: Support and Development
- Topic: TESound weird lag
- Replies: 0
- Views: 1094
TESound weird lag
Hello there! I've been using TESound in my game from the start. Since a week ago I've started getting some serious lag ingame. If I remove TEsound.cleanup() then it works fine. But the werid thing is that sometimes it will work fine with that code and sound will play perfectly. I'm pretty sure that ...
- Wed Oct 15, 2014 8:28 pm
- Forum: Support and Development
- Topic: Getting started with multiplayer
- Replies: 8
- Views: 5093
Re: Getting started with multiplayer
I'm not sure I understood that completly, I'm not very experienced yet heh. But I have one question, when you send data from client to server in lube, then lube will attach an id. But in the client there's no way (built in) to keep track of which player is the clients. So i used this server:send( &q...
- Mon Oct 13, 2014 4:26 pm
- Forum: Support and Development
- Topic: Getting started with multiplayer
- Replies: 8
- Views: 5093
Re: Getting started with multiplayer
Thanks for the reply! I've started over so it's done correctly. But there's one thing I don't understand. When using lube, you send a keypress for example. Then Lube will give that keypress an Id so it knows who it is from. Then I use keypress in the server and the player data is returned. The probl...