[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/vr/ - Retro Games

Search:


View post   

>> No.2487484 [View]
File: 80 KB, 601x578, graviton_hud_hitbox_cpu.jpg [View same] [iqdb] [saucenao] [google]
2487484

Pushed another commit. I'm working on the HUD now. I got player score counters to work, with p1 displaying frame count and p2 movement data*.

I added a CPU usage visualization function toggled by R. It darkens the screen once the game is done processing the current frame to show you how much time it took to run the program (needless to say most of the screen is dark for such a tiny program).

Also added a hitbox visualization that show the direction of harmful tiles the player just tried to move into by turning the hit box red in the proper direction. Enable hitbox visual with L.

I changed tabs to spaces in my code, so things should be easier to read on github and more portable. I commented the main.asm fully now, and am working on standardizing the various file styles.

He is pretty much ready to start throwing punches and dying.

Navigation
View posts[+24][+48][+96]