Search found 15 matches

by Leonardo2450
Thu Nov 16, 2023 2:18 am
Forum: Games and Creations
Topic: Gamejam games I made this year | 3 shorts games
Replies: 1
Views: 5146

Gamejam games I made this year | 3 shorts games

Hello, this year I tried to join several gamejams, I read that people managed to finish projects this way and also learn to think about their limits instead of doing very ambitious projects (I'm still quite new to all this). So I created a couple of games on different gamejams and wanted to share th...
by Leonardo2450
Sat Oct 17, 2020 3:11 am
Forum: Support and Development
Topic: Help creating a multiplayer game
Replies: 2
Views: 5404

Help creating a multiplayer game

Hi, I am planning to create a small game as a kind of test that is multiplayer. Something simple like two cubes moving and something else. Searching I discovered Lua-enet so I decided to try it, however I don't understand how to use it. So I directly came here, to the forum to ask you how to make a ...
by Leonardo2450
Thu Mar 12, 2020 10:29 pm
Forum: General
Topic: How do I use a pathfinding system?
Replies: 3
Views: 6065

How do I use a pathfinding system?

I'm developing a project and I need my enemies to know how to recognize the best path to the player (pathfinding). I come to you to ask: How do they work internally? Is there one available for a game made without a gang?
by Leonardo2450
Sat Feb 29, 2020 5:27 pm
Forum: General
Topic: Can you give me advice?
Replies: 3
Views: 7278

Can you give me advice?

Hello, I am learning a lot from Lua and Love2D although I still need to learn from Lua: metatables, metamethods, OOP and I think some more things are missing. Even so I would like to start a project well. I would like some advice. Any advice is useful and I would be happy if some of them shared me :...
by Leonardo2450
Sun Feb 09, 2020 2:28 am
Forum: Support and Development
Topic: Help with multiple "enemies" [Solved]
Replies: 4
Views: 4793

Re: Help with multiple "enemies"

How that will look depends a great deal on how you implement those enemies, and on how far you want to go with "deleting" them. If you just want to remove them from play (but keep them in memory), a simple boolean variable that the game looks for when rendering and doing collision detecti...
by Leonardo2450
Sun Feb 09, 2020 2:28 am
Forum: Support and Development
Topic: Help with multiple "enemies" [Solved]
Replies: 4
Views: 4793

Re: Help with multiple "enemies"

How that will look depends a great deal on how you implement those enemies, and on how far you want to go with "deleting" them. If you just want to remove them from play (but keep them in memory), a simple boolean variable that the game looks for when rendering and doing collision detecti...
by Leonardo2450
Sat Feb 08, 2020 2:57 am
Forum: Support and Development
Topic: Help with multiple "enemies" [Solved]
Replies: 4
Views: 4793

Help with multiple "enemies" [Solved]

I am creating a game where one has to eliminate immovable "enemies" so to speak. I need you to tell me how I can create several of them and delete them when they touch the player.
by Leonardo2450
Fri Dec 20, 2019 11:24 pm
Forum: Support and Development
Topic: Help to create enemies
Replies: 5
Views: 5395

Re: Help to create enemies

Ref wrote: Fri Dec 20, 2019 7:25 pm This might give you some ideas.
Best
I'm sorry, I'm still new to Lua and I don't quite understand the code of this project. :/

Edit:
Thank you very much, that gave me an idea and I have done it and it worked. As they would say in my country: Sos un capo
by Leonardo2450
Fri Dec 20, 2019 7:07 pm
Forum: Support and Development
Topic: Help to create enemies
Replies: 5
Views: 5395

Re: Help to create enemies

That question is pretty broad. "Follow you" can be as simple as go straight towards you as in Drazzard https://love2d.org/forums/viewtopic.php?f=14&t=80655, or as complex as using a path finding algorithm, which is an advanced topic for which a good understanding of graph theory and r...
by Leonardo2450
Fri Dec 20, 2019 3:00 pm
Forum: Support and Development
Topic: Help to create enemies
Replies: 5
Views: 5395

Help to create enemies

I am currently experimenting before starting a project. These days I was thinking about how to create an enemy with a basic artificial intelligence: just follow you. Without a pathfinding system And I was also thinking of creating several instances of that enemy. The problem is that I don't know how...