SFML community forums

General => SFML projects => Topic started by: Jycerian on June 12, 2014, 10:11:27 pm

Title: Feedback wanted - Simple Gravity Game.
Post by: Jycerian on June 12, 2014, 10:11:27 pm
SCROLL DOWN


Hi there, yesterday I started working on a new game. Actually my first game I am planning to finish. I would be glad if you guys can give me some feedback.

http://puu.sh/9qHiB/38bc03ce3b.zip

(http://puu.sh/9qGQe/a79ef8bd7f.png)

Click with your left mouse button on the spaceship and drag your mouse in the direction you want the spaceship to move then release your left mouse button to move the spaceship. The more you drag your mouse the faster the spaceship will move.

The goal is to reach the wormhole (square), at the moment it will do nothing but in the future it will bring the player to a different section in space (next level).


Note: I only have just started developing, this program is really minimalisitic.
Title: Re: Feedback wanted - Simple Gravity Game.
Post by: Strelok on June 12, 2014, 10:20:14 pm
GNU/linux binaries? Dragging the mouse and creating a long line doesn't make the spaceship move (running on wine)
Title: Re: Feedback wanted - Simple Gravity Game.
Post by: JuDelCo on June 12, 2014, 10:22:02 pm
How did you that glow effect ? :P
Title: Re: Feedback wanted - Simple Gravity Game.
Post by: Jycerian on June 12, 2014, 10:49:20 pm
GNU/linux binaries? Dragging the mouse and creating a long line doesn't make the spaceship move (running on wine)

Ah, I use Windows 7. Do not really have a clue what to do to make it work on other os's, sorry!.

How did you that glow effect ? :P

Photoshop my friend :)
Title: Re: Feedback wanted - Simple Gravity Game.
Post by: Cirrus Minor on June 13, 2014, 09:27:47 am
Tried with Windows 8.
It's working :)

I've tried (in vain) to reach the square in the bottom-right - it's the goal, isn't it ?
Title: Re: Feedback wanted - Simple Gravity Game.
Post by: Jycerian on June 13, 2014, 10:25:40 am
Tried with Windows 8.
It's working :)

I've tried (in vain) to reach the square in the bottom-right - it's the goal, isn't it ?

Yes that is the goal,  I forgot to mention that haha it is somewhat important :) At the moment it does nothing when you hit the square but I will make it so that it will bring you in a different section in space (next level). Some input would be nice, what do you think about this concept? What cool things would you like to see in this game?
Title: Re: Feedback wanted - Simple Gravity Game.
Post by: MiShu on June 13, 2014, 11:46:59 am
Fun :D
Really hard to catch the ship, u need to extend area for mouse cursor
Waiting for release version  :P
Good luck with ur project
Title: Re: Feedback wanted - Simple Gravity Game.
Post by: Peteck on June 13, 2014, 01:39:08 pm
Sitting here and hitting the wormhole like 10 times, but nothing happens. I then look at your description which then explain my frustration why nothing happens when hitting it  ;D

But fun anyways  :)
Title: Re: Feedback wanted - Simple Gravity Game.
Post by: Jycerian on June 13, 2014, 01:45:43 pm
Fun :D
Really hard to catch the ship, u need to extend area for mouse cursor
Waiting for release version  :P
Good luck with ur project

Thanks for the feedback, that was my plan :).
Just fixed this "issue", not in the download below however.

Just implemented some stuff that would let me create orbits easy. Also I now have the capability for body objects to ignore each other in gravity so that the orbits are nice and round.

Note that I do not have timestep/deltatime/elapsedtime implemented so the speed varies if you drop below 60 fps. Still got to fix that :) This project is young.

Check this out:

http://puu.sh/9rAYg/be6814b66a.zip

(http://puu.sh/9rB8k/ff4d25b3ba.png)

Note: I know the inner body goes a little bit to fast but hey! it is just the beginning.
PS: I managed to hit the wormhole with these crazy orbits! Can you?!
Title: Re: Feedback wanted - Simple Gravity Game.
Post by: ElysianShadow on June 15, 2014, 04:24:31 am
I can imagine this becoming a fun addicting little game  :D any plans on releasing the source code to it? I'm interesting in looking at it  :)
Title: Re: Feedback wanted - Simple Gravity Game.
Post by: Mutoh on June 15, 2014, 10:29:50 am
Ha, neat concept! Though I've seen it before, I'll still compliment on your originality, mainly in regards to the artistic style on how it's so simplistic and effective, reflects well the gameplay.

Did you think about making it so that the player can see what was his last move? Sort of like in Angry Birds, where your last shot is represented by an arc showing how it went. You could make a "hard mode" button that disables it. I just found the first demo kind of frustrating without it, but I eventually made it into the small square in both versions. ;D
Title: Re: Feedback wanted - Simple Gravity Game.
Post by: Xornand on June 15, 2014, 02:19:15 pm
Really fun game, although a bit unforgiving :D I like the clean and minimalistic style. Keep up the good work!
Title: Re: Feedback wanted - Simple Gravity Game.
Post by: Jycerian on June 15, 2014, 11:09:02 pm
I can imagine this becoming a fun addicting little game  :D any plans on releasing the source code to it? I'm interesting in looking at it  :)

Thanks! At the moment I am pretty newbie but yeah when it is done I release the source code. I had a pretty hard time (and still do sort of) starting with sfml and c++ so I can imagine that some source code will be pretty helpful for those interested.

Ha, neat concept! Though I've seen it before, I'll still compliment on your originality, mainly in regards to the artistic style on how it's so simplistic and effective, reflects well the gameplay.

Did you think about making it so that the player can see what was his last move? Sort of like in Angry Birds, where your last shot is represented by an arc showing how it went. You could make a "hard mode" button that disables it. I just found the first demo kind of frustrating without it, but I eventually made it into the small square in both versions. ;D

Thanks for the compliment :) Yeah I plan on making some sort of path which the player has traveled but your idea of showing the last try is a good idea. It is a good sign you did not stop playing even though you were frustrated haha! very nice.

Really fun game, although a bit unforgiving :D I like the clean and minimalistic style. Keep up the good work!

Thanks man! this is only 1-2 days of work so it is not close to being finished. I could probably fix/change the unforgiving thing with the idea posted above you hihi.

Thanks for the feedback guys! Suggestions are always helpful.
Title: Re: Feedback wanted - Simple Gravity Game.
Post by: Jycerian on August 10, 2014, 01:27:19 pm
Download: http://puu.sh/aMnU2/ef533dfe80.rar

This is the menu, most of the text is placeholder and the menu slides left and right: (http://puu.sh/aMo36/d8b7758325.png)

The game, dont look at the art not sure what direction to go (menu or in-game art style)
(http://puu.sh/aMo7O/09a123c922.png)

Game Over:
(http://puu.sh/aMoct/cd27e05011.jpg)

Let me know what you guys think, still need to do a lot more on the level design and create art and decide what music direction to go to!

-Jycerian
Title: Re: Feedback wanted - Simple Gravity Game.
Post by: Codespear on August 10, 2014, 02:38:59 pm
Cool concept. Even without sound it is quite fun to play.
I like it just the way it is; but I'll make a small suggestion for you to consider.  What about starting the rubber line wherever I push LMB, not requiring me to drag it from the launcher every time. I am not sure if this will be better, but it may be worth a try.
Title: Re: Feedback wanted - Simple Gravity Game.
Post by: Jycerian on August 10, 2014, 02:44:12 pm
Cool concept. Even without sound it is quite fun to play.
I like it just the way it is; but I'll make a small suggestion for you to consider.  What about starting the rubber line wherever I push LMB, not requiring me to drag it from the launcher every time. I am not sure if this will be better, but it may be worth a try.

Thanks!, I am not sure that would make things better. For phone's I have to think of an alternative for sure but for the pc I think it is fine because I think if you can drag the line from anywhere it makes things harder like your mind figuring out what angle you need to let go for you to reach the wormhole plus at the moment the longer the line is the more velocity you will have. But thanks for the idea!
Title: Re: Feedback wanted - Simple Gravity Game.
Post by: Ztormi on August 10, 2014, 02:49:34 pm
Nice little game. Going through the levels is mostly just trial and error which is not necessarily a bad thing. As for the music, I think some slower tempo chiptunes might fit the minimalistic style of the game.
Title: Re: Feedback wanted - Simple Gravity Game.
Post by: Codespear on August 10, 2014, 02:58:12 pm
Hmm, I have used the wrong word in my previous comment. Sorry about that.

Instead of:
What about starting the rubber line wherever I push LMB, not requiring me to drag it from the launcher every time.

I wanted to say:
 "What about starting the rubber line whenever I push LMB, not requiring me to drag it from the launcher every time."

So, the rubber band will look the same as it does now.   
Title: Re: Feedback wanted - Simple Gravity Game.
Post by: Jycerian on August 10, 2014, 03:41:27 pm
Hmm, I have used the wrong word in my previous comment. Sorry about that.

Instead of:
What about starting the rubber line wherever I push LMB, not requiring me to drag it from the launcher every time.

I wanted to say:
 "What about starting the rubber line whenever I push LMB, not requiring me to drag it from the launcher every time."

So, the rubber band will look the same as it does now.   

ahhh, yeah that would be cool! thanks!

EDIT: On second thought, it might make the game somewhat easy because you can just keep your cursor at one point, click once. Fail, move the cursor X pixels and click again untill you got it right. uhm :p not sure yet. but thanks for the input.
Title: Re: Feedback wanted - Simple Gravity Game.
Post by: Sub on August 12, 2014, 01:09:44 am
At the very least you should make the hitbox for the ship bigger, as well as make it a bit more obvious that the goal is to click and drag from that ship. 

Either way, this is pretty cool.
Title: Re: Feedback wanted - Simple Gravity Game.
Post by: Hapax on August 12, 2014, 05:21:36 pm
Nice. It's fun :)
Title: Re: Feedback wanted - Simple Gravity Game.
Post by: paupav on August 13, 2014, 11:30:30 am
I wish I had windows so that I could try it. You can always install Ubuntu or Elementary OS you only have to have at least 4 GB of hard disc space and then you just compile same code. If you wanna Elementary OS install new beta release called Elementary OS Freya because it already has SFML 2.1 in its repositories. If you are interested in it you can download it from here:http://elementaryos.org/journal/freya-beta-1-available-for-developers-testers
At the bottom are to torent links. You can always just try any Linux distro without installing. Just prepare DVD/ USB. If you want to use USB you have to install:
http://www.linuxliveusb.com
I'm not sure but I think most of us use Linux, because its easier to get libraries from repositories. And by my small experience its developer environment.
Title: Re: Feedback wanted - Simple Gravity Game.
Post by: TheKingArthur on August 24, 2014, 10:29:36 am
The game is very wonderful ! I like this !
A good idea.
Title: Re: Feedback wanted - Simple Gravity Game.
Post by: Jycerian on October 10, 2014, 06:19:47 pm
Download : http://puu.sh/c6Vgb/0dcedce62e.rar (http://puu.sh/c6Vgb/0dcedce62e.rar)

(http://puu.sh/c6VwS/8ba517e7c1.png)

Let me know what you guys think!
I still need to make all the levels which are saved in the Assets/Levels folder.

*if you are bored you can help me create the 30 levels, you can alter the txt files with numbers from 0-5 and 'p' for player and 'e' for exit*
Title: Re: Feedback wanted - Simple Gravity Game.
Post by: zsbzsb on October 10, 2014, 07:32:32 pm
I tried it  :)   At first it was a little hard, but once I figured it out the levels that are there are quite easy. It is a good concept and I hope you finish it  :D
Title: Re: Feedback wanted - Simple Gravity Game.
Post by: Rosme on October 10, 2014, 08:04:29 pm
The concept is great. Though I find it that sometimes I come close by a pixel or so to the square and it should probably detect that I got to it. But I find the game awesome. It really is a great thing. Keep going!
Title: Re: Feedback wanted - Simple Gravity Game.
Post by: FRex on October 10, 2014, 08:22:59 pm
It's a fun (and old) concept. This makes your game remind me of flash games (a good thing in my eyes).
However:
1. You need a level editor.
2. You need some music and sounds, or at the very least the sounds, maybe http://incompetech.com/music/royalty-free/faq.html and http://www.drpetter.se/project_sfxr.html could help.

Quote
*if you are bored you can help me create the 30 levels, you can alter the txt files with numbers from 0-5 and 'p' for player and 'e' for exit*
I can help you create level editor instead, if you want.
Title: Re: Feedback wanted - Simple Gravity Game.
Post by: achpile on October 10, 2014, 08:42:04 pm
Will be linux version available?   ::)
Title: Re: Feedback wanted - Simple Gravity Game.
Post by: FRex on October 10, 2014, 08:48:27 pm
You can try wine, for me it worked.
Title: Re: Feedback wanted - Simple Gravity Game.
Post by: Jycerian on October 10, 2014, 09:01:43 pm
It's a fun (and old) concept. This makes your game remind me of flash games (a good thing in my eyes).
However:
1. You need a level editor.
2. You need some music and sounds, or at the very least the sounds, maybe http://incompetech.com/music/royalty-free/faq.html and http://www.drpetter.se/project_sfxr.html could help.

Quote
*if you are bored you can help me create the 30 levels, you can alter the txt files with numbers from 0-5 and 'p' for player and 'e' for exit*
I can help you create level editor instead, if you want.

Hey thanks!, it is for my school and it is my first game so sound is not needed at the moment to make this count as my school project but I will add it later when I am a bit better in coding and recode the game already got royality free assets but thanks! :D And I will not focus currently on the level editor as my next game idea is very much like a level editor and the experience that I gain from that I will use to make a level editor for this game in the future :D
Title: Re: Feedback wanted - Simple Gravity Game.
Post by: Jesper Juhl on October 10, 2014, 09:12:36 pm
Check out Tiled (http://www.mapeditor.org/).
Title: Re: Feedback wanted - Simple Gravity Game.
Post by: jraskell on October 24, 2014, 07:21:10 pm
I think it would be nice if the playfield was a bit larger, or if the ship didn't immediately reset once it crossed the window border.  I can understand having to reset at some point if the ship is on an escape path, but the current playfield feels a bit limiting.

Quote
EDIT: On second thought, it might make the game somewhat easy because you can just keep your cursor at one point, click once. Fail, move the cursor X pixels and click again untill you got it right. uhm :p not sure yet. but thanks for the input.

I understand where you're coming from there, but I don't think that's the kind of challenge you should be striving for.  Honestly, I only played the first couple levels because the constant back and forth with the mouse got tedious, and thus lost it's appeal.  Especially with moving planets involved, there's additional timing beyond just where you set the launch.

For additional challenge, keep track of a few basic stats and give people the opportunity to min/max those stats.  A few off the top of my head:

Title: Re: Feedback wanted - Simple Gravity Game.
Post by: Jycerian on November 18, 2014, 12:13:54 pm
For all those who are interested here is my crappy source code of my project: Gravity Surge ;)

https://github.com/Jycerian