Skip to content

C and CSFML terraformer program.

License

Notifications You must be signed in to change notification settings

GreenDjango/my_world

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages