• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

Hopson97/HopsonCraft: A minecraft clone written using C++, SFML, OpenGL and GLEW ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

Hopson97/HopsonCraft

开源软件地址(OpenSource Url):

https://github.com/Hopson97/HopsonCraft

开源编程语言(OpenSource Language):

C++ 63.2%

开源软件介绍(OpenSource Introduction):

HopsonCraft

Note: Game is undergoing redesign at the moment.

To see source as it was in ep 4 "Creating Minecraft", view here:

https://github.com/Hopson97/HopsonCraft/tree/e803ca5fbf51df134cfa7e87c14275c6c73fce8e

Note

When I made this, I was highly inexperienced at programming (Less than 2 years), and the code is mostly pretty messy and game crashes a lot.

I have kept it on my GitHub for historical reasons, seeing as I have videos about this on my YouTube channel.

Versions (As seen in the YouTube videos)

This game has gone through major rewrites and refactors overtime.

To see the source code as it was in episodes 1, 2 and 3 of "Creating Minecraft in C++/ OpenGL" videos, look at an older commit here:

https://github.com/Hopson97/HopsonCraft/tree/90a5d596d07dfe71b5dbf47ec76c0b0802ec9dfa

Dependencies

The project requires these libraries: SFML (minimum 2.4), GLEW 2.0+ (OpenGL 3.3+), and OpenGL Maths Library (GLM).

Compile using compiler flags:

Windows -> -std=c++14 -O3 -s -lglew32s -lglu32 -lopengl32 -lsfml-graphics -lsfml-audio -lsfml-system -lsfml-window

Linux -> -std=c++14 -O3 -s -lGLEW -lGLU -lGL -lsfml-graphics -lsfml-audio -lsfml-system -lsfml-window

All the libaries for Linux (At least, on Ubuntu) can be installed with

sudo apt-get install libsfml-dev

sudo apt-get install libglew-dev

sudo apt-get install libglm-dev

Contributing

An easy way to contribute is to look for the ///@TODO parts in the code. please actually test before doing a pull request.

You can view the code style in contributing.md

You can view useful implementation details in implementation.md

Also, checkout the TRELLO! https://trello.com/b/P8ZbobQH/hopsoncraft

Description

Simple Minecraft clone written using C++.

Screenshots

Trees

Mountain

Cliff

Credits

Design

Matthew Hopson, https://github.com/Hopson97/

Programming

Matthew Hopson, https://github.com/Hopson97/

Art

Matthew Hopson, https://github.com/Hopson97/

Special Thanks

Anton Golov, https://github.com/jesyspa

Zoltan Fazekas, https://github.com/zfazek




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap