Email or username:

Password:

Forgot your password?
James Chip

A little UXN progress this morning!

I got the movement and growth working on my port of snake!

I also got the collision with the snake body working but you cant see that because a snake of 3 cant collide with itself.

Just need to keep score, increase speed as you eat and that is pretty much it.

4 comments
James Chip

I am 100% sure I have gone about this a completely weird and round the houses way, but it works, and pretty well too!

Ill finish it up and then pop the source online so you can all judge me.

Devine Lu Linvega

@jameschip little idea: you could read and write position in a single opcode if you wanted by doing something like this:

( zero page )
@player &pos &x $1 &y $1

( snake )
.player/pos LDZ2

That would grab .player/x and .player/y at once :uxn:

Go Up