Log In  
Follow
fabsh

Journalist & writer, freelance — "Understanding is a three-edged sword"


Cart #retro_clock-1 | 2024-02-25 | Code ▽ | Embed ▽ | No License
3

My first cart release. Ever. Just a little tool I built for myself, because I thought all of the desktop clocks and stopwatches I found for Windows were ugly. Therefore, meet Retro Clock, a nixie-inspired desktop clock and stopwatch for the PICO-8 fantasy console:

It shows the time in a pleasant, retro-futuristic way. It shows your current system time and the corresponding offset to UTC, as well as the current date. If you press the UP button, you can toggle between daylight saving time (DST) or normal time.

Pressing X will bring up stopwatch mode. You can start and stop the stopwatch by pressing X. Pressing X again will resume where the stopwatch left off. Pressing O resets the stopwatch. You can return to the simpler clock-only view by pressing LEFT.

[ Continue Reading.. ]

3
3 comments



Hello, everyone!

I am very new to this and not a good programmer in general (language comes much more naturally to me than maths) so I need your help. I'm making my first PICO-8 game. It's a WWII submarine simulation game where you have a top-down view of your sub. You can dive (which just hides the boat) and fire torpedoes. I have most of the graphics done. What I need your help with is this:

How do I rotate the game world around my boat and keep track of enemy ships I spawn? The game world itself is empty (it's just the blue ocean). But I want to spawn in ships randomly off screen and then have them move slowly across the game world. And I want my boat to be able to turn around slowly with the camera locked to the boat. I've decided the boat will just move at a fixed pace so all the turning is doing is changing the view of the world (which is what you see on screen). I might actually just fake movement of the player boat by moving the enemy ships in a relative direction accordingly.

Let's assume the boat isn't moving. I can tackle that later, when I have this other stuff in place. How do I define a section of ocean a few screens wide in all directions and then spawn enemies there? And how do I rotate the view around the sub (including the enemy sprites) and then keep track of their position relative to the rotating camera?

[ Continue Reading.. ]

2 comments