Skip to content

pbarilla/RaysPizza

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RaysPizza

A raycasting engine for iOS. It uses SpriteKit to draw line segments. For now, at least.

###working

  • Loading maps from files
  • Untextured rendering of maps
  • Turns iPhone into a hand warmer when in use ;-)
  • Movement

##todo

  • Use a better way of drawing
  • Textures
  • Collision Detection
  • Sprites (pickups, enemies)
  • Network stuff
  • Map Editor

##making maps Maps are simply line seperated arrays. To make a map of a small room, make a pcmap file like:

1,1,1,1,1
1,0,0,0,1
1,0,0,0,1
1,0,0,0,1
1,1,1,1,1

Then load it with:

PCMap *map = [[PCMap alloc]init];
[map loadMap:@"mapname"]; // make sure the file has the extension .pcmap

##Movement Right now its just tapping the edges of the display to move around.

##License

LMAO idgaf do whatever you want with it.

About

A (very basic) raycasting engine for iOS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors