SFML community forums

General => SFML projects => Topic started by: santiaboy on March 26, 2013, 02:04:22 am

Title: Plataforma - ALL ABOUT CUSTOMIZATION
Post by: santiaboy on March 26, 2013, 02:04:22 am
(http://santiaboy.com/wp-content/uploads/2014/03/logo.png)
Plataforma is a platformer game that lets you create your own characters, levels and be playing them right away.

You can modify Plataforma to make it your game. It is free and available in Desura for Windows and Ubuntu 12.04 LTS 64 bits. Click here (or the button below) to go to the Desura page, where you can download it.

(http://button.desura.com/popularity/medium/games/27067.png) (http://www.desura.com/games/plataforma)

Creating is easy
(http://santiaboy.com/wp-content/uploads/2014/03/Promotional-image-1-300x168.png) (http://santiaboy.com/creating-characters-and-sprite-sheets/)

You can use your tool of preference, but I recommend using Inkscape (http://inkscape.org/) for characters and sprite sheets, and Tiled (http://inkscape.org/) for levels. I made tutorials in .txt format, which are included in the game download, as well as video tutorials explaining how to make levels, characters and sprite sheets. Currently, they have Spanish audio and English subtitles. Also, I started making online tutorials (http://santiaboy.com/category/plataforma/tutorials/) on the official website (http://santiaboy.com). These tutorials include images to make creating even easier for you!

How can you contribute to the game?
(http://santiaboy.com/wp-content/uploads/2014/03/Promotional-image-2-300x168.png)

I hope you enjoy the game!

Hungry for more?
(http://santiaboy.com/wp-content/uploads/2014/03/Promotional-image-3-300x168.png)
http://www.youtube.com/watch?v=2_PNpLoY15Q
Title: Re: Platform - The simple platformer game
Post by: Gobbles on March 26, 2013, 02:42:00 am
Video is private  ;) but looks good, keep up the good work!
Title: Re: Platform - The simple platformer game
Post by: santiaboy on March 26, 2013, 03:51:13 am
Thanks, I modified to "public".

I know it's a long way, but to see what I accomplished in so little time, is very rewarding.
Title: Re: Platform - The simple platformer game
Post by: Gobbles on March 26, 2013, 04:08:04 am
Excellent, much better.

Just gave the game a try.

Overall the controls are great, however one thing bothered me. When you jump up against a wall you seem to 'stick' to it, kind of super meat boy fashion, however it seems to reset your jump press. So for instance if you jump up a block and are still holding the jump button you will do another rapid jump at the top. Not sure if this is designed this way or a bug but it killed me more then once :(

You have a great game in the making going on, keep it up!
Title: Re: Platform - The simple platformer game
Post by: santiaboy on March 26, 2013, 04:19:43 am
It's a known bug. It happens because of how I wrote the collision detection, I wanted to re-write it but I had some more important things (such as the English language support), and to be honest, didn't think it would be detrimental to gameplay. I'll try to change it for the 1.0 release.

Thanks for trying the game, Gobbles :)
Title: Re: Platform - The simple platformer game
Post by: Grimshaw on March 26, 2013, 04:34:40 am
I also tried your game and it looks very good!! I found it polished enough to actually captivate my attention for a while!! Keep going because you re in the right track :D
Title: Re: Platform - The simple platformer game
Post by: exafi on March 27, 2013, 06:20:36 pm
Se ve bien =D

it is look good
Title: Re: Platform - The simple platformer game
Post by: santiaboy on March 27, 2013, 10:53:24 pm
Thanks to both of us!

If anyone is interested the issue/bug that Goobles encountered is due to handling the collision when the character intersects a solid tile, and it is beneath it. What I did was to set the y velocity to 0, but as it caused trouble I'm trying to make a better solution.
Also, I'm working on polishing the code, and looking into pointers to functions, to methods, etc, so I can make some buttons classes and make it more appealing to the look.

Last thing: did any of you noticed that you can look whats below you by holding the down arrow key? I didn't put that on the Help>controls, as I thought that might be some "instictive thing", like I press down so I look down.
Title: Re: Platform - The simple platformer game
Post by: datMoka on March 30, 2013, 11:28:19 am
It's a good game; oddly captivating as well :)

One thing I would do it to add more of the 'skill jumps'.
(http://puu.sh/2qBZK/e4ebcfaa1e)
Like this jump to the right. I think it would make the game a lot harder if there were a few variants of skill jumps that require a certain movement path
Title: Re: Platform - The simple platformer game
Post by: santiaboy on March 30, 2013, 10:53:19 pm
Thanks for playing it, and for the input! :)

I thought of adding more skill jumps, and there will be with the release some with the new levels. Right now I'm designing a settings loader/saver and the possibility to enable and disable vertical sync, so a new set of levels might not appear with the next update.
Title: Re: Platform - The simple platformer game
Post by: AFS on April 02, 2013, 02:43:51 am
I know it's a long way, but to see what I accomplished in so little time, is very rewarding.

Indeed. That's a damn good job for being made in only a month. Congrats!
Title: Re: Platform - The simple platformer game
Post by: aratnon on April 06, 2013, 04:12:28 am
Could you teach me how to make player jump ?
Title: Re: Platform - The simple platformer game
Post by: santiaboy on April 06, 2013, 05:21:24 am
In the game? press Space
Title: Re: Platform - The simple platformer game
Post by: aratnon on April 06, 2013, 05:43:54 am
No, I mean the implementation of the code.
Title: Re: Platform - The simple platformer game
Post by: santiaboy on April 06, 2013, 06:12:33 am
Do you have your character moving on screen? How did you do that? using acceleration?

Try to make him move upwards but on every "refresh" (every tick, every time it loops, or however you call it) gravity pulls him down. It's easy to think about it if you have some physics knowledge.  :)
Title: Re: Platform - The simple platformer game
Post by: datMoka on April 06, 2013, 03:29:11 pm
No, I mean the implementation of the code.

Do you have your character moving on screen? How did you do that? using acceleration?

Try to make him move upwards but on every "refresh" (every tick, every time it loops, or however you call it) gravity pulls him down. It's easy to think about it if you have some physics knowledge.  :)

Say you used frame rate to continually move the character left and right by using setPosition what you'd want to do is when the player jumps, decrease the amount they move (speed) each time the jump loop goes around. This will continue until you reach the peak of their jump; this is where the movement factor reaches 0 and then starts to delve into the negatives which will bring the player back down to earth.

          0
        1 -1
      2     -2
    3         -3        <--basic little demonstration where the numbers equal the speed of the character
  4             -4
5                 -5

This is a basic theory of implementing gravity into the game; hope this helps a little :)
Title: Re: Platform - The simple platformer game
Post by: santiaboy on April 06, 2013, 04:37:04 pm
What datMoka said is correct. However, remember that the Y axis is "flipped" in computer graphics. So if you want to go upwards, the speed is negative and viceversa.

If you didn't understand what we said, I'm pretty sure there are tons of jump implementations on the internet. Google is your friend.
Title: Re: Platform - The simple platformer game
Post by: santiaboy on April 08, 2013, 02:48:16 am
Platform - VERSION 0.9

What's new?
New settings loader and saver!
New in-game settings menu

Bug control:
Fixed the bug where your jump would reset if you were pressed against a wall (Thanks Gobbles!)

Donwload link (Only windows OS for now)(~12MB): http://www.mediafire.com/?t93x7xauupxkdjs
Title: Re: Platform - The simple platformer game
Post by: N1ko on April 09, 2013, 06:25:43 pm
Good job, I played through it and it was alright, the gameplay felt fluid other than the stick to wall bug (that you seem to have fixed now but I used to download link from the OP).

Obviously a WIP but so far so good.
Title: Re: Platform - The simple platformer game
Post by: santiaboy on April 21, 2013, 10:26:51 pm
I'm glad you liked it ;D

New version! 1.0 RC
The Whole game(12MB only windows): http://www.mediafire.com/?4db266hs684whma
Update from 0.9 to 1.0 RC(448KB): http://www.mediafire.com/?5o5xdw2co3yul81

What's new?
Five new levels! (What goes up... set)
Improved the settings saver/loader.
You can now choose to show or hide the FPS.
Accent support (á, é, ö, etc).
German translation! (Thanks AlexAUT)
Small changes to the existing levels (to make them more fair)
Lots of change behind curtains, such as elminating all the "using namespace sf", and making everything more efficient.

As always, enjoy! :)
Title: Re: Platform - The simple platformer game
Post by: AlexAUT on April 23, 2013, 02:05:26 pm
Love the new Levels  ;D Can't wait for more...

Do you use an editor to create the levels or do you hardcode them?



AlexAUT
Title: Re: Platform - The simple platformer game
Post by: santiaboy on April 23, 2013, 07:56:09 pm
I'm glad you liked them ;D

I use Tiled to help me, but I am using a custom loader, as I don't need most of the stuff Tiled gives.
Title: Re: Platform - The simple platformer game
Post by: santiaboy on April 24, 2013, 03:23:09 am
I realized that was a poor explanation, what I do is this: I have the sprite sheet.png (you can view this in "recursos/imagenes" folder) and I load it on Tiled. I use Tiled to create the map, and then export it to .txt. Afterwards, I delete some things (like headers for example) that are present on the exported .txt, but I don't want and therefore my custom loader doesn't recognize.

The tiles(rectangleShape) are loaded (tile size is dependant of the game resolution) one by one, and then I apply the correspondent sf::Texture to each. Actually, it's the same texture (the sprite sheet) but rectanlgeShape has a method (setTextureRect) that lets me grab only a portion of the sprite sheet.

Unfortunately, there's a bug (I think it's related to the sf::view, and not the sf::rectangleShape) where one line of pixels will load wrong, and so you end up with a line of wrong pixels on your texture. This is a known issue and they will fix it (I hope) for SFML 2.X. In other words, won't be fixed for SFML 2.0
Title: Re: Plataforma - ALL ABOUT CUSTOMIZATION
Post by: santiaboy on November 22, 2013, 01:26:53 am
Hey guys, it's been a while!

Plataforma got approved on Desura! http://www.desura.com/games/plataforma

I modified the first post to include the most important info. If you have any question about the game post it below and I'll try to answer it!
Title: AW: Plataforma - ALL ABOUT CUSTOMIZATION
Post by: eXpl0it3r on November 22, 2013, 02:24:28 am
Nice!
Will make sure to grab a copy! :)
Title: Re: Plataforma - ALL ABOUT CUSTOMIZATION
Post by: The Illusionist Mirage on November 22, 2013, 06:57:43 am
Nice game :)

Is it opensource?
Title: Re: Plataforma - ALL ABOUT CUSTOMIZATION
Post by: santiaboy on November 22, 2013, 03:34:25 pm
Thanks!

Not for the moment. I thought about making it open source, but between the poorly commented code, and the fact that the variable/method names are in spanish, I don't think is a good idea.

However, if you have any doubts about how I made something in particular(map loader, settings loader, etc etc), let me know and I'll answer!
Title: Re: Plataforma - ALL ABOUT CUSTOMIZATION
Post by: santiaboy on November 27, 2013, 05:55:31 pm
Hey guys!

A big important aspect of Plataforma is its customization. That's why I made a few videos explaining how to edit and create levels, characters, and sprite sheets. They have SPANISH audio, but ENGLISH subtitles. You can activate de subtitles, by activating CC.

Levels
http://www.youtube.com/watch?v=KCii-CfnAdw&list=SPwC7J3kDJcx7kFOrwoBbLvAJ0hsSuW7de&index=1

Characters/Sprite sheets
http://www.youtube.com/watch?v=deoGwW_Xffs&list=SPwC7J3kDJcx7kFOrwoBbLvAJ0hsSuW7de&index=1

If you want to know what I made to make it work, let me know and I'll try to explain it to you!

Cheers
Title: Re: Plataforma - ALL ABOUT CUSTOMIZATION
Post by: santiaboy on December 12, 2013, 12:04:59 am
Hey guys, I just started a Devlog!

What's this devlog about?
I am planning to make a series of Devlogs where I talk about Plataforma, what changed I've made, and what's coming.

What's this episode about?

In the first episode I talk about Puzzles pack and changing the way the camera moves. I show a few puzzles levels I made. Also, I've made a few aesthetic changes to the menus.

You can watch it embedded here:
 http://www.youtube.com/watch?v=myDF5a1SiQU

How can I contribute to the game?


If you made a cool looking character, a fancy level, or a hefty sprite sheet, you are more than welcome to post it on the forums: http://www.desura.com/games/plataforma/forum

(http://media.indiedb.com/images/articles/1/146/145508/auto/btn_donate_LG.gif) (https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=WEGFE5P27WUE6)

Please note that Plataforma is free, and will continue to be free. I'd appreciate if you could send a buck or two, as it helps me to continue focusing on Plataforma.

I hope you enjoy both the game and the devlog!
Title: Re: Plataforma - ALL ABOUT CUSTOMIZATION
Post by: santiaboy on January 31, 2014, 09:01:32 pm
Oh boy, forgot to update this ;D

I continued making the devlog, below there's #2 and #3. What changed? New music, all the high score implementation, new jump sound, aaand a cool intro.

http://www.youtube.com/watch?v=C1SYrgSDbq8

http://www.youtube.com/watch?v=L01aXwGzkMw

How can I contribute to the game?


If you made a cool looking character, a fancy level, or a hefty sprite sheet, you are more than welcome to post it on the forums: http://www.desura.com/games/plataforma/forum

(http://media.indiedb.com/images/articles/1/146/145508/auto/btn_donate_LG.gif) (https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=WEGFE5P27WUE6)

Please note that Plataforma is free, and will continue to be free. I'd appreciate if you could send a buck or two, as it helps me to continue focusing on Plataforma.

I hope you enjoy both the game and the devlog!
Title: Re: Plataforma - ALL ABOUT CUSTOMIZATION
Post by: santiaboy on March 14, 2014, 05:47:26 pm
GOOD NEWS EVERYONE!
Plataforma has its very own website! http://santiaboy.com/

Also, Devlog #4 is out. I wrote an article, which has the video embedded and all the cool links: http://santiaboy.com/devlog-4-plataforma-wants-you/

To finish it, I re-made the first post, and it looks really cool ;)