You are browsing as a guest. Sign up (or log in) to start making projects!

2h 26m 27s logged

Dev Log #19
.
Getting lazy, need to lock in and get 3 hours tomorrow.
.
Today I added:

Working portals
Time stop ability

Portals and time stop ability use object layers in tiles, a much easier solution compared to my use of polygons for complete goals, may change that but not sure.
.
Time stop ability is pretty simple, works like pause menu, but allows image rotation and enables follow mouse.
.
Portals work by on contact, moving player position centre to other portal centre.
.
The velocity changes with the exit direction using the following code:

rotation_difference = entry_angle - exit_angle  
self.velocity.rotate_ip(rotation_difference)

Overall, ok day, not sure what I’ll do tmr, but I’m sure theres something hiding on my checklist.
.
ALSO!!, Fix this horrible performance issue I had, see bellow for comparison

0
5

Comments 0

No comments yet. Be the first!