2 How to questions! [Please help!]

What’s up everybody!

First of all I wasn’t sure where to put this post so I decided to put it here.

I have 2 questions.

First question is, in a tower defense game, how can I make the path for the enemies to move???

Second question is, how can I make a game like agar.io, or slither.io on corona sdk?? (For android etc)

PS. How is the movement made in slitherio? You know that they are like worms/snakes and they grow. I know that they are made of “circles” one follows another but how is that made?

-Mr. Coder

Hi Coder,

Search on google for “corona sdk xxxx template”.

xxxx is the name of game.

Most of templates you will have to pay.

One word of advice: you will probably not going to get answers to “general questions”.

You have to specify code, or precise problem…

Bye.

G

Hey Mr.Coder,

as gogigoranic8 already mentioned, you could google that kind of question.

But I will try to give you a starting point:

  1. Question

There are two main was to do it. Most TD Games are based on a grid. You can use the grid, that unerlies the enemys path and move them tile by tile along that path. Depending on your game you would need a pathfinding algorithm lieke “Jumper”.

The second way is to have a series of nodes that connect the start with the finish.

In both cases you would need an enterFrame loop, which moves the entities along the path.

  1. Question

A very broad question, you would need a realtime server for the multiplayer part.

About the movement, its quite easy, you store the position of the head each time it moves in a table. Now you move the body parts to a position whre the head was x frames ago. That’s pretty simplified, but it should get you on the right track.

Greetings

Torben

Hi Coder,

Search on google for “corona sdk xxxx template”.

xxxx is the name of game.

Most of templates you will have to pay.

One word of advice: you will probably not going to get answers to “general questions”.

You have to specify code, or precise problem…

Bye.

G

Hey Mr.Coder,

as gogigoranic8 already mentioned, you could google that kind of question.

But I will try to give you a starting point:

  1. Question

There are two main was to do it. Most TD Games are based on a grid. You can use the grid, that unerlies the enemys path and move them tile by tile along that path. Depending on your game you would need a pathfinding algorithm lieke “Jumper”.

The second way is to have a series of nodes that connect the start with the finish.

In both cases you would need an enterFrame loop, which moves the entities along the path.

  1. Question

A very broad question, you would need a realtime server for the multiplayer part.

About the movement, its quite easy, you store the position of the head each time it moves in a table. Now you move the body parts to a position whre the head was x frames ago. That’s pretty simplified, but it should get you on the right track.

Greetings

Torben