I mean't you save the chunk if it has been modified period.
usually simpler to go ahead and save it.
What do you mean? It's only better to save unmodified chunks if it is faster to load them from file than generating them which is usually not the case. Also saving every single chunk wouldn't be optimal for performance nor storage.
Hey I've done this before. Essentially what you do is save the world in chunks. Use a binary writer and only save the most important data like which block is placed where. Since the world is infinite you aren't going to save every single chunk that is loaded, you only save a chunk if some of the blocks are modified inside that chunk by the player.
You are going to want to move on from libGDX, it works fine for 2D, but you have to remember, libGDX is only a framework, it doesn't offer you all the functionality of a full game engine like Unity or Unreal.
It is going to require a lot more scripting, and a lot more work to accomplish the same thing you could easily do in Unity.
Unity's tutorials, documentation, and community are far superior to libGDX's.
Not to meantion the asset store which has tons of both free and paid resources for you to use.
I was also in this same dilemma last year, I decided to learn Unity and I'm so glad I did.
Lenovo Yoga 720 is what I got last year for game dev. For $1000 with an i7 7700HQ Quad core desktop cpu, 8gb ddr4, ssd, gtx 1050ti, and a 1080p touch screen 2 in 1 monitor it is hard to beat.
Has a nice metal finish too, great for artwork and graphics as well if you get the pen.
I added the right click for convenience if you want to quickly destroy blocks in the same layer you are building in, but if you want to destroy multiple layers at once you need to switch to the Destroy toggle which also makes it easier to see which blocks you are breaking.
Having excellent communication skills means you are able to articulate your ideas and explain your thoughts in a manner that is concise, confident, and that everyone will understand.
You must understand body language, social cues, make eye contact, be friendly, speak confidently in front of a group and be respectful.
You should know how to take feedback constructively.
Be open minded and flexible in how you communicate.
Normally if it's just a solo hobby project I would just jump right into it with the initial idea, but if you are trying to create as many games as possible in a short amount of time for your portfolio I would plan out the game in its entirety to avoid wasting time writing code that may not make it into the finished product.
I'd say it largely depends on the kind of game you are making. How large the project is, do you have a team, if so how big? Is this a full time project, part time, or hobby? Are you planning on monotizing this project, if so how? All of these questions factor in. For example if it is a very large solo project you may want to spend some time working on the core mechanics and then just jump right in. As you work on your project many things will change, you will come up with new ideas, you will scrap old ones, and the game will evolve as you work on it and continue to add features. In such a project it would be a waste of time to spend too much time planning as you are likely to make many changes along the way. On the other hand say you are making a small app with a team of 3 people you may want to plan out the whole app, all the features, what everybody will focus on creating, the design, artwork, sounds, UI... Then having all of this figured out beforehand will allow you to quickly arrive with a finished prototype.
In general I'd say working with a team requires much more initial planning than working solo no matter what kind of project. And smaller projects are better planned out completely while larger ones you just need to jump into and start programming.
Not to toot my own horn but I'm releasing a 2D Terrain Engine for Unity which gives you everything you need to create a game like Terraria. It comes with full source code, all documented.
I have a lot of experience with this sort of thing as well as 3D Voxel Engines and everything that goes along with it, so if you have any questions, or want some resources I can help you out! :)
Just send me a message
At least you understand this, some people don't and they pour thousands of dollars into their game just to see it fade away into the store getting no more than a few hundred downloads.
If you want to create your own serialization system you could convert all your data to bytes using a binaryreader, you would need to create your own custom functions for every type of data you are saving. Then you use the binaryreader to parse your data from file when loading.
It could get quite complicated if you are saving a lot of data, and you need to remember the order in which you wrote the data when reading it.
The best thing about this is it would be hard to hack since it will be saved in binary (unreadable) and only you know the functions to deserialize it.
When it comes to binary you always have to parse the data by serializing and deserializing which is going to take time.
For your terrain the best way to save a large open world is to save it in chunks. Create a serializable class that holds all the data you wish to save for a single chunk. Then create another class holding the number of chunks you wish to save in a file (I suggest you save a single column of chunks or similar). Serialize the second class with the Binary Formatter. In order to keep track of all the save files you should name them by their position in the world.
You can optimize this by only saving the data absolutely necessary for rebuilding the world. If the world is procedurally generated only save the parts that are modified during runtime.
Then for everything else like your entities for example you could create a class to store their location in the world. Then when loading the data all you have to do is loop through the list of locations and set their positions.
I watched both your trailers and looked at your landing page and I still don't really understand what the game is about.
I mean it seems pretty trivial, some sort of platformer. But what's the point of the game?
You should have a better explanation on your landing page. Give me a reason I should play your platformer among the thousands of others out there.
Also a trailer for something like this should probably be around 30 seconds long.
To sum it up, keep everything short and sweet, the landing page looks alright, but change the information. Your release trailer should be around 30 seconds long of gameplay, and try to show the story or main goal in your game.
I struggle with anxiety on a daily basis, and have recently gone through some dark times as I also have chronic back pain.
I find game development really helps me get my mind in a good place. It gives me something to focus on, a feeling of accomplishment, and when you have a team a source of friendship.
I find days I'm not feeling so great, my anxiety is up and my mind is racing I can focus on a project, and I'll forget about whatever I was stressing about.
Outside of game development, I find it very important to stay positive, think about what's good in your life, think about things that make you happy, practice smiling. I know it can be hard but try to train your brain to look at life as though the glass is half full, not empty.
Also realize that life can be whatever you want it to be, don't take life so seriously, live in the moment.
Lastly your physical health can also have a big factor on your mental health. Get daily exercise, get outside you need sunlight, eat healthy, make sure you aren't deficient in any vitamins or nutrients. Sleep is super important.
As long as you are not using copyrighted assets, artwork, trademarked names, or similar, you should be fine.
Game Mechanics cannot be copyrighted. Although there are some situations where companies have been awarded patents for certain things.
So if you wanted to go make a 'Pokemon' game where you used a similar retro style with all original artwork, made the name 'Monster Catcher', where you caught Monsters with monsterBalls and used them to fight eachother, this would be fine.
I personally think just going the CS route is the best option and it is what I'm currently doing. A CS degree is more valuable than any game developer degree or IT degree. When it comes to finding jobs it will be more about your experience than your schooling. No employer is going to disregard you because you have a CS degree instead of some game design degree. Just do gamedev projects on your own time, there are so many resources online for you to learn about game development.
I'd make whatever game I had the skills to make and wouldn't spend any of the money.
I mean't you save the chunk if it has been modified period.
What do you mean? It's only better to save unmodified chunks if it is faster to load them from file than generating them which is usually not the case. Also saving every single chunk wouldn't be optimal for performance nor storage.
Hey I've done this before. Essentially what you do is save the world in chunks. Use a binary writer and only save the most important data like which block is placed where. Since the world is infinite you aren't going to save every single chunk that is loaded, you only save a chunk if some of the blocks are modified inside that chunk by the player.
That is how I did it in this example: https://twitter.com/mattwilson720/status/987113379834691584?s=19
Hi guys, I'm giving away a copy of my asset Terrain Engine 2D!
All you have to do to win is Like and Retweet this post on Twitter: https://twitter.com/mattwilson720/status/1004763995713110016 For more information about the asset: https://forum.unity.com/threads/released-terrain-engine-2d-a-2d-block-engine-sandbox.532699/#post-3506758
A winner will be announced one week from today, good luck!
You are going to want to move on from libGDX, it works fine for 2D, but you have to remember, libGDX is only a framework, it doesn't offer you all the functionality of a full game engine like Unity or Unreal.
It is going to require a lot more scripting, and a lot more work to accomplish the same thing you could easily do in Unity.
Unity's tutorials, documentation, and community are far superior to libGDX's.
Not to meantion the asset store which has tons of both free and paid resources for you to use.
I was also in this same dilemma last year, I decided to learn Unity and I'm so glad I did.
Lenovo Yoga 720 is what I got last year for game dev. For $1000 with an i7 7700HQ Quad core desktop cpu, 8gb ddr4, ssd, gtx 1050ti, and a 1080p touch screen 2 in 1 monitor it is hard to beat.
Has a nice metal finish too, great for artwork and graphics as well if you get the pen.
Ok I got it. That's strange, for some reason pressing shift and then right clicking in firefox makes the game believe shift is being held down.
Could you give me a little more info, I wasn't able to reproduce your bug? :)
I added the right click for convenience if you want to quickly destroy blocks in the same layer you are building in, but if you want to destroy multiple layers at once you need to switch to the Destroy toggle which also makes it easier to see which blocks you are breaking.
Terrain Engine 2D
A 2D Block Engine for Unity
Web Demo: https://activegamedev.com/TerrainEngine2D-Demo
Having excellent communication skills means you are able to articulate your ideas and explain your thoughts in a manner that is concise, confident, and that everyone will understand.
You must understand body language, social cues, make eye contact, be friendly, speak confidently in front of a group and be respectful.
You should know how to take feedback constructively.
Be open minded and flexible in how you communicate.
Lastly be a good listener.
Normally if it's just a solo hobby project I would just jump right into it with the initial idea, but if you are trying to create as many games as possible in a short amount of time for your portfolio I would plan out the game in its entirety to avoid wasting time writing code that may not make it into the finished product.
I'd say it largely depends on the kind of game you are making. How large the project is, do you have a team, if so how big? Is this a full time project, part time, or hobby? Are you planning on monotizing this project, if so how? All of these questions factor in. For example if it is a very large solo project you may want to spend some time working on the core mechanics and then just jump right in. As you work on your project many things will change, you will come up with new ideas, you will scrap old ones, and the game will evolve as you work on it and continue to add features. In such a project it would be a waste of time to spend too much time planning as you are likely to make many changes along the way. On the other hand say you are making a small app with a team of 3 people you may want to plan out the whole app, all the features, what everybody will focus on creating, the design, artwork, sounds, UI... Then having all of this figured out beforehand will allow you to quickly arrive with a finished prototype.
In general I'd say working with a team requires much more initial planning than working solo no matter what kind of project. And smaller projects are better planned out completely while larger ones you just need to jump into and start programming.
Yes, it's disabled since it hasn't been released yet, I expected it to be out by now, but I'm having some trouble getting it on the asset store.
If you want help creating your own voxel engine just send me a message!
Not to toot my own horn but I'm releasing a 2D Terrain Engine for Unity which gives you everything you need to create a game like Terraria. It comes with full source code, all documented.
https://activegamedev.com/TerrainEngine2D
I have a lot of experience with this sort of thing as well as 3D Voxel Engines and everything that goes along with it, so if you have any questions, or want some resources I can help you out! :) Just send me a message
At least you understand this, some people don't and they pour thousands of dollars into their game just to see it fade away into the store getting no more than a few hundred downloads.
I can't say for sure, just try it out and see. I suggest you do some more research on writing binary files first though to ensure you do it correctly.
delete
Yeah it looks like you get the gist of it
If you want to create your own serialization system you could convert all your data to bytes using a binaryreader, you would need to create your own custom functions for every type of data you are saving. Then you use the binaryreader to parse your data from file when loading.
It could get quite complicated if you are saving a lot of data, and you need to remember the order in which you wrote the data when reading it.
The best thing about this is it would be hard to hack since it will be saved in binary (unreadable) and only you know the functions to deserialize it.
When it comes to binary you always have to parse the data by serializing and deserializing which is going to take time.
For your terrain the best way to save a large open world is to save it in chunks. Create a serializable class that holds all the data you wish to save for a single chunk. Then create another class holding the number of chunks you wish to save in a file (I suggest you save a single column of chunks or similar). Serialize the second class with the Binary Formatter. In order to keep track of all the save files you should name them by their position in the world.
You can optimize this by only saving the data absolutely necessary for rebuilding the world. If the world is procedurally generated only save the parts that are modified during runtime.
Then for everything else like your entities for example you could create a class to store their location in the world. Then when loading the data all you have to do is loop through the list of locations and set their positions.
I watched both your trailers and looked at your landing page and I still don't really understand what the game is about.
I mean it seems pretty trivial, some sort of platformer. But what's the point of the game?
You should have a better explanation on your landing page. Give me a reason I should play your platformer among the thousands of others out there.
Also a trailer for something like this should probably be around 30 seconds long.
To sum it up, keep everything short and sweet, the landing page looks alright, but change the information. Your release trailer should be around 30 seconds long of gameplay, and try to show the story or main goal in your game.
I struggle with anxiety on a daily basis, and have recently gone through some dark times as I also have chronic back pain.
I find game development really helps me get my mind in a good place. It gives me something to focus on, a feeling of accomplishment, and when you have a team a source of friendship.
I find days I'm not feeling so great, my anxiety is up and my mind is racing I can focus on a project, and I'll forget about whatever I was stressing about.
Outside of game development, I find it very important to stay positive, think about what's good in your life, think about things that make you happy, practice smiling. I know it can be hard but try to train your brain to look at life as though the glass is half full, not empty.
Also realize that life can be whatever you want it to be, don't take life so seriously, live in the moment.
Lastly your physical health can also have a big factor on your mental health. Get daily exercise, get outside you need sunlight, eat healthy, make sure you aren't deficient in any vitamins or nutrients. Sleep is super important.
As long as you are not using copyrighted assets, artwork, trademarked names, or similar, you should be fine.
Game Mechanics cannot be copyrighted. Although there are some situations where companies have been awarded patents for certain things.
So if you wanted to go make a 'Pokemon' game where you used a similar retro style with all original artwork, made the name 'Monster Catcher', where you caught Monsters with monsterBalls and used them to fight eachother, this would be fine.
I personally think just going the CS route is the best option and it is what I'm currently doing. A CS degree is more valuable than any game developer degree or IT degree. When it comes to finding jobs it will be more about your experience than your schooling. No employer is going to disregard you because you have a CS degree instead of some game design degree. Just do gamedev projects on your own time, there are so many resources online for you to learn about game development.