Search found 73 matches
- Mon Jul 29, 2019 6:14 am
- Forum: Support and Development
- Topic: [SOLVED] Check distance between vertex of chainshape
- Replies: 1
- Views: 2786
Re: Check distance between vertex of chainshape
After several hours, I have managed to somehow avoid the error, checking the vertices and rounding float, but still the continuous error, I had to lean on pcall, but in some cases the polygon is destroyed function arrecife:init(entidades,poligono) local ok, res = pcall(function () funciones:crear_de...
- Sun Jul 28, 2019 8:18 pm
- Forum: Games and Creations
- Topic: Eclipso - Local Multiplayer shooter
- Replies: 7
- Views: 11151
Re: Eclipso - Local Multiplayer shooter
Update: With some free time, I can now continue coding my game Status: Beta 4 Changed a little bit of my game repository. Chat between lan players Better code source UI made with SUIT library (It was very tedious to use c++ in this project, but maybe I'll use it in the future) Destructive objects(I ...
- Sun Jul 28, 2019 7:48 pm
- Forum: Support and Development
- Topic: [SOLVED] Check distance between vertex of chainshape
- Replies: 1
- Views: 2786
[SOLVED] Check distance between vertex of chainshape
Hi, I have a problem making my destructible object, in some particular cases I get this error Box2D assertion failed: b2DistanceSquared(v1, v2) > b2_linearSlop * b2_linearSlop Looking for a little on the internet I know that's because box2d has a distance limit between its vertices I tried to check ...
- Wed Jul 03, 2019 5:38 am
- Forum: Support and Development
- Topic: [SOLVED] Draw texture mesh in polygon with n points
- Replies: 6
- Views: 7640
Re: [SOLVED] Draw texture mesh in polygon with n points
Sure, I'm a newbie using mesh, but I'm getting what you mean and theory, hehe.
I didn't know about the triangles and that application in polygon. Annotated.
I didn't know about the triangles and that application in polygon. Annotated.
- Mon Jul 01, 2019 5:24 pm
- Forum: Support and Development
- Topic: [SOLVED] Draw texture mesh in polygon with n points
- Replies: 6
- Views: 7640
Re: [SOLVED] Draw texture mesh in polygon with n points
That's the part about deciding how you want to apply the texture to the mesh. That's what I meant when I said that "What you need to do first is decide how the polygon fits in the texture". I was under the impression that you were after something like the attached. Would you please clarif...
- Mon Jul 01, 2019 4:56 am
- Forum: Support and Development
- Topic: [SOLVED] Draw texture mesh in polygon with n points
- Replies: 6
- Views: 7640
Re: Draw texture mesh in polygon with n points
The UVs are texture coordinates in the range 0..1, where 0 is the left (for u) or bottom (for v) side, and 1 is the right or top side. In wrap mode, values below 0 or above 1 cause copies of the texture to be drawn. What you need to do first is decide how the polygon fits in the texture. I guess it...
- Sun Jun 30, 2019 2:04 am
- Forum: Support and Development
- Topic: [SOLVED] Draw texture mesh in polygon with n points
- Replies: 6
- Views: 7640
[SOLVED] Draw texture mesh in polygon with n points
Hi everyone, I was recently able to finish creating a destructible environment, using box2d and polygon library. I'm working to optimizate it. I'm using chain shape. https://github.com/AlexarJING/polygon https://love2d.org/imgmirrur/tuzJ29j.png Now, I need to draw with textures. I'm using mesh to dr...
- Sat Jun 22, 2019 6:57 pm
- Forum: General
- Topic: Bump.lua - collision not working
- Replies: 9
- Views: 12200
Re: Bump.lua - collision not working
Ok, I really want to learn this but it is getting very frustrating. I cannot get the collision to work. I cannot find a tutorial that really shows me how to do the collision. The picture shows my character but he is going right through the object that I want him not to go through. Is there any one ...
- Fri Jun 21, 2019 3:32 am
- Forum: General
- Topic: Bump.lua - collision not working
- Replies: 9
- Views: 12200
Re: Bump.lua - collision not working
Ok, I really want to learn this but it is getting very frustrating. I cannot get the collision to work. I cannot find a tutorial that really shows me how to do the collision. The picture shows my character but he is going right through the object that I want him not to go through. Is there any one ...
- Wed Jun 19, 2019 11:17 pm
- Forum: Games and Creations
- Topic: Eclipso - Local Multiplayer shooter
- Replies: 7
- Views: 11151
Eclipso - Local Multiplayer shooter
Hello, been developing a video game for a few months ago, because of the university, I'm working slowily. He had to pause my previous game, for continuous changes. Status : Beta 5.4.0 More details and Source code : https://github.com/AdrianN17/Eclipso More details and Server Source code : https://gi...