GreenDjango / my_world

C and CSFML terraformer program.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

my_world

C and CSFML terraformer program.

The project's goal is to display a map and edit it at runtime. The map is a wireframed map with tiles that are squares having all the same size. The ground must be altered by raising, lowering or tilting tiles.

Demo

alt text

Big map

alt text

Bonus 3d editor

alt text

My_world is inspired by Tycoon Terrain for Unity3D.

Controls

Keyboard Info
P zoom in
M zoom out
ARROW move map
T print texture
R rotate texture
C contains 3 tools, which can be activated with the left and the right click
C 1 up or down face point
C 2 up or down face
C 3 rest or up to max face

Authorized functions

All the functions from the CSFML and the math library are allowed. From the libc, here is the full list of authorized functions:

  • malloc
  • free
  • memset
  • (s)rand
  • getline
  • (f)open
  • (f)read
  • (f)close
  • (f)write
  • opendir
  • readdir
  • closedir

group: me and red-gecko27

About

C and CSFML terraformer program.

License:MIT License


Languages

Language:C 95.2%Language:Makefile 4.6%Language:C++ 0.2%Language:Roff 0.0%