My take on snake homework

The Partridge Family were neither partridges nor a family. Discuss.
User avatar
YoMomIsANiceLady
Posts: 33
Joined: February 2nd, 2017, 8:20 am

My take on snake homework

Post by YoMomIsANiceLady » February 11th, 2017, 2:17 am

Hey, so I watched the tutorial video #14 and there was a homework to try and add more features to the snake. So I decided to take up to the next level... go big... and I am remaking the actual classic Snake from dem old Nokia phones. Trying to get it as accurate as possible.

There are still a few features I'd like to add (Display score, keep track of high score, variable speed). And also there is one bug I know of that needs to be fixed.

I will post the final result open source here once it's done. For now... I just wanted to tell you guys. I am very happy with the result so far and I am most thankful to chili for all this. Oh man, what a shame I'm not gay. Love you, chili!

Here's a preview:

https://youtu.be/3gabCHbI8JE

And yeah. I'm just showing off here...
"Life is like death, but completely different"
- Ivan Gašparovič

User avatar
chili
Site Admin
Posts: 3948
Joined: December 31st, 2011, 4:53 pm
Location: Japan
Contact:

Re: My take on snake homework

Post by chili » February 11th, 2017, 6:04 am

Haha, looks like you just copied a Nokia phone video and reuploaded it :P

Looking good, make sure the share the final result bruh!
Chili

User avatar
Yumtard
Posts: 575
Joined: January 19th, 2017, 10:28 pm
Location: Idiot from northern Europe

Re: My take on snake homework

Post by Yumtard » February 11th, 2017, 11:31 am

That brings back some memories!

Great work!

User avatar
YoMomIsANiceLady
Posts: 33
Joined: February 2nd, 2017, 8:20 am

Re: My take on snake homework

Post by YoMomIsANiceLady » February 11th, 2017, 7:46 pm

Hey, any idea how I can make this work for win32 ? My dad wanted to try and play my snek but he only has WIN XP and it won't run on his laptop. :cry:
"Life is like death, but completely different"
- Ivan Gašparovič

MrGodin
Posts: 721
Joined: November 30th, 2013, 7:40 pm
Location: Merville, British Columbia Canada

Re: My take on snake homework

Post by MrGodin » February 11th, 2017, 10:03 pm

Try building in x86 mode, perhaps ?. And also i think that you'll need the DirectX 9 runtime library for XP. I'm not tooooo sure about this. Chili or Albinopapa would know more :)
Curiosity killed the cat, satisfaction brought him back

albinopapa
Posts: 4373
Joined: February 28th, 2013, 3:23 am
Location: Oklahoma, United States

Re: My take on snake homework

Post by albinopapa » February 12th, 2017, 1:12 am

Yeah, try downloading Chili's old framework and give that a shot, it uses DX 9 and should work with WinXP.
If you think paging some data from disk into RAM is slow, try paging it into a simian cerebrum over a pair of optical nerves. - gameprogrammingpatterns.com

User avatar
chili
Site Admin
Posts: 3948
Joined: December 31st, 2011, 4:53 pm
Location: Japan
Contact:

Re: My take on snake homework

Post by chili » February 13th, 2017, 1:59 am

Yup, the framework interface is mostly the same (instead of wnd.kbd, it's just kbd, small differences like that). So with a little bit of elbow grease you can port the logic into the old framework and build. However, the old framework has some dependencies on the DirectX SDK (separate download). You can build it without DLing the SDK, but you need to modify the solution a bit.

Let us know when you get stuck and we can guide your hips, so to speak. :)
Chili

User avatar
YoMomIsANiceLady
Posts: 33
Joined: February 2nd, 2017, 8:20 am

Re: My take on snake homework

Post by YoMomIsANiceLady » February 13th, 2017, 7:45 am

Hey guys. I'm currently working on the menu for snake. I am using this video as a reference to what it should look like:

https://www.youtube.com/watch?v=hb9Zdlra-GI

But it's in French or something. So I don't remember the exact writing on the board. Does anyone have the actual game or remember what it said when you die. Is it "Game Over!" or "Game over" or "End" ? Or what...
"Life is like death, but completely different"
- Ivan Gašparovič

User avatar
YoMomIsANiceLady
Posts: 33
Joined: February 2nd, 2017, 8:20 am

Re: My take on snake homework

Post by YoMomIsANiceLady » February 14th, 2017, 12:06 pm

Progress!

I added the pixel alphabet (Holy shit, the amount of time I spent on that)
and the game menu (and on that)

So far only "New game" works but I feel like the most difficult part is done!

The sliding side bar on the right is my proudest creation yet.

https://youtu.be/XajiRuoFX4I
"Life is like death, but completely different"
- Ivan Gašparovič

User avatar
chili
Site Admin
Posts: 3948
Joined: December 31st, 2011, 4:53 pm
Location: Japan
Contact:

Re: My take on snake homework

Post by chili » February 14th, 2017, 1:48 pm

I never played the original, but this looks legit as fuck. Nice work.

Did you do the menu entries as 1 sprite per entry or 1 per character?
Chili

Post Reply