6/10/2023 0 Comments Simearth remake 2018![]() ![]() ![]() Otherwise, a flow of a material has much more parameters, like the viscosity of the liquid (gas or earth ), it also receive the direction of the flow, and other factors (like the tectonic movement, wind speed/direction, etc) can influence the flow and can be used in the body of the algorithm. No matter what happens, a volcano is a volcano, then a volcano event does not expect to receive many parameters, just the position and (maybe) the intensity.Events aren’t simple, an event mades changes in different layers, eg: a volcano changes the amount of land, the water temperature, the air temperature and can kill some lifeform, so imagine that the callback of the event generate others events, these return will be complex events, or will be calculated as one.One event can change the value of (x+1,y+1) and another event can be based on the old values of (x+1,y+1), therefore it’s be based on a changed value, so the data is wrong… What is the use of a perfect algorithm that manipulate wrong data? Changing the map directly is a mistake, eg.Many bugs cames from this approach, the majors tips are: In my first attempt i made a event labeled volcano, add it to a poll in an event handler, and when the ticks ends a made a call to all events in the poll and each event changes the map directly. Let’s consider a “comum natural event” in the earth like a volcano You can quickly realize that volcano is referred to event, then it is obvious that I need an event manager at the core of the game. So in that stage, my map was a matrix where matrix represents the amount of land in the coordinate (x,y) and matrix represents the amount of water. Layers usually represent levels, amounts of something, all layers are listed in a enum and the index of a layer in the enum is the index in the matrix for that layer representation.įor example: At early stages of development I had only 2 layers: We have 2 dimensions (x,y) to represent coordinates and additionally a 3rd dimension to represent a layer. So, the world is just a 3 dimensional matrix (The game is in 2D with a birdvision). Click here for a list of other gaming subreddits.A some time ago i have tried to make a remake of SimEarth: I failed My biggest mistake was in the events and how the map is changed, so in this post i will explain how i modelated the world (map), this model give me a high freedom level to changes what I need and without loose control of the execution flow. Posts and comments, whether in jest or with malice, that contain racist, sexist, homophobic content, threats, or other forms of toxicity will be removed, regardless of popularity or relevance.įor a more detailed explanation of these rules, click here. No Kickstarter, crowdfunding, et al project "reminder" posts. No referral, affiliate, livestream, and/or survey links. This is not the place to spam your channel or stream. No screenshots of websites or Twitter.įollow the rules of promotion. No general URL shorteners (bitly, tinyurl, etc). Submit only the original source of the content. No Giveaways / Trades / Contests / Items for sale / Donation Requests / Crypto anything Cosplay posts from content creators who focus primarily is adult content will be removed. Mark your spoilers and NSFW submissions, comments and links. No bandwagon/raid/"pass it on" or direct reply posts. Discussion prompts must be made as text posts. Note that we do not allow non-gaming meme templates as submissions. Submissions must be directly gaming-related, not just a "forced" connection via the title or a caption added to the content. Directly messaging individual moderators may result in a temporary ban. Only message the team via the link above. Simply message the moderators and ask us to look into it.ĭo NOT private message or use reddit chat to contact moderators about moderator actions. If your submission does not appear, do not delete it. ![]()
0 Comments
Leave a Reply. |