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

Author Topic: Freerider  (Read 11071 times)

0 Members and 1 Guest are viewing this topic.

julen26

  • Jr. Member
  • **
  • Posts: 89
    • View Profile
    • http://julen26.blogspot.com
Freerider
« on: January 23, 2013, 02:49:22 pm »
Here I come again with a new game. After releasing Rounded Soccer, I used the same framework to change it a bit and to do this game.



Description
Snowboard style game where you can ride random maps. These random maps are different from each other when selecting different zones on the mountain. Freeride, race and flag modes. After beating any race or flag mode, you can submit your highscore and view it in-game or here.

Used technology
C++ and SFML 2.0.

Platforms
Windows.
Still have to build for linux.

Controls
Move - Arrow Keys
Jump - Space (Only when going forward).
Select zone - Click anywhere on the mountain to select the place where you will ride.

Web & download
Download Freerider.zip (3.23 MB)
Web & Highscore

Videos



Thanks!
« Last Edit: January 23, 2013, 03:01:58 pm by julen26 »

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11032
    • View Profile
    • development blog
    • Email
Re: Freerider
« Reply #1 on: January 23, 2013, 03:40:36 pm »
This looks really nice! Good job! :)

I know it's silly, but I have to ask anyways... were you by any chance a bit inspired by ? ;D
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

julen26

  • Jr. Member
  • **
  • Posts: 89
    • View Profile
    • http://julen26.blogspot.com
Re: Freerider
« Reply #2 on: January 23, 2013, 03:50:28 pm »
This looks really nice! Good job! :)

I know it's silly, but I have to ask anyways... were you by any chance a bit inspired by ? ;D

No, I don't know that game. But,  I was inspired by an old flash game whose name I can't remember. In fact, I took the boarder sprite from it.

Thanks eXpl0it3r

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6287
  • Thor Developer
    • View Profile
    • Bromeon
Re: Freerider
« Reply #3 on: January 23, 2013, 04:32:16 pm »
Nice, I like the landscape and the snow whirling effect! :)

Some features that could be cool: Fullscreen, a rider shadow (static sprite should be enough), maybe a little more variation in the landscape? I don't see what the starting point on the mountain changes. Also, you can't really get fast -- even if there are no obstacles, the rider brakes.
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

julen26

  • Jr. Member
  • **
  • Posts: 89
    • View Profile
    • http://julen26.blogspot.com
Re: Freerider
« Reply #4 on: January 23, 2013, 06:28:33 pm »
You are right Nexus, so I've just increased the speed  ;).
And the rider shadow... I forgot to do it, but anyway I think It would be a bit hard to do. As you have already said, a static sprite should be enough, but wich shape shoud I use? A circle?

Thanks!

Foaly

  • Sr. Member
  • ****
  • Posts: 453
    • View Profile
Re: Freerider
« Reply #5 on: January 23, 2013, 06:30:31 pm »
Cool game! It's a lot of fun.
One thing I would add is a different image, for when the rider jumps, to make it more realistic and noticeable when he's jumping. (may an image of the rider prostrating)

masskiller

  • Sr. Member
  • ****
  • Posts: 284
  • Pointers to Functions rock!
    • MSN Messenger - kyogre_jb@hotmail.com
    • View Profile
    • Email
Re: Freerider
« Reply #6 on: January 23, 2013, 09:05:17 pm »
Quote
but which shape should I use? A circle?

If you use photoshop a single black (or some gray color) overlay and transforming/warping of the original can do well enough.
Programmer, Artist, Composer and Storyline/Script Writer of "Origin of Magic". If all goes well this could turn into a commercial project!

Finally back into the programming world!

julen26

  • Jr. Member
  • **
  • Posts: 89
    • View Profile
    • http://julen26.blogspot.com
Re: Freerider
« Reply #7 on: January 24, 2013, 02:16:48 pm »
Quote
but which shape should I use? A circle?

If you use photoshop a single black (or some gray color) overlay and transforming/warping of the original can do well enough.
I have used photoshop and I've got something better. It's updated.


io

  • Jr. Member
  • **
  • Posts: 52
  • z/OS by day, SFML by night
    • View Profile
Re: Freerider
« Reply #8 on: January 28, 2013, 07:16:28 am »
Fun : o)

I get a crash though a lot of times after it submits to the high score table

Also if I hold down the left mouse button to place the flag and don't let go and shake my mouse for a few seconds I get a crash.

Not quite sure how the point system works either :) (especially on race).

You can get rid of the following two scores if you want -- I was curious and wanted to see the map structure you had on your map file, so I editted it XD.

can remove:
  ==>io   Race   41.2008 s   2245
  ==>io   Race   40.4818 s   764


Good work though!
« Last Edit: January 28, 2013, 07:42:17 am by io »

julen26

  • Jr. Member
  • **
  • Posts: 89
    • View Profile
    • http://julen26.blogspot.com
Re: Freerider
« Reply #9 on: January 28, 2013, 08:25:49 am »
Fun : o)

I get a crash though a lot of times after it submits to the high score table

Also if I hold down the left mouse button to place the flag and don't let go and shake my mouse for a few seconds I get a crash.

Not quite sure how the point system works either :) (especially on race).

You can get rid of the following two scores if you want -- I was curious and wanted to see the map structure you had on your map file, so I editted it XD.

can remove:
  ==>io   Race   41.2008 s   2245
  ==>io   Race   40.4818 s   764


Good work though!

Thanks io, I'll take a look to that crashes. The point system is a bit strange, simply you get more points if there are more obstacles in the map. And you lose points every second passed. So, even if you play a map with few obstacles and ride fast, you won't get many points.

In flag mode, the more flags you complete, the more points you get. And for each flag completed, you get bonus points, but if you fail, the bonus counter will be reseted.

Update:
Fixed the mouse crash, and point system changed on races:
  1st: +400 points
  2nd: +300 points
  3rd: +200 points
  4th: +100 points
  5th: +0 points
« Last Edit: January 28, 2013, 08:58:31 am by julen26 »

io

  • Jr. Member
  • **
  • Posts: 52
  • z/OS by day, SFML by night
    • View Profile
Re: Freerider
« Reply #10 on: January 28, 2013, 09:20:37 am »
Kool -- possibly notify the user of position placed in races too.


I can confirm mouse crash doesn't happen anymore for me.  I also am not getting a crash on submitting high score.

julen26

  • Jr. Member
  • **
  • Posts: 89
    • View Profile
    • http://julen26.blogspot.com
Re: Freerider
« Reply #11 on: January 29, 2013, 09:30:54 am »
Kool -- possibly notify the user of position placed in races too.

Done!  ;)