User prompt
We can not move?
User prompt
Then we shoul move with right mouse click and attack with left mouse click. But you can make 3 fixed spawn points rather than random positions. Enemies should not spawn consecutively from the same spawn point. This prevents the player from camping near a single spawn and easily winning the game with the bow.
User prompt
ncrease the movement speed of the main character slightly. The character should attack with left mouse click, and move to the position where the right mouse button is clicked. Additionally, enemies should spawn from a fixed spawn point instead of appearing randomly.
User prompt
Enemies should actively try to attack the main character instead of moving randomly. If an enemy collides with the main character, the player should die, and a Restart button should appear. This means the main character needs a physical body (sprite/model), and the other mechanics should be implemented accordingly.
Code edit (1 edits merged)
Please save this source code
User prompt
Age of Ignorance
Initial prompt
Game Title: Age of Ignorance I want to make a text-based MMORPG game. After pressing the "Start Game" button, an outer space background should appear with the text: "You are born. Choose your gender." Right below the text, there should be 2 options: boy and girl. If we press boy, a screen should appear saying: "Congratulations! You were born as a boy in 400s Arabia." Then the game should start. If we press girl, a screen should appear saying: "Congratulations! You were born as a girl in 400s Arabia and were buried alive." After that, a Restart button should appear. When restarted, it should take us back to the gender selection screen. This time, the player must select boy in order to continue. Then the game should start. In the game, our goal is to use our bow and arrow to kill the European enemies coming towards us. Enemies should spawn endlessly, and for each enemy we kill, two more should appear. Every enemy we kill gives us 1 point, and if we reach 30 points, we win the game. To kill the enemies, it should be enough to simply click on them.
/****
* Initialize Game
****/
var game = new LK.Game({
backgroundColor: 0x000000
}); /****
* Initialize Game
****/
var game = new LK.Game({
backgroundColor: 0x000000
});