Hacking Progress

Added by John Lyon 176 days ago

I've been hacking on my own in Python + Pygame, and now have a primitive player sprite and controls working. The player can jump and will fall right off the screen as he doesn't collide with anything.

The next tasks I will be working on:

  • A Level class, which for now will be a single screen (i.e. no scrolling) and loads the level layout from a text file. The benefits of doing this with a text file:
    1. It's not as verbose as XML
    2. It allows a level editor to be written to output files in this format
    3. It's simple
    4. levels can be hand crafted / tweaked if necessary.
  • Collisions, at first just getting the Player to collide with the ground after a jump so he doesn't fall off screen
  • Scrolling background - this is potentially impossible to do smoothly in pygame, in which case we can look at pyglet et. al.
  • Enemies - can be static at first, then add movement and attacks
  • Add attacks to Player class and regognise hits on enemies and vice versa
  • Animation - sprite based movement animation for Player, first of all.

Any suggestions for file format for levels would be appreciated. Anyone that wants to help hacking, fork my repo at http://github.com/jozzas/Machine, have a go and issue me a pull request. If you want to, add a task to our "Issues" tracker so I know you're working on it.

Cheers,

- John


Replies

RE: Hacking Progress - Added by Jordan Applewhite 175 days ago

Hey Jozzas. Great to hear you're trying to start things back up. As far as I knew this project was dead. Doing some work in Python and Pygame is a step in the right direction. Supposedly pygame is too slow for what we're doing, but I'm subscribed to their mailing list and several people have mentioned how they got a flicker-free scrolling tilemap, so I think we can get some stuff done. Stay in touch and hassle me if I get distracted, ok?

RE: Hacking Progress - Added by Jordan Applewhite 175 days ago

I think you should remove the BaconEngine stuff from your branch so it's clear what the active code is.

RE: Hacking Progress - Added by Jamal Fanaian 174 days ago

Hi there,

Thanks so much for posting this. I do agree agree with Jordan, I was confused as to where the active code was. I guess I could have looked at the git log, now that I think of it.

I have not worked with pygame before, but I will start looking through your progress and see where I can help out.

Thanks for the updates!

RE: Hacking Progress - Added by John Lyon 174 days ago

Jordan: Will do, good idea to archive off the baconengine stuff. Jamal, cheers! Feel free to ask questions here or on IRC, I'm normally idling so I can see what people have been up to :)

RE: Hacking Progress - Added by John Lyon 173 days ago

I've created these tasks in the tracker(http://redmine.redditmakesagame.org/projects/rmagmachine/issues), please assign them to yourselves if you're working on them so we aren't duplicating our efforts! Feel free to add more tasks if you're working on something else.