[ 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.2485367 [View]
File: 102 KB, 601x578, graviton_basic_movement_and_left_sprites.jpg [View same] [iqdb] [saucenao] [google]
2485367

>>2484458
New update. Implemented Idle, Walk, Jump, and Fall states for both left and right directions with associated graphics and rudimentary physics.

TLDR; you could call it a platformer at this point. This is a great time to download to smc file and try it out, because it is starting to become usable. Left and right to move, X to run, B to jump, L to toggle a hitbox visualization, Start to pause, L+R+Start+Select to reset. Enjoy.

If you are interested in how I'm coding things up but don't know 65816 assembly, however have some knowledge of C, then I strongly urge you to check out the 'vrtan.asm' file at the github.com/gewballs/graviton repository. I've fully commented that document, except a small excerpt of debug code at the very top. It may be an enlightening read on how C gets mapped to assembly.

Note that my functions mainly use static storage, the stack is mainly to save subroutine return locations. This is because the stack must be under 0x2000 bytes the way the SNES' memory is mapped. Also using the direct page (which only requires one byte to address) is faster than stack based addressing, so it is preferred.

>>2484743
Thank you for the summary of hacking topics. I'll start to answer them in my next post after I get some rest.

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