Code Monkey home page Code Monkey logo

zombie-trap's Introduction

ZT

  The README is used to introduce the module
  and provide instructions on how to install the module,
  any machine dependencies it may have(
    for example C compilers and installed libraries
  )
  and
  any other information that should be provided before the module is installed
  .

  A README file is required
  for
  CPAN modules since CPAN extracts the README file from a module distribution so
  that people browsing the archive can
  use it to get an idea of the module's uses
  . It is usually a good idea to provide version information here so that people
  can decide whether fixes
  for the module are worth downloading
  .

  INSTALLATION

  To install this module, run the following commands :

  perl Build . PL . /Build
	./ Build test . /Build install

SUPPORT AND DOCUMENTATION

After installing, you can find documentation for this module with the
perldoc command.

    perldoc ZT

You can also look for information at:

    RT, CPAN's request tracker
        http:/ / rt . cpan . org / NoAuth / Bugs . html
  ? Dist =
  ZT

  AnnoCPAN, Annotated CPAN documentation http
  : // annocpan . org / dist / ZT

  CPAN Ratings http : //cpanratings . perl . org / d / ZT

  Search CPAN http : //search . cpan . org / dist / ZT /

  LICENSE AND COPYRIGHT

  Copyright(C) 2011 kthakore

  This program is free software;
you can redistribute it and /or modify it
under the terms of either: the GNU General Public License as published
by the Free Software Foundation; or the Artistic License.

See http:/ / dev . perl . org /licenses/ for more information .

zombie-trap's People

Contributors

jtpalmer avatar froggs avatar garu avatar

Stargazers

 avatar Zach Morgan avatar Kartik Thakore avatar

Watchers

Kartik Thakore avatar  avatar Zach Morgan avatar  avatar  avatar

zombie-trap's Issues

Make a view port/camera.

Currently the camera is made the same size as the config read from the map loading code. This need needs to change we need a camera so that we can have bigger maps and so on.

Make a gui for setting zombie classes.

We can have:

-> Simple attack zombie (Does damage to humans/town)
-> Converter Zombie ( Converts Humans but does no damage to barriers or towns)
-> Destroyer/Heavy Zombie (Can destroy barriers or breakable walls)

AI/Classes for Townspeople

Townspeople could have different classes that define behaviors and stats similar to zombies. This could make setting up AI for the townspeople a bit less complicated as well.

Civilians flee from zombies.
Hunters search for and attack zombies.
Priests defend themselves if attacked but otherwise ignore zombies. They might also explode on death if that is not too silly.

Add DEBUG mode with ZT::Debug::Log;

Requirements:

On production all log() calls can be stripped.
On debug all log calls print Class, Method and Function being Called (perhaps see Devel::Trace and see if we can only show ZT:: namespace)

FindBin doesn't find the assets correctly on Install

error loading image /home/kthakore/.perl5/perls/perl-5.12.2/bin/../data/zombie.bmp: Couldn't open /home/kthakore/.perl5/perls/perl-5.12.2/bin/../data/zombie.bmp at /home/kthakore/.perl5/perls/perl-5.12.2/lib/site_perl/5.12.2/x86_64-linux-thread-multi/SDLx/Surface.pm line 166
SDLx::Surface::load('SDLx::Surface', '/home/kthakore/.perl5/perls/perl-5.12.2/bin/../data/zombie.bmp') called at lib/ZT/Actor/Zombie.pm line 13
require ZT/Actor/Zombie.pm called at /home/kthakore/.perl5/perls/current/bin/zombie-demo.pl line 21
main::BEGIN() called at lib/ZT/Actor/Zombie.pm line 0
eval {...} called at lib/ZT/Actor/Zombie.pm line 0
Compilation failed in require at /home/kthakore/.perl5/perls/current/bin/zombie-demo.pl line 21.
BEGIN failed--compilation aborted at /home/kthakore/.perl5/perls/current/bin/zombie-demo.pl line 21.

Make Win/Loose scenarios possible.

Win when:

  1. Make a town part of the level that the zombies have to get to.
  2. Get zombies to get all townspeople or 80% or w/e

Loose when:
3. All zombies die.

Add DEBUG mode with ZT::Debug::Log;

Requirements:

On production all log() calls can be stripped.
On debug all log calls print Class, Method and Function being Called (perhaps see Devel::Trace and see if we can only show ZT:: namespace)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.