My First Game, Snake

Show off your games, demos and other (playable) creations.
User avatar
awhite92
Prole
Posts: 21
Joined: Thu Jul 26, 2012 4:25 am

My First Game, Snake

Post by awhite92 » Fri Aug 03, 2012 6:55 pm

hi, so i found this amazing 2D game engin, and fell in love. saw a video on a beautiful snake game viewtopic.php?f=5&t=2841&hilit=snayke cant wait for it to come out :crazy:

but it inspired me, to make my own for my first project.
its an unlimited style game, no maps, it only speeds up.
so here it is, it took about a week for the first version.

when you play it, press "`" to show the debug info, if you would please tell me your FPS :D its a bit heavy, that's why its difficulty is so hard.
screenshots are kinda blurry, sorry ^^ they are hosted on my G+
Image
Image
Image
Image


the snake is drawn with

Code: Select all

love.graphics.rectangle
, but the glow is an image.
the food block is an image as well, makes it a lot easier to rotate.
and to make the glow so pretty, im using

Code: Select all

love.graphics.setBlendMode("additive")
try it out! have fun! and let me know what you think!
btw this my first post..

Updates:
1.1
• added level status (every 10 food you would "level up", now you know what level you are)
• tweaked how snake and food is drawn
• prevented food from spawning on outer wall
• turned off v-sync so people can tell me their FPS

Donwload:
Attachments
Snake.love
Snake 1.1 for love 0.8.0
(385.1 KiB) Downloaded 654 times
Last edited by awhite92 on Tue Aug 14, 2012 8:38 pm, edited 4 times in total.
saved by a scholarship..
redesigned my "avatar"

hoangdung
Prole
Posts: 1
Joined: Sat Aug 04, 2012 8:43 am
Contact:

Re: My First Game, Snake

Post by hoangdung » Sat Aug 04, 2012 8:52 am

My girlfriend likes the pink color :), she is really like this
Thanks for this

User avatar
awhite92
Prole
Posts: 21
Joined: Thu Jul 26, 2012 4:25 am

Re: My First Game, Snake

Post by awhite92 » Sun Aug 05, 2012 3:45 pm

im glad someone liked it lol im not getting a lot of feed back. is that normal for this forum? lol
saved by a scholarship..
redesigned my "avatar"

User avatar
Jack
Prole
Posts: 10
Joined: Sat Jan 07, 2012 5:01 am

Re: My First Game, Snake

Post by Jack » Sun Aug 05, 2012 3:49 pm

I really like the font & tile style. The gameplay is pretty standard to Snake, but great job on the graphics. I get 60 fps, so I'm assuming you are using some kind of FPS lock or v-sync.

Great job.

User avatar
Tesselode
Party member
Posts: 554
Joined: Fri Jul 23, 2010 7:55 pm

Re: My First Game, Snake

Post by Tesselode » Sun Aug 05, 2012 4:06 pm

The game has had some unofficial releases, and you just did a pretty good recreation of it. Nice job!

Can you make the snake's movement a little smoother?

User avatar
awhite92
Prole
Posts: 21
Joined: Thu Jul 26, 2012 4:25 am

Re: My First Game, Snake

Post by awhite92 » Mon Aug 06, 2012 4:39 pm

Jack wrote:I get 60 fps, so I'm assuming you are using some kind of FPS lock or v-sync.
i think it has to do with the graphic drivers/card. mine stays around 400 fps for the first 5 or so levels, then it slowly drops. I've tested it on a handful on machines and some of them have been locked at 60fps. altho i do have v-sync on, so that mite be why. but like i said this is my first game, and i like to go all out, it took about a week of programming. i didnt know anything about Lua, cuz i normally program in c#.
Jack wrote:I really like the font & tile style .... great job on the graphics...
Tesselode wrote:The game has had some unofficial releases, and you just did a pretty good recreation of it. Nice job!
thanks guys, im really glad ya'll are liking it :D
and btw, im not trying to "recreation" it per-say, i really used it as inspiration. i know it looks very similar, so im not taking credit for the design or anything lol.
we can call it more of a clone i guess, but its not going to be to the same extent (levels, multi-player, networking; i think, etc) just wanting it to be a unlimited style play
Tesselode wrote:Can you make the snake's movement a little smoother?
hm, i did notice in their game that it smoothly moved from block to block, but i don't know where to start with that, but i will see.
saved by a scholarship..
redesigned my "avatar"

User avatar
awhite92
Prole
Posts: 21
Joined: Thu Jul 26, 2012 4:25 am

GAME UPDATED

Post by awhite92 » Mon Aug 06, 2012 5:27 pm

GAME UPDATED
see first post for details.

:awesome:
saved by a scholarship..
redesigned my "avatar"

User avatar
Lafolie
Inner party member
Posts: 804
Joined: Tue Apr 05, 2011 2:59 pm
Location: SR388
Contact:

Re: My First Game, Snake

Post by Lafolie » Mon Aug 06, 2012 7:00 pm

I'm getting > 360fps on my lesser gpu. This is pretty slick for a first project, keep it up.
Do you recognise when the world won't stop for you? Or when the days don't care what you've got to do? When the weight's too tough to lift up, what do you? Don't let them choose for you, that's on you.

User avatar
awhite92
Prole
Posts: 21
Joined: Thu Jul 26, 2012 4:25 am

Re: My First Game, Snake

Post by awhite92 » Tue Aug 07, 2012 2:20 am

Lafolie wrote:I'm getting > 360fps on my lesser gpu. This is pretty slick for a first project, keep it up.
that's good :D i was wandering how it would be on other PCs, and thanks :D i will and i am!
saved by a scholarship..
redesigned my "avatar"

User avatar
Roland_Yonaba
Inner party member
Posts: 1562
Joined: Tue Jun 21, 2011 6:08 pm
Location: Ouagadougou (Burkina Faso)
Contact:

Re: My First Game, Snake

Post by Roland_Yonaba » Tue Aug 07, 2012 2:34 am

I do love the graphics. Sweet, smooth, nice looking.
For a first attempt at making a game, perfect.
Keep up the good job.

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests