Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Pacaman [Demo]  (Read 25509 times)

0 Members and 1 Guest are viewing this topic.

easy

  • Full Member
  • ***
  • Posts: 146
    • MSN Messenger - easy82.contact@gmail.com
    • View Profile
    • Email
Pacaman [Demo]
« on: September 04, 2011, 11:05:47 pm »
Hello fellas!

Here's what I'm working on since I've joined the SFML community (copied from readme.txt):


Pacaman is a free, open source Pac-Man like game-and-tutorial project in one that uses SFML (Simple and Fast Media Library). "Paca" means splotch in Hungarian.


Project goal:

The goal is to make a proof-of-concept game with educational purposes, that has a more complex source code than the standard pong example that comes with the SFML libraries. The source code was created in a (relatively) nice coding style with a lot of comments to ease understanding.


Screenshots:

Single player mode:


Cooperative mode:



More info & downloads:

Download the game from Pacaman website and leave a comment! Thanks! :)

Cheers,
easy

Groogy

  • Hero Member
  • *****
  • Posts: 1469
    • MSN Messenger - groogy@groogy.se
    • View Profile
    • http://www.groogy.se
    • Email
Pacaman [Demo]
« Reply #1 on: September 04, 2011, 11:30:25 pm »
Really nice! I appreciate the graphical design of the whole thing. Keep up the good work
Developer and Maker of rbSFML and Programmer at Paradox Development Studio

Lo-X

  • Hero Member
  • *****
  • Posts: 618
    • View Profile
    • My personal website, with CV, portfolio and projects
Pacaman [Demo]
« Reply #2 on: September 05, 2011, 08:32:23 am »
Really nice :D

easy

  • Full Member
  • ***
  • Posts: 146
    • MSN Messenger - easy82.contact@gmail.com
    • View Profile
    • Email
Pacaman [Demo]
« Reply #3 on: September 05, 2011, 02:55:17 pm »
Thanks guys! :D

I want to finish the game in a month (max. 2) and shoot up a little Blogspot website for it, maybe with a github repo. Though I have no experience with the latter (I might need some help on that).

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10780
    • View Profile
    • development blog
    • Email
Pacaman [Demo]
« Reply #4 on: September 05, 2011, 05:00:09 pm »
Nice graphics!
Will be interessting to see the finished work.

About GitHub, I created a repo just yesterday, but it wasn't the easiest task, since I tried to use first TortoiseGit, which is pretty ugly to use with GitHub (SSH & key problems).
So I clicked around on the website and found this link:

I don't know what OS you're using, but there are tutorials for Windows, OSX and Linux.

The GUI maybe a bit confusing at the beginning, but play a bit around and you get it to work.
Also don't forget to set your name and email address in the GUI->Edit->Options, otherwise it gets uploaded as 'unknown'...

Hope that helps.

eXpl0it3r
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

easy

  • Full Member
  • ***
  • Posts: 146
    • MSN Messenger - easy82.contact@gmail.com
    • View Profile
    • Email
Pacaman [Demo]
« Reply #5 on: September 05, 2011, 08:15:47 pm »
Thank you eXpl0it3r! :)

And thanks for the link too! This will come handy. It looks more complicated than I first thought. I'm on Linux, by the way.

easy

  • Full Member
  • ***
  • Posts: 146
    • MSN Messenger - easy82.contact@gmail.com
    • View Profile
    • Email
Pacaman [Demo]
« Reply #6 on: September 06, 2011, 11:34:39 pm »
I've updated the screenshots!

As you can see, I've added a timer to the game, which is interesting only because I had to use different layouts for the upper bar:
- In two player mode, the clock is always in the middle, while the player variables are centered ont their own half view,
- In one player mode however, the whole upper bar is centered (and in different order).

A timer would make no sense without a Game Over screen so this one is also added. Also when all the players die, the game is over then.

Other stuff: Pausing the game is now possible (P), and also taking screenshots (F12).

Kian

  • Newbie
  • *
  • Posts: 44
    • View Profile
Pacaman [Demo]
« Reply #7 on: September 07, 2011, 03:57:22 am »
Nice, looks pretty cool.

easy

  • Full Member
  • ***
  • Posts: 146
    • MSN Messenger - easy82.contact@gmail.com
    • View Profile
    • Email
Pacaman [Demo]
« Reply #8 on: September 07, 2011, 07:22:28 pm »
Thanks Kian! I hope it'll be fun! Making it is certaily being fun! :D

easy

  • Full Member
  • ***
  • Posts: 146
    • MSN Messenger - easy82.contact@gmail.com
    • View Profile
    • Email
Pacaman [Demo]
« Reply #9 on: September 07, 2011, 11:38:31 pm »
Today I've bumped into a bunch of tourists when crossing the main square of my town, and I just realized they move exactly like the blue ghosts in my game: they wander around aimlessly...

So then I've renamed my blue ghost from Pacifist to Tourist! :D

Meet da team:



The Maniac is very red and very fast and likes to chase players.
The Stalker is purple and mean and slow and follows you almost everywhere, he's always in yor heels.
The Survivor is the green one he has a nasty weapon: two lives!
And the Tourist who's just likes to walk around...

Kian

  • Newbie
  • *
  • Posts: 44
    • View Profile
Pacaman [Demo]
« Reply #10 on: September 08, 2011, 02:46:32 am »
That's a pretty cool, that they each have a 'personality'. :D

easy

  • Full Member
  • ***
  • Posts: 146
    • MSN Messenger - easy82.contact@gmail.com
    • View Profile
    • Email
Pacaman [Demo]
« Reply #11 on: September 10, 2011, 12:39:43 am »
Quote from: "Kian"
That's a pretty cool, that they each have a 'personality'. :D


Yeah, and actually this is what you can make use: you can predict their movement after playing a couple of rounds! As I recall the ghosts in original Pacman game also had different personalities.

-----

Today I've managed to port the game to Windows! Yay! :D It was easier than I thought, so I've added Win32 debug and release build targets to the project file. I've also found some SFML related bugs, so I'm gonna go and report them right now.

Haikarainen

  • Guest
Pacaman [Demo]
« Reply #12 on: September 10, 2011, 01:56:17 am »
Quote from: "easy"
Today I've bumped into a bunch of tourists when crossing the main square of my town, and I just realized they move exactly like the blue ghosts in my game: they wander around aimlessly...

So then I've renamed my blue ghost from Pacifist to Tourist! :D

Meet da team:



The Maniac is very red and very fast and likes to chase players.
The Stalker is purple and mean and slow and follows you almost everywhere, he's always in yor heels.
The Survivor is the green one he has a nasty weapon: two lives!
And the Tourist who's just likes to walk around...



Dude! You're one hell of a games designer, even if its something as simple as pac(a)man ;) Looks very nice, will try it out soon

easy

  • Full Member
  • ***
  • Posts: 146
    • MSN Messenger - easy82.contact@gmail.com
    • View Profile
    • Email
Pacaman [Demo]
« Reply #13 on: September 10, 2011, 03:15:19 pm »
Quote from: "Haikarainen"
Dude! You're one hell of a games designer, even if its something as simple as pac(a)man ;) Looks very nice, will try it out soon


Haha, thanks! :) By the way, you cannot try it out as I haven't shared it yet! :P

Demo will be available when the basic gameplay is done.

easy

  • Full Member
  • ***
  • Posts: 146
    • MSN Messenger - easy82.contact@gmail.com
    • View Profile
    • Email
Pacaman [Demo]
« Reply #14 on: September 11, 2011, 08:37:40 pm »
When the game starts, there will be a little demo scene where the basic game elements will be shown. The game title and the menu will be on top of this. I always loved this from the good old Doom era. :D

Okay, but of course the user cannot control pacaman when setting the options or selecting a game type to play, so obviously I needed some basic AI to take control of the main character.

There were already a chasing mechanism for the ghosts, but ghosts should also be able to escape from players, when they use the ring. Escaping is one of the main characteristic of a pacman movement, so to cut it short: I've melted the two AIs into one.

I've captured a video of the welcome-screen, where you'll see there's plenty of room to improve the AI, because currently it isn't a genious... There are evident possibilities he misses, and also makes dumb choises sometimes, but it's funny anyway! :P

Youtube video: