Giter Club home page Giter Club logo

wolf3d's Introduction

wolf3d

by alerandy & acourtin

for 42

Compatible MacOSX

How to run

  • make && ./wolf3d

Commands

Commands Actions
p Pause (ingame)
escape Close program
w arrow up Walk forward
s arrow down Walk backward
a arrow left Rotation left
d arrow right Rotation right
shift Run
space Fire
r Reload
~ Enable/Unable terminal log (debug)

Map editing rules

No empty line should be in between two rules.

  • Height amd Texture should always have the same number of characters and lines.
  • Height : 9 = Wall

List of texture :

  • B = brick
  • M = Metal
  • S = Stone
  • W = Wood
  • R = the 4 colors (default)
  • - = Breakable wall

OBJ line rules :

  • J = PLAYER_START (must be set) ex. : J|1|1|0 = PLAYER_START|position x|position y|rotation หš
  • T = DAY_TIME ex. T|1 = DAY_TIME|NIGHT or T|0 = DAY_TIME|DAY If DAY_TIME is unset, the game will take the last DAY_TIME known (default : DAY)

Standalone make rule

A dmg disk can be generate with the Makefile :

  • make standalone

Find City42 dmg file in the wolf3d folder.

wolf3d's People

Contributors

alexandrecourtin avatar anlerandy avatar

Watchers

 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.