Search found 73 matches

by AdrianN
Fri Jun 26, 2020 7:21 am
Forum: Games and Creations
Topic: Jellystastic
Replies: 3
Views: 4284

Re: Jellystastic (Demo-v1)

Hi everyone, sorry for necropost but I update my old project. I update my old game month ago but for time problem I stopped, I worked with a friend in it, because I'm not a good designer. I worked about 4 month in this new version, also I share my code, maybe anyone are interest in it. The game cont...
by AdrianN
Fri Jun 26, 2020 6:41 am
Forum: Support and Development
Topic: [SOLVED] Doubt with STI and Camera libraries
Replies: 5
Views: 1296

Re: Duda con las bibliotecas de ITS y Cámara

Sure, I'm understanding.
Then, I need to use my custom TileMap Renderer to use transformation in my game.
I had the doubth month ago, at the moment I only scale the tilemap but I had these mistakes that I named previously when I deploy my game in an android device.

Thanks guys.
by AdrianN
Wed Jun 24, 2020 9:08 pm
Forum: Support and Development
Topic: [SOLVED] Doubt with STI and Camera libraries
Replies: 5
Views: 1296

Re: Doubt with STI and Camera libraries

I looked into STI library, and found, that draw function resets coordinates (inside of love.graphics.push and pop = it's not affected by transformation of camera), so you have to pass tx,ty - translateX,Y to map:draw (it's line 813 of libs/STI/sti/init.lua) Hello, Yes I use the tx,ty in draw functi...
by AdrianN
Wed Jun 24, 2020 8:04 am
Forum: Support and Development
Topic: [SOLVED] Doubt with STI and Camera libraries
Replies: 5
Views: 1296

[SOLVED] Doubt with STI and Camera libraries

Hi guys, I had a doubt with the integration of the map using STI and a camera. I tried with some libraries, like Gamera, Stalker-X and Cam11, I usually use Gamera in my projects, but I have problem with the scale (when scale is less that 0.5) and anothers mistakes, and the other libs doesn't work we...
by AdrianN
Sat Feb 22, 2020 5:45 am
Forum: Support and Development
Topic: Lua-Enet cant create peer
Replies: 1
Views: 2335

Re: Lua-Enet cant create peer

Hi, sorry I don't have your answer but ... why you don't use sock.lua library.
https://github.com/camchenry/sock.lua
Its most easy and you can do the same, and the documentation has some examples to use.
by AdrianN
Sat Feb 22, 2020 2:50 am
Forum: Support and Development
Topic: [SOLVED]Change color of sprite with shader.
Replies: 2
Views: 2171

Re: Change color of sprite with shader.

You need to convert pixel color to HSV values. Then you modify these values as appropriate, such as by setting desired hue. Then you convert HSV back to RGB and that's your output pixel color. Thanks man, this is that I needed. Searching in the forum I look this function https://love2d.org/forums/v...
by AdrianN
Fri Feb 21, 2020 4:15 am
Forum: Support and Development
Topic: [SOLVED]Change color of sprite with shader.
Replies: 2
Views: 2171

[SOLVED]Change color of sprite with shader.

Hi, I'm making my game and I need to change the color of my sprite. I'm testing in this page modified the huv and replace for another color, and work well https://www.imgonline.com.ua/eng/replace-color.php But I need to get the same result or similar dynamically ingame. I'm search in the wiki and fo...
by AdrianN
Mon Nov 11, 2019 2:17 am
Forum: Games and Creations
Topic: Space Ship Battlefield
Replies: 2
Views: 3551

Re: Space Ship Battlefield

Hi I just wanted to sat thanks for posting this. I'm a new user just looking to add mouse movement controls to Santos's asteroids tutorial. So this sort of thing is very helpful & inspiring! Hi, thanks for looking my game, I'm glad I can be of help. It was a weekend project as a practice to underst...
by AdrianN
Fri Oct 25, 2019 7:00 pm
Forum: Support and Development
Topic: Call Java class in Lua Android
Replies: 2
Views: 1589

Re: Call Java class in Lua Android

I'd suggest you implement this as a LOVE module. It's a straightforward and self-explanatory process. Do you mean adding a custom library, instead jniwrap, using c ++ code? Like admob library https://bitbucket.org/bio1712/love2d-admob-android/src/master/love/src/jni/love/src/modules/ads/ I don't un...
by AdrianN
Thu Oct 24, 2019 8:47 pm
Forum: Support and Development
Topic: Call Java class in Lua Android
Replies: 2
Views: 1589

Call Java class in Lua Android

Hi, I successfully build apk using this repository. https://bitbucket.org/MartinFelis/love-android-sdl2/src/11.2/ Now I am trying to use the bluetooth function. I have the code to a previously project, to make the connection. But I no have any idea how to call the class in lua. I used a little FFI i...