Jump to content

  • Log In with Google      Sign In   
  • Create Account

Awesome job so far everyone! Please give us your feedback on how our article efforts are going. We still need more finished articles for our May contest theme: Remake the Classics

#Actualcold_heats_.--.

Posted 24 July 2012 - 12:04 AM

Hi. I'm wondering if it's legal to copy the gameplay of a classic game, such as Snake.I don't know much about copyright issues.I'm trying to make a clone of it. The main character is not a snake, and he's not looking for food like in the original game.It's body does grow when he collides with the "object of desire " and he is destroyed if he goes out of boundaries or hits its own "tail" or the obstacles.I'm asking because I want to present my project in a contest.It will not be commercial.

#1cold_heats_.--.

Posted 23 July 2012 - 05:03 PM

Hi. I'm wondering if it's legal to copy the gameplay of a classic game, such as Snake.I don't know much about copyright issues.I'm trying to make a clone of it. The main character is not a snake, and he's not looking for food like in the original game.It's body does grow when he collides with the "object of desire " and he is destroyed if he goes out of boundaries or hits its own "tail" or the obstacles.I'm asking because I want to present my project in a contest.It will not be commercial.



And ehm second question, so I wont start two threads.
Suppose I have an array of block-like sprites.In the center of each sprite, the pixel is set to a color , say magenta.When my character moves, he does it with a fixed velocity and the sprites are displayed in such a way that when the caracter collides with them , he practically covers the whole sprite, not just a part of it .They all have the same dimensions.

In my snake-like game, I have to check 2 arrays of coordinates and the "food" coordinates, regarding their collision with the head.Wouldnt it be easier to set in the center of each sprite a certain color and in the collision function to check wether the pixel color in center of the head's rectangle has those certain RGB values ?
If it's possible, how could I do that in SDL  ?
My guess is that the blocks would first have to be blitted on the background and then the background to the display.

PARTNERS