Skip to content

lojesu/wolf3d

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wolf3d

Get started

Launch

First, use: git clone https://github.com/lojesu/wolf3d.git; cd wolf3d; make

Then: ./wolf3d maps/tutorial

To play with a precise map use ./wolf3d <map path>

Play

In game, you can use:

  • WASD ----- allow move forward/left/down/right
  • ----- move the camera
  • R ------------- return to spawn
  • tab ----------- switch mini-map mode
  • M ------------- open/close map
  • 8456------ move the map (numeric keypad)
  • esc------------ quit the game
color map creator id description
#c8c8c8 0 floor
#ff0044 1 wall
#ff5050 2 secret wall
#6600ff 3 button breaking secret wall
#c8c8c8 4 secret floor
#ff0066 5 button creating wall in secret floor
#00ccff 6 return to spawn
#9933ff 7 button unlocking the end
#66ff33 8 goal
#ffff00 9 spawn
#800000 R right speedwalk
#993333 L left speedwalk
#996633 D down speedwalk
#663300 U up speedwalk
#e55555 r right cannon
#ee8888 l left cannon
#eebb88 d down cannon
#bb8855 u up cannon
#f9c8a7 s stop canon tile

Create map

This section is for mappers:

You have to create your map in a file with some containts:

  • she must be rectangular
  • she must be surrounded by wall 1
  • she must own a SINGLE spawn 9

You can create a random maze if you go in maps directory and use:

python3 maze.py [lenght] [height] > [name_of_your_map]

An example of maze map will look like this:

#https://raw.githubusercontent.com/lojesu/wolf3d/master/screenshot/map2.png

Specials tips

  • If you don't put a goal, your player canot end, and will have to exit his self with esc.
  • You can pace 2 differents button, one for enable goal, the other for breaking all secret wall
  • If you don't place end button, your goal will be automatically unlocked
  • Speedwalk are locking your movement. So on, if you put a speedwalk in front of a wall, the player will be stuck (he still can use reset R)
  • If the player reset, all your buttons who have been actived will still be actived

Textures

#https://raw.githubusercontent.com/lojesu/wolf3d/master/textures/brown.bmp #https://raw.githubusercontent.com/lojesu/wolf3d/master/textures/green.bmp #https://raw.githubusercontent.com/lojesu/wolf3d/master/textures/yellow.bmp #https://raw.githubusercontent.com/lojesu/wolf3d/master/textures/magenta.bmp #https://raw.githubusercontent.com/lojesu/wolf3d/master/textures/purple.bmp

Are you still reading ?

If you are reading this, then : #https://raw.githubusercontent.com/lojesu/wolf3d/master/screenshot/bravo_sky.png

Contributors

  • lojesu
  • glegendr

About

school project, wolf3d

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published