https://github.com/phillvancejr/move_square_asm
Moving Square with Raylib and x64 Assembly Mac OS
https://github.com/phillvancejr/move_square_asm
assembly graphics mac macos nasm raylib x64
Last synced: about 1 month ago
JSON representation
Moving Square with Raylib and x64 Assembly Mac OS
- Host: GitHub
- URL: https://github.com/phillvancejr/move_square_asm
- Owner: phillvancejr
- Created: 2022-05-24T19:53:41.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-05-24T20:03:47.000Z (about 4 years ago)
- Last Synced: 2025-01-30T12:30:02.387Z (over 1 year ago)
- Topics: assembly, graphics, mac, macos, nasm, raylib, x64
- Language: Assembly
- Homepage:
- Size: 639 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Moving Square with Raylib and x64 Assembly
A small program that opens a window and lets you move around a white square with the keyboard, and restricts the x and y to the window bounds. It is coded for x64 Mac OS for now, but it would be easy to port to linux as they both use the same C calling convention and only one syscall is used. With this proejct I've also started writing a library called `pal` , "Phill's Assembly Library" with some helpers and abstractions, in addition the raylib wrapper. I used integers for positions and so the movement isn't as smooth as it should be, so next time I'll be trying floats. Also I should probably be making movement framerate independent but for this its fine as it was just a little project for fun
