Activity

Kevin Hoherz

I spent a long time fixing the collision detection. It has been outdated since I added rotation to objects. The collision detection separates space into cells, and then uses the separating axis theorem (SAT) to detect collisions and send messages to the scripts on the objects.

0
Kevin Hoherz

I made a lot of progress on the sprite editor and interpreter. For the sprite editor I fixed the color palette by autogenerating the colors using a separate program. Then I added tools for drawing, filling, erasing, and color picking. I created a unity program to help draw the icons. The interpreter took longer. The first thing I did was create a linked list that could hold any type. Then I created the while and if statements using an instruction stack. Next I used the same instruction stack to add function calls. I added object oriented ‘paths’ so I could get properties from other objects by script. In order to add lists to my language, I had to do a large refactor on my shunt yard algorithm (a 900 line function!), but I did get it working. The video of the spinning sprite shows a script calling a function on a different object!

Attachment
Attachment
Attachment
0
Kevin Hoherz

I spent time adding rotation to sprites. This website “https://www.sunshine2k.de/coding/java/TriangleRasterization/TriangleRasterization.html#sunbresenhamarticle” helped me render triangles, which were then used to render the rectangles at an angle. I also improved the sprite color palette. I also added a really cool start up intro. I meant to post a devlog at 3 hours but I lost track of time.

Attachment
0