No.1425
Got the next 6 weeks off of work so I've resolved to get back into programming with Temple OS since it's self contained and distraction-free (not talking about the interface of course but the lack of internet access and games that eat up a lot of time). I'm not too rusty, I only had to give up programming for 3 weeks, but I don't have very much experience with C. First thing I've decided to work on is a simple puzzle game to familiarize myself with the API and get back into C-type languages in general. It doesn't really do anything now but I've only been on it for a couple of days now and I'll try to post progress daily. The interface will look better too, it's just going to be the last thing I focus on.
____________________________
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.1426
Debugging becomes really hard after the first 100 lines. I'm working with freeing and allocating memory and the OS just crashes every time something goes wrong.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.1427
The problem comes from this function for freeing the linked list selection. selection is a pointer to the first element.
My python and lisp background told me that working with a linked list would be easier but now I see that it would be better to just have an array of the maximum size of objects.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.1429
>>1427
If it takes you to the debugger, type
> Exit;
Sometimes, that kills the task and returns to normal.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.1435
Trying to figure out why my event code is so slow. I have to hold the mouse button down for several seconds before it registers.
What's a good demo to learn how to properly do events?
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.