Search found 6 matches

by Valentio
Sat Nov 05, 2016 4:36 pm
Forum: Support and Development
Topic: Dynamic NPC Collisions (Tile-based map)
Replies: 1
Views: 2279

Dynamic NPC Collisions (Tile-based map)

Hi everybody! I'm developing a game of pokemon in love2d, and i'm blocked with the issue of dynamic NPC/Player collisions. I made a two-dimensional array of collisions in order to the player couldn't go through of NPC's. This runs, but only in NPC-static cases. The bug of NPC-dynamic collision usual...
by Valentio
Sat Oct 01, 2016 8:48 pm
Forum: Support and Development
Topic: Love2d and .mid files
Replies: 4
Views: 3794

Love2d and .mid files

Hi everybody! I would want to know how i can play .mid file sounds in a love game with several soundfonts (.sf2, are instruments) without sounding very horrible. I've seen a lot of libreries that supports midi, but i don't know how i can use them. I want to use .mid because the other audio formats a...
by Valentio
Tue Sep 06, 2016 12:33 pm
Forum: Support and Development
Topic: How i can create an animated sprite of grid based RPG game in love2d?
Replies: 6
Views: 4635

Re: How i can create an animated sprite of grid based RPG game in love2d?

I make it!! The problem was the structure of code. I have implemented two new variables (one of them is isMoving, thanks :D) and i call the function muevePj() // chMove() inside the same function. I have programmed them in such a way that the function is "recalled" four times. And now the ...
by Valentio
Tue Sep 06, 2016 9:01 am
Forum: Support and Development
Topic: How i can create an animated sprite of grid based RPG game in love2d?
Replies: 6
Views: 4635

Re: How i can create an animated sprite of grid based RPG game in love2d?

Okay, but now the problem is how i can repeat the code 4 times for moving 8x4 times, and draw 4 times the moving?
by Valentio
Mon Sep 05, 2016 10:37 pm
Forum: Support and Development
Topic: How i can create an animated sprite of grid based RPG game in love2d?
Replies: 6
Views: 4635

Re: How i can create an animated sprite of grid based RPG game in love2d?

I have uploaded the exactly script where is the problem. Thanks for sharing the library Pgimeno :)
by Valentio
Mon Sep 05, 2016 10:40 am
Forum: Support and Development
Topic: How i can create an animated sprite of grid based RPG game in love2d?
Replies: 6
Views: 4635

How i can create an animated sprite of grid based RPG game in love2d?

I explain the question: I am creating a game of Pokemon and i want to create the character style movement that it has. The quads of the map tileset are 32x32, and the quads of the character tileset are 32x48 . Therefore, to move it you need to add the X or Y character 32 pixels. So far easy but thin...