Any one up for a practice pygame project.

Any one up for a practice pygame project.

Postby DrakeMagi » Tue Jun 25, 2013 10:52 pm

1. git is a requirement.
2. open source tools only.

making our own sad graphics
learning to program as a team.
2 heads are better then 1.

okay I'm new to git and github myself. I have below average artwork.
I just like playing around with programming.

projects ideas needed and vote on.

plant vs zombie like game.
Linux: won't find windows here.
Linux: the choice of a GNU generation.
https://github.com/DrakeMagi
DrakeMagi
 
Posts: 113
Joined: Sun May 12, 2013 8:36 pm

Re: Any one up for a practice pygame poroject.

Postby metulburr » Tue Jun 25, 2013 11:15 pm

after attempting to come up with ideas of:
gorillas
missile command
risk

I would actually vote on none of mine and vote on plants vs zombies

Would we really have to come up with our own artwork? Couldn't we just steal images? I mean maybe not directly from the actual game but our images would look like hell.
New Users, Read This
OS Ubuntu 14.04, Arch Linux, Gentoo, Windows 7/8
https://github.com/metulburr
steam
User avatar
metulburr
 
Posts: 1499
Joined: Thu Feb 07, 2013 4:47 pm
Location: Elmira, NY

Re: Any one up for a practice pygame poroject.

Postby Yoriz » Tue Jun 25, 2013 11:53 pm

Might be able to make use of these graphics
New Users, Read This
Join the #python-forum IRC channel on irc.freenode.net!
Image
User avatar
Yoriz
 
Posts: 1019
Joined: Fri Feb 08, 2013 1:35 am
Location: UK

Re: Any one up for a practice pygame poroject.

Postby metulburr » Wed Jun 26, 2013 12:32 am

New Users, Read This
OS Ubuntu 14.04, Arch Linux, Gentoo, Windows 7/8
https://github.com/metulburr
steam
User avatar
metulburr
 
Posts: 1499
Joined: Thu Feb 07, 2013 4:47 pm
Location: Elmira, NY

Re: Any one up for a practice pygame poroject.

Postby metulburr » Wed Jun 26, 2013 1:27 am

Does anyone like artwork and be willing to participate? This is what happens when a programmer tries to do the artwork of a peashooter, lmao http://draw.to/D1tigkf
New Users, Read This
OS Ubuntu 14.04, Arch Linux, Gentoo, Windows 7/8
https://github.com/metulburr
steam
User avatar
metulburr
 
Posts: 1499
Joined: Thu Feb 07, 2013 4:47 pm
Location: Elmira, NY

Re: Any one up for a practice pygame poroject.

Postby Mekire » Wed Jun 26, 2013 1:42 am

I do some occasional amateurish pixeling. When possible I get those better at it to do it for me.
http://mekire.deviantart.com/gallery/37159050
The worm is supposed to eventually be the protag in the platformer I'm working on.
Not sure if I would have much time for a collab or not though.

-Mek
User avatar
Mekire
 
Posts: 1010
Joined: Thu Feb 07, 2013 11:33 pm
Location: Amakusa, Japan

Re: Any one up for a practice pygame poroject.

Postby metulburr » Wed Jun 26, 2013 1:55 am

wow thats really good
New Users, Read This
OS Ubuntu 14.04, Arch Linux, Gentoo, Windows 7/8
https://github.com/metulburr
steam
User avatar
metulburr
 
Posts: 1499
Joined: Thu Feb 07, 2013 4:47 pm
Location: Elmira, NY

Re: Any one up for a practice pygame poroject.

Postby DrakeMagi » Wed Jun 26, 2013 2:59 am

Mekire is 100 times better then me.
I like the worm.

I don't think i could do pixel art.
I been playing with blender.
Linux: won't find windows here.
Linux: the choice of a GNU generation.
https://github.com/DrakeMagi
DrakeMagi
 
Posts: 113
Joined: Sun May 12, 2013 8:36 pm

Re: Any one up for a practice pygame poroject.

Postby metulburr » Wed Jun 26, 2013 9:57 pm

if going with plants vs zombies clone, we should make a repo on github as a starting point
New Users, Read This
OS Ubuntu 14.04, Arch Linux, Gentoo, Windows 7/8
https://github.com/metulburr
steam
User avatar
metulburr
 
Posts: 1499
Joined: Thu Feb 07, 2013 4:47 pm
Location: Elmira, NY

Re: Any one up for a practice pygame poroject.

Postby Yoriz » Wed Jun 26, 2013 10:12 pm

I used to play around with blender but have not done so in years.
My username on the blender forum is Hazza.
Here is a link to to my stuff on the blender forum if your bored.
http://blenderartists.org/forum/search.php?searchid=481619

P.s. sorry for going a bit off topic, i'll delete this post if you dont want it here
New Users, Read This
Join the #python-forum IRC channel on irc.freenode.net!
Image
User avatar
Yoriz
 
Posts: 1019
Joined: Fri Feb 08, 2013 1:35 am
Location: UK

Re: Any one up for a practice pygame poroject.

Postby Hypernova » Thu Jun 27, 2013 10:14 am

I'm an artist and animator. I'm still learning python but would like to help with programming if there's anything I could code with an appropriate level of difficulty. What time frame would you be looking at to develop a game over? I ask because I already have several non-programming related projects that im working on over summer, but would like to help as much as I could here and there.

Here's my blog http://james-fitzpatrick.blogspot.co.uk/
Hypernova
 
Posts: 18
Joined: Mon Jun 10, 2013 12:23 am

Re: Any one up for a practice pygame poroject.

Postby DrakeMagi » Thu Jun 27, 2013 3:08 pm

Time frame really depends on 2 things. How Complex the game is going to be and the number of developers.

if the project goes forward with plant vs zombies maybe up to 1 year.
depends how active we are.

personal I just want to see how well people can work together.
since all good games come from multi programmers teams.
I know we need to come up with some rules for we don't conflict with each other.
like working_on.txt letting people know what you doing
a to_do list to let people know what they can do.
Linux: won't find windows here.
Linux: the choice of a GNU generation.
https://github.com/DrakeMagi
DrakeMagi
 
Posts: 113
Joined: Sun May 12, 2013 8:36 pm

Re: Any one up for a practice pygame poroject.

Postby metulburr » Thu Jun 27, 2013 3:20 pm

I know we need to come up with some rules for we don't conflict with each other.
like working_on.txt letting people know what you doing
a to_do list to let people know what they can do.

github would make this process simple.

One of us can create a repo, (i guess it doesnt really matter who), then of who all wants to contribute, that person make a contributor to that repo so they can modify and whatnot, or if there are going to be a lot of itchy trigger finger folks, instead of making eveyone a contributor, doing just pull requests.

But then everyone would also need to know git, or at least learn enough to do the basics.
New Users, Read This
OS Ubuntu 14.04, Arch Linux, Gentoo, Windows 7/8
https://github.com/metulburr
steam
User avatar
metulburr
 
Posts: 1499
Joined: Thu Feb 07, 2013 4:47 pm
Location: Elmira, NY

Re: Any one up for a practice pygame poroject.

Postby metulburr » Thu Jun 27, 2013 3:32 pm

something of a guideline i guess
https://github.com/metulburr/Plants-VS-Zombies

I dont know if you want to use this or not, but if so, i made Yoriz, DrakeMagi, and Mekire collaborators
New Users, Read This
OS Ubuntu 14.04, Arch Linux, Gentoo, Windows 7/8
https://github.com/metulburr
steam
User avatar
metulburr
 
Posts: 1499
Joined: Thu Feb 07, 2013 4:47 pm
Location: Elmira, NY

Re: Any one up for a practice pygame poroject.

Postby DrakeMagi » Thu Jun 27, 2013 4:18 pm

As i understand programming with a team is all about communication.
I know i lack in communication skills.
something I'm working on.

Now what frameworks are we going to use.
I just don't like all the code ending up in 1 class.

also like couple new plants if possible.
maybe a tomato slinger.
Linux: won't find windows here.
Linux: the choice of a GNU generation.
https://github.com/DrakeMagi
DrakeMagi
 
Posts: 113
Joined: Sun May 12, 2013 8:36 pm

Re: Any one up for a practice pygame poroject.

Postby metulburr » Thu Jun 27, 2013 4:30 pm

As i understand programming with a team is all about communication.
I know i lack in communication skills.
something I'm working on.

+1

Now what frameworks are we going to use.
I just don't like all the code ending up in 1 class.

I left it all blank cause i wasnt sure where to start. But i didnt think we were going to throw everything in one class anyways. I assumed we would have at least / or could at least start with: control class, plant class, environment class (day/night cycles)

also like couple new plants if possible.
maybe a tomato slinger.

awesome! Im not usre right now of anything to add, but i am sure i would come up with ideas while programming.


Regarding github or an repo for that matter, i am not sure of the process of numerous programmers. I know a git pull updates/downloads the latest, but i have always done that knowing that the latest was my last push to the repo. So not sure what happens when numerous programmers start pushing and pulling and maybe at the same time. Maybe micseydel can shed some light on it, he appears to know git better than most.
New Users, Read This
OS Ubuntu 14.04, Arch Linux, Gentoo, Windows 7/8
https://github.com/metulburr
steam
User avatar
metulburr
 
Posts: 1499
Joined: Thu Feb 07, 2013 4:47 pm
Location: Elmira, NY

Re: Any one up for a practice pygame poroject.

Postby metulburr » Thu Jun 27, 2013 5:08 pm

I added data directory with main as the control class, and then a start script. I did make an images directory, but i guess it doesnt push it if there is nothing in there.

For the start script , i am use to python3.x, in which
Code: Select all
from data.main import Control

works no problem. apparently that does not work also in 2.x, so to execute in both 3 and 2, i appended the path to sys
New Users, Read This
OS Ubuntu 14.04, Arch Linux, Gentoo, Windows 7/8
https://github.com/metulburr
steam
User avatar
metulburr
 
Posts: 1499
Joined: Thu Feb 07, 2013 4:47 pm
Location: Elmira, NY

Re: Any one up for a practice pygame poroject.

Postby ChristianCareaga » Thu Jun 27, 2013 5:13 pm

I noticed that you guys made a repo so i came back to the forum to find the source of it all

and i guess i found it !

why dont you guys do an original game or is it just gonna be like PvZ but differnt

anyway i think its pretty cool cant wait to see the finished result!
ChristianCareaga
 
Posts: 52
Joined: Sat Jun 22, 2013 9:54 am

Re: Any one up for a practice pygame poroject.

Postby DrakeMagi » Thu Jun 27, 2013 6:00 pm

I'm just use to this.
Code: Select all
import pygame
pygame.init()
   
class cHandle(object): pass

# polymorph class
class Page(object):
   handle = cHandle()
   
   def Entrance(self):
      pass
      
   def Exit(self):
      pass
      
   def Blit(self, surface):
      pass
      
   def Event(self, event):
      pass

   def Update(self, tick):
      pass
      
   @property
   def Handle(self):
      return Page.handle
         
# handle window and page flipping
class Handler(object):
   def __init__(self, caption, width, height, flags = 0, depth=0 ):
      self.screen = pygame.display.set_mode( (width, height), flags, depth )
      pygame.display.set_caption( caption )

      self.clock = pygame.time.Clock()
      self.fps = 60
      
      self.__current_page = None
      self.__new_page = None
      
      self.Pages = {}
      Page.handle.Pages = self.Pages
      Page.handle.SetPage = self.SetPage
      Page.handle.GetSize = self.GetSize
      Page.handle.GetRect = self.GetRect
   
   def GetSize(self):
      return self.Screen.get_size()
      
   def GetRect(self):
      return self.Screen.get_rect()
      
   def SetPage(self, name):
      self.__new_page = self.Pages[name]

   def Loop(self):
      running = True;
      
      while(running):
         if self.__new_page is not None:
            if self.__current_page is not None:
               self.__current_page.Exit()
            self.__current_page = self.__new_page
            self.__current_page.Entrance()
            self.__new_page = None
            pygame.event.clear()
            
         for event in pygame.event.get():
            if event.type == pygame.QUIT:
               running = False
                  
            elif self.__current_page is not None:
               self.__current_page.Event(event)
         
         if self.__current_page is not None:
            self.__current_page.Blit(self.screen)
            tick = pygame.time.get_ticks()
            self.__current_page.Update(tick)
            
         pygame.display.flip()
         self.clock.tick(self.fps)
      pygame.quit()


How do you handle intro, game, pause and etc in a control class ?
they all have different events and drawing.
Linux: won't find windows here.
Linux: the choice of a GNU generation.
https://github.com/DrakeMagi
DrakeMagi
 
Posts: 113
Joined: Sun May 12, 2013 8:36 pm

Re: Any one up for a practice pygame poroject.

Postby metulburr » Thu Jun 27, 2013 6:48 pm

why dont you guys do an original game or is it just gonna be like PvZ but differnt

I believe the goal is to learn to program and communicate with others. I think a game mimic with a little change here and there would make a good initial game for us. I think it would be cool to do an original game, but i think that will add to the confusion of things. Maybe others disagree?

How do you handle intro, game, pause and etc in a control class ?

well i havent yet made a fully fledged game with an intro, menu, game, pause, and all, but from what i have done, it seemed all possbile with flags. I dont know, maybe you have done more than i have to the point where i dont know that it would be easier to do X, and im sitting here wondering why your doing X in the first place. But not sure, Mekire i know uses the Control class style, I am not sure how he handles such events.

for example:
Your Handler is pretty much identical to my Control class, but what is the Page class? and page flipping? Is this where all you blits, events, updates, the entrance of the game, and exit of the game connect at?
New Users, Read This
OS Ubuntu 14.04, Arch Linux, Gentoo, Windows 7/8
https://github.com/metulburr
steam
User avatar
metulburr
 
Posts: 1499
Joined: Thu Feb 07, 2013 4:47 pm
Location: Elmira, NY

Next

Return to Game Development

Who is online

Users browsing this forum: No registered users and 2 guests