1
SFML projects / Re: 2dCraft (Minecraft 2d port)
« on: May 18, 2012, 02:43:13 am »
I have great news!!! I have (finally) gotten around to finalizing version 0.2.0! There's some really cool features I added and some pretty major changes I've made.
Changelog:
Added inventory support
Added the "hotbar"
Added two more block types: sand and brick
Added collisions (mostly, still a little buggy)
Added the option to switch between flying and walking
Added gravity and jumping (spacebar)
Many file system cleanups: Source is in src folder, images are in a resources folder, and the world is in it's own folder.
I also removed all the old files that aren't being used anymore. The whole folder should now look neater in general.
Controls:
Left click to remove block
Right click to place selected block
1-9 to change selected block
E to open inventory
E/[esc] to close inventory
[tab] to switch between flying and walking
flying:
W, A, S, D to move
walking:
A, D to move
[space] to jump
Known Bugs:
Sometimes when the player collides while walking/jumping, it freezes the game.
If you start going left first, the world glitches and jumps once. After that it's fine.
If the world glitches (previous bug) and places you behind a block, the game freezes. This is also why in this version you cannot place a block within a 64 pixel radius around the player. I'm going to do something to make it handle it better in a later version.
Sometimes gravity seems immensely strong and pulls the player down instantaneously.
Download Links:
https://legacy.sfmluploads.org/file/136
This contains a codeblocks file that is completely updated, along with all the source and resources. It also contains an xCode project file, but it hasn't been updated in quite a while, so not all of the necessary files are included and there are some that have been deleted since then. I'll try to get around to fixing that today, but it might be a little while.
Thanks for following this project! I'm sorry for taking so long for an update, but it's nearing the end of the school year and I've had AP tests. Feel free to make any suggestions to me regarding code, features, bugs, or anything else! If you have any questions, feel free to post them here and I'll do my best to answer them as soon as I can.
Thanks again,
Tanmanknex
Changelog:
Added inventory support
Added the "hotbar"
Added two more block types: sand and brick
Added collisions (mostly, still a little buggy)
Added the option to switch between flying and walking
Added gravity and jumping (spacebar)
Many file system cleanups: Source is in src folder, images are in a resources folder, and the world is in it's own folder.
I also removed all the old files that aren't being used anymore. The whole folder should now look neater in general.
Controls:
Left click to remove block
Right click to place selected block
1-9 to change selected block
E to open inventory
E/[esc] to close inventory
[tab] to switch between flying and walking
flying:
W, A, S, D to move
walking:
A, D to move
[space] to jump
Known Bugs:
Sometimes when the player collides while walking/jumping, it freezes the game.
If you start going left first, the world glitches and jumps once. After that it's fine.
If the world glitches (previous bug) and places you behind a block, the game freezes. This is also why in this version you cannot place a block within a 64 pixel radius around the player. I'm going to do something to make it handle it better in a later version.
Sometimes gravity seems immensely strong and pulls the player down instantaneously.
Download Links:
https://legacy.sfmluploads.org/file/136
This contains a codeblocks file that is completely updated, along with all the source and resources. It also contains an xCode project file, but it hasn't been updated in quite a while, so not all of the necessary files are included and there are some that have been deleted since then. I'll try to get around to fixing that today, but it might be a little while.
Thanks for following this project! I'm sorry for taking so long for an update, but it's nearing the end of the school year and I've had AP tests. Feel free to make any suggestions to me regarding code, features, bugs, or anything else! If you have any questions, feel free to post them here and I'll do my best to answer them as soon as I can.
Thanks again,
Tanmanknex