Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: 2d platform game engine

  1. #1

    2d platform game engine

    Hi guys,
    Since end of September when the 4E6 gamdev competition was announced with the elements (ponies, accountants, explosions, crystals) I was planing to write a 2d platform game.

    I was completely uninspired till I looked at Traveler's 2d platform game tutorials on his site http://www.gameprogrammer.net/index....c16d458d0014b9, and then later on I found some flash tutorials (tile based games) http://www.tonypa.pri.ee/tbw/start.html.

    Thanks to these two sites, I have managed to whip up a proof of concept 2d platform run and jump engine with working ladders and platforms + controllable player, enemy and "bullet" sprite types.

    The graphics are just placeholders at the moment to test things.

    There is no collision between sprites yet though, but I am very pleased that the platforms and ladders are working nicely



    The top middle sprite is the player with some bullets fired in different directions, and the other two sprites are enemies who patrol back and forth - changing direction if they hit a wall or the end of the platform they are on.

    The player can jump around, fire bullets, climb up/down and jump onto ladders, and there is also gravity of course :-)

    cheers,
    Paul.
    Games:
    Seafox


    Pages:
    Syntax Error Software itch.io page

    Online Chess
    http://gameknot.com/#paul_nicholls

  2. #2

    2d platform game engine

    That's great!

    It's nice to see people still have an interest in my tutorials, even though they're quite dated now.
    Anyway, I hope you'll do well in the contest.

  3. #3

    2d platform game engine

    I found a free png of 2d male character outline 'sprites' online here (gamemaker site - can't remember if registration is necessary)

    http://www.yoyogames.com/extras/reso...line_final.png

    I have edited a bunch some of them to create a simple humanoid pony character for my game. It contains a character standing, walking, running, jumping, falling, crouching, and getting up (so far)




    It is a start, at least :-)

    cheers,
    Paul
    Games:
    Seafox


    Pages:
    Syntax Error Software itch.io page

    Online Chess
    http://gameknot.com/#paul_nicholls

  4. #4

    2d platform game engine

    Hi Guys,
    I have uploaded a video of the current work in progress here
    http://fpc4gp2x.eonclash.com/downloa...Pony_Game.html

    which now uses my new humanoid pony sprite animations

    It won't be ready for the gamedev four elements competition, but I am going to try and finish it anyway :-)
    cheers,
    Paul
    Games:
    Seafox


    Pages:
    Syntax Error Software itch.io page

    Online Chess
    http://gameknot.com/#paul_nicholls

  5. #5

    2d platform game engine

    that is not bad at all, nice work

  6. #6

    2d platform game engine

    Yes, really nice Love the sliding when he stops walking
    <a href="http://www.greatgamesexperiment.com/game/Valgard/?utm_source=gge&amp;utm_medium=badge_game"><img border="0" alt="GGE" title="GGE" src="http://static.greatgamesexperiment.com/badge/game/valgard/gge400x56.png"></a>

  7. #7

    2d platform game engine

    Quote Originally Posted by Huehnerschaender
    Yes, really nice Love the sliding when he stops walking
    Thanks
    I made it so he slides only when running, adds a bit of interest


    cheers,
    Paul
    Games:
    Seafox


    Pages:
    Syntax Error Software itch.io page

    Online Chess
    http://gameknot.com/#paul_nicholls

  8. #8

    2d platform game engine

    Hi Everyone,
    I have uploaded the work in progress as a playable demo here http://fpc4gp2x.eonclash.com/downloa...yRebellion.zip

    It would be great if people could try it out to see if it is at least playable on their windows machine - I am trying to make it work so far on as many different windows machines as possible.

    It uses SDL for the window/input and OpenGL for the output.

    Keys are

    Keys:

    Code:
    Up           = Jump or climb
    down       = crouch
    Left/Right = move left/right
    left Shift   = Run instead of walk &#40;will slide to a stop if running and you stop left/right keys&#41;
    F             = fire
    The moving platforms are ignored in collisions at the moment as I am trying to get them working correctly.
    You can shoot, but there is nothing to shoot at the moment :-)

    All I am interested in is if the character is playable.

    Comments are welcome, but don't forget it is a concept test at the moment :-)

    Can people post their machine specs if they have troubles?

    Thanks for your time :-)

    cheers,
    Paul.
    Games:
    Seafox


    Pages:
    Syntax Error Software itch.io page

    Online Chess
    http://gameknot.com/#paul_nicholls

  9. #9

    2d platform game engine

    coming along really nice, character artwork is good and the slide to stop when running is great feature, will this be screen swap based or scrolling platformer ?

  10. #10

    2d platform game engine

    Quote Originally Posted by Memphis
    coming along really nice, character artwork is good and the slide to stop when running is great feature, will this be screen swap based or scrolling platformer ?
    Thanks for the nice comments Memphis!

    It is going to be a scrolling platformer in the final product, with the view window following the character around - the single screen is just for the test :-)

    cheers,
    Paul
    Games:
    Seafox


    Pages:
    Syntax Error Software itch.io page

    Online Chess
    http://gameknot.com/#paul_nicholls

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •