Coder Social home page Coder Social logo

pyweek30's Introduction

pyweek30

Team Bung for Pyweek 30 competition

install

setup (for development)

# First - Fork to your repo
git clone # your repo

python --version
# 3.8.x 
python -m install pipenv

cd pyweek30
mkdir .venv
python -m pipenv install

run sample

python -m pipenv run sample

Regarding the files i added

  1. unzip maps and put in same folder as others, its a map represented by .txt
  2. saple.py -its sample game using the engine i made today
  • i suggest watching it last
  1. ray_cast.py
  • dont touch it works
  • u dont need to read it for now
  1. pyweek_engine.py
  • READ this file pls I left a ton of comments there

  • some additional usefull comments below

  • [

  • u can edit collisions in collisions class (ignore init method thats in the class),

  • movement is done in collisions(),

  • ignore class Ray_cast_block for now,

  • dir_movement is movement but saved in another variable(but a little different, u can ignore),

  • last func load_objects() defines what object each symbol in map represents

  • ]

  • thats it, after 4 just look at sample.py

pyweek30's People

Contributors

tucan444 avatar dingleing avatar srikinr avatar whywhyy avatar

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.