Answer the question
In order to leave comments, you need to log in
Where to start learning js, basic functions?
Good evening. I want to make a game, but I'm not familiar with js and need advice on where to start. I will learn it quickly, I am familiar with C ++ and php. There is understanding.
And here's what needs to be done.
The player selects the id of the action, the number of times this action (There is a limit, for example 3. You can repeat this action 3 times or 3 others, but one at a time) and the coordinates and presses the button (an event is sent, it is desirable that json arrives at the server).
Approximately this json should generate.
{
"session": "session",
"lastName": "id",
"action": [{
"id": "307",
"count": "2",
"location": 1011101
},{
"id": "1801",
"count": "1",
"location": 1011111
}]
"hash": "hash",
"var1": true
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question