Hi there!
I'm 10 weeks into my programming subject for games design and I've ran into a bit of an issue for one of the assignments- we've been told we can recreate the classic game 'snake', and given my teacher is convinced that my talents lie more in the art side of things, he's requested me to use PImages to represent the snake head and body- which, I don't mind given I like making things pretty- but I've never been good with arrays to begin with, and now the idea of making a image array is scaring me horrendously. I've tried emailing the lecturer for help, but he continues to go over my head with his explanations.
The main idea is to get an image loaded as a head of the snake, and then another image that will act as the snakes body as it continues to eat fruit, gradually increasing. (Which is another part I haven't been able to wrap my head around, the idea of spawning fruit from an image)
I was hoping that would be kind enough to point me in the right direction?
I've loaded images into processing before, but never had to actually use them as an active part of the code. If need be, I can email the code to you- I just haven't uploaded it on here as 1. it's a little embarrassing, and 2. I've got quite a few tabs going at this rate.
I'm 10 weeks into my programming subject for games design and I've ran into a bit of an issue for one of the assignments- we've been told we can recreate the classic game 'snake', and given my teacher is convinced that my talents lie more in the art side of things, he's requested me to use PImages to represent the snake head and body- which, I don't mind given I like making things pretty- but I've never been good with arrays to begin with, and now the idea of making a image array is scaring me horrendously. I've tried emailing the lecturer for help, but he continues to go over my head with his explanations.
The main idea is to get an image loaded as a head of the snake, and then another image that will act as the snakes body as it continues to eat fruit, gradually increasing. (Which is another part I haven't been able to wrap my head around, the idea of spawning fruit from an image)
I was hoping that would be kind enough to point me in the right direction?
I've loaded images into processing before, but never had to actually use them as an active part of the code. If need be, I can email the code to you- I just haven't uploaded it on here as 1. it's a little embarrassing, and 2. I've got quite a few tabs going at this rate.
1