It's Cold, or at least that's what the game's called.
Welcome to my new game, Cold(might change later on). It's in C, and i've been working on it for a while now.
Cold is supposed to be a survival game for the calculator in which you have to gather resources to heat and feed yourself to survive. You play as Preston, a little guy that has crashed in the forest and has to survive long enough to be rescued.
Here are some functions I want there to be:
Green = implemented
Yellow = in progress
Red = not implemented

Sprite Orinted Movement
Items
Diffrent Screens
Temp(functionality) in the form of fire place(also for cooking food)
Food(diffrent types)
Helath(death scren)
Shelter Building
AppVars
Menu

Now for what people really care about:

If you want to suggest anything, just ask Smile
Thing Im currently working on: Food Animals? Crops? Hunting? Scavenging?
Looks really fun. can't wait to see where you take this.
One idea I have is to implement torches, portable heat. that way you can make a bigger map and more possibilities open up. Also if you could add burnable tiles that would make choosing where to build the fire much more strategic.
Looking good so far, the character moves fast so I couldn't tell, but I was wondering if you had put any thought into some sprite animation for walking and such?
Hi guys, I know I haven't posted in a while, I've also been working on other projects(maybe a post on them soon) but I added the ability to place fireplaces, eat and collect berries, along with the ability to emote, drop items, save everything, and fuel fireplaces. Currently I am working on better collision detection because I am also working on expanding the world, which will allow you to transition screens, giving me the ability to add more items with out the game feeling cramped. I'll post a video soon, but know this game is not done being developed.

PS. I also may add a better walking animation. Mr Green
Here's the vid, once again, sry for not releasing it earlier, also I pushed an earlier version to git. https://github.com/linkjt/COLD (I actually pushed this learning git Bash Smile


Ignore the shelter, that's just a place holder, it will be put in to the collision item data base latter on and will also be upgrade able.
Now I begin the construction of new areas, a story, new items, and an upgrade able shelter.
Once again, open to any suggestions.
Looking great so far!
You have a buffer overlow and a serious bug waiting to happen here: https://github.com/linkjt/COLD/blob/main/coldbuild/src/main.c#L18C6-L18C16

Also never use atoi, it is undefined behavior for invalid inputs: https://github.com/linkjt/COLD/blob/main/coldbuild/src/main.c#L313
Should I just set a larger given value to the temporary string then so that it doesn't corrupt and make my own string to integer function?
Fairly sure atoi() is effectively replaced by strtol(), which has its own error handling.
It returns a long, though, not an int.

As for the buffer overflow, not sure off the top of my head.
I just replaced it with strtol, and it seems to work with no feat of error, thanks guys
As a side note I have added Collision for the house in the second area, and it will soon be upgradeable, aka heat and utilities. Now the only lacking aspect in the game is the story, I built a really sick helicopter sprite but I can't find a way to incorporate it. I was thinking a crash landing subnatica kind of story(supranautica) but if any of you have suggestions, please fire away
tempstring is empty, it has no memory or storage - you are overwriting random bytes in memory. You need to specify how big the string is supposed to be.
Hi guys, I know that it seems like I have given up on this project, but I have actually made some great improvements to it.
Multi screen functionality
Good collision detection
Brewing
Menu
Radio
Next, I'm going to add the objective of the gam , survive 9 days withh 9 challenges in the cold long enough to get extracted by a resume team. I'll also make sure to post a video tonight, thx for being patient. Very Happy
Hey yall, The game is finished, I know I didn't get to talk bout it a lot, but I was kinda cramming for finals and didn't have a lot of time to post. I uploaded it, and you should go play it Smile . If you have any suggestions on what should be added to the game, feel free to share them here, Im open to anything. TI-84+ CE
Here is a video of the game, cause a lot of changes have been made:
Love the finished product. The scrolling and movement is really smooth.
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement