Jump to content

[Phaser][WIP] Zombie Apocalypse Simulator


blassther
 Share

Recommended Posts

Hello,

so I made this game and I am looking for inspiration, ideas and critique.

 

That is the link: http://hackandslash-tandemp.rhcloud.com/

 

I started this as a way to learn Phaser and game development in a browser. All is made with Phaser 2.4.3, graphics are pure canvas, I am no graphics guy. (Maybe someone tried to implement animations using canvas graphics?)

 

Next steps would be to implement attack techniques to defend yourself. Afterwards I would love to make it a multiplayer. What servers do you use? I was wondering to implement simple server in node.js. Or employ an open source solution.

 

Highscores are very hack-prone. Please don't abuse. (Someone already abused it, lol, thx)

 

EDIT:

 

I noticed I didn't give this topic a correct name. Seems to be too late to edit it. Sorry!

 

EDIT EDIT:

Thx @AzraelTycka !

 

post-16189-0-30926200-1442918017.png

Edited by blassther
Link to comment
Share on other sites

Once more,

 

not sure if it's intended but Apocalypse has Y in it not I.

 

I checked it, why do your zombies and player collide such a distance before they actually touch? Just curious because as a player I can move through them so why not set the collision to when they actually collide?

 

I will start using dictionary before posting!

 

I received the same feedback few times already. Seems it will be wise to reduce zombies' range. Zombies can "grab" you from a small distance. There are just no visible hands yet. I prepared it just in case, so I can modify attack range.

Link to comment
Share on other sites

Oh, ok ok, without any animation it just felt weird, but if you are working on it then it's a different matter.

 

Does the game feel choppy to anyone? Considering there is not a lot of things on screen it was a bit choppy on my machine (different browsers - chrome the worst for me :-))

 

Yeah, some reported me performance issues. I must look deeper in into it. Thx for noticing it! Feedback is important for me.

Link to comment
Share on other sites

Really nice. Keep improving the game. Maybe he could find guns and kill the zombies and move to other scenarios / levels. 

 

I liked the scoreboard. I am trying to do something like that to my games without sucess!

 

Would mind to share the php file ?????  :)

 

Thank you for some nice words! It made me fix some performance bugs and secure my highscore script. You could write it like that:

if($_SERVER['HTTP_X_REQUESTED_WITH'] == 'XMLHttpRequest') {  if(@isset($_SERVER['HTTP_REFERER']) && $_SERVER['HTTP_REFERER']=="http://yourgame.com"){    $conn = new mysqli($servername, $username, $password, $dbname);    if ($conn->connect_error) {     die("Connection failed: " . $conn->connect_error);    }    $sql = "INSERT INTO highscores (player, score) VALUES ('".$_GET["player"]."', '".$_GET["score"]."')";    if ($conn->query($sql) === TRUE) {       echo "New record created successfully";    } else {       echo "Error: " . $sql . "<br>" . $conn->error;    }    $conn->close();  }}

But I would suggest making a REST application with i.e. Slim framework. Sooner or later one script won't be enough to process your data.

Link to comment
Share on other sites

Thank you for some nice words! It made me fix some performance bugs and secure my highscore script. You could write it like that:

if($_SERVER['HTTP_X_REQUESTED_WITH'] == 'XMLHttpRequest') {  if(@isset($_SERVER['HTTP_REFERER']) && $_SERVER['HTTP_REFERER']=="http://yourgame.com"){    $conn = new mysqli($servername, $username, $password, $dbname);    if ($conn->connect_error) {     die("Connection failed: " . $conn->connect_error);    }    $sql = "INSERT INTO highscores (player, score) VALUES ('".$_GET["player"]."', '".$_GET["score"]."')";    if ($conn->query($sql) === TRUE) {       echo "New record created successfully";    } else {       echo "Error: " . $sql . "<br>" . $conn->error;    }    $conn->close();  }}

But I would suggest making a REST application with i.e. Slim framework. Sooner or later one script won't be enough to process your data.

 

Thanks a lot man. I just starting developing games and i am a noob at php and SQL.

 

I just figured out how feed my database with the player output.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...