Profile cover photo
Profile photo
Carl-Henrik Skårstedt
161 followers -
Swede in L.A. (game maker)
Swede in L.A. (game maker)

161 followers
About
Carl-Henrik Skårstedt's posts

Post has attachment
I couldn't find a 6502 cheat sheet with just the instructions, addressing modes and flag usage so I made this: https://drive.google.com/open?id=0B4lBG-q6aGsROEtKWXRXVnlTNUE with info from 6502.org. (If need to edit copy from goo.gl/B3FKgv)

Post has attachment

Post has attachment
New year, new project: A #mos6502 visual debugger for 6502 assembler code inspired by the Visual Studio debugger; https://github.com/sakrac/Step6502

Photo

Post has attachment
I've had some fun building a +mos6502 + 65C02 + 65816 assembler: https://github.com/sakrac/x65 

It supports a variety of things like linking, object files, macros, a variety of target formats including c64 prg and relocatable Apple II GS executable output.

Handles the syntax of most other assemblers. Would appreciate if anyone with 65xx code had a chance to test it :)

In addtion to the assembler, the archive includes an object file dump utility (dump_x65) and a disassembler (x65dsasm) for reviewing issues with the assembler.

Post has attachment

Post has attachment
Leash Camera Example
The leash camera is simple to implement and tracks a moving camera target intuitively without much polish. It can even be implemented without resorting to euler angles or quaternions since it deals entirely with the offset between the camera and the target ...

Post has attachment
Framing a target
I tend to update a game camera in this order: Update all possible camera targets Determine current target (“subject”) Apply change of camera mode or parameters Determine the camera facing direction Determine a camera position Collision and other post update...

Post has attachment
**
The first version of a camera tracking a target on screen could be a fixed offset from the center of the target with the camera looking straight along the offset. This is really all there is to get started and it is time to think about the next steps. This ...

Post has attachment
Intersection of three planes
Three plane intersections can make framing shapes on a screen trivial, along with many other applications. While useful for prototyping, I don’t tend to use three plane intersection in final products as there are a lot of things working together. There are ...
Wait while more posts are being loaded