Snake - Riley Entertainment

Profile
Winnipeg

After completing my little Pong project, I'm moving forward to trying my hands on a "Snake" clone.  I'll be trying out SFML for managing windows, graphics, input, and sound.  The graphics and gameplay will be simple to start, and then I plan to go through a number of improvements to make it feel semi-professional (as much as I'm capable on my own!).  As I build it, I'll keep all the source code over on my GitHub account.  And of course, I'll blog about my experiences here along the way!

0 comments
2 followers
19 entries
Advertisement
rileyman
September 14, 2019
Snake - Loading assets asynchronously

Since my last update, I've primarily been working on a way to load all the assets of a level in an asynchronous manner.  Having the assets get loaded into memory (or the GPU for textures) in a separate thread allows the game to display the loading status while the player waits.  This obviously i…

3,978 views
rileyman
September 08, 2019
Snake - Map and level loaders

Not a particularly exciting update, but since it's been a week since my last post I felt the need to check in.  I've completed the initial version of the JSON loaders for map files and campaign / level files.  I wanted it to be easy for myself (and anyone else looking to create their own levels)…

2,720 views
rileyman
September 02, 2019
Snake - Story mode design, and Json parser woes

I started up a wiki over on my GitHub account describing the story mode design for The Garden of Eating.  I'm looking forward to implementing all of that, but the first step in getting there is dealing with the file system and JSON parsing.

I was originally thinking I'd just have a "campaign…

3,155 views
rileyman
August 31, 2019
Snake - The basic game is complete!

As of last night, I managed to complete everything I wanted for the basic game.  The menu system is in place, all the game options are working, there's a full screen option, and I worked through some minor issues that I wanted to address.  Full source code, and the 1.1 release, are available on …

4,339 views
rileyman
August 25, 2019
Snake - The game menu

The game menu is coming along quite well.  You can interact with the menu items with the keyboard or mouse.  It highlights the focused item, and shows some descriptive text along the bottom.

 

I'm actually quite pleased with the way it's structured as well...  though I'll admit to ha…

3,771 views
rileyman
August 24, 2019
Snake - Moving on to game options

The most basic version of my SFML "Snake" clone is now playable, including background music and some rudimentary sound effects.  (The "eating an apple" sound was literally just me making a mouth sound.  I guess that makes me an "ASMRtist"?)

I tagged this as "snake_1_0_0" over on my Githu…

3,128 views
rileyman
August 23, 2019
This snake can move

Here's our snake, zipping around the field waiting for an apple to appear. ?

Keeping track of the snake's body as it moves and turns was the trickier part of this, so I think I'm over the hump as far as the basic game goes.  Now I just need to add apples, and keeping track of the snake l…

3,095 views
Advertisement
rileyman
August 22, 2019
I never claimed to be an artist!

I've worked out the initial artwork for my "Snake" clone, and it doesn't look at all how I imagine it in my head. ?  But that's okay for now -- it puts me in a place where I can get to work coding the game play, and seeing how it looks on the screen.

I drew the snake body segments in Photosh…

2,394 views
rileyman
August 21, 2019
Getting Started with SFML

So far, things are looking just fine trying out SFML.  (Though I'm wondering why there isn't a tag for it here...)

The Visual Studio setup tutorial over on their website strongly cautions that you need to match the download version to your version of Visual C++.  As of this moment, their lat…

4,081 views
Advertisement

Popular Blogs

shawnhar
Generalist
101 Entries
14 Followers
klg71
Generalist
56 Entries
2 Followers
ApochPiQ
Generalist
628 Entries
45 Followers
15 Entries
14 Followers
johnhattan
Programmer
1,277 Entries
50 Followers
Advertisement