OrcaCat wrote:
I've never figured out how to do
repeat (10) do stuffin Python
for i in range(10):
pass # do stuff
OrcaCat wrote:
Actually, I think there is a glitch in Pygame...
Code:
Traceback <most recent call last>: File "C:\Python25\pygametest.py", line 4, in <module> import pygame, sys ImportError: Bad magic number in C:\Python25\pygame.pyc
I'm pretty sure that means you're using different versions of Python (eg. you're trying to use Pygame for Python 2 with Python version 3, or vice versa) — or possibly that you have the wrong architecture (eg 32-bit vs 64-bit).
Last edited by blob8108 (2012-12-23 12:22:35)
Offline
Which download of Pygame should I choose for Python 3.2?
Offline
I've no idea what version of pygame i've got. I'll have a look.
Offline
OrcaCat wrote:
Which download of Pygame should I choose for Python 3.2?
The one that corresponds with your version of Python — for example, "pygame-1.9.2a0.win32-py3.2.msi" for Windows.
Honestly, though, you're probably better off using Python 2.7 with Pygame — I think it's better supported iirc.
Offline
blob8108 wrote:
OrcaCat wrote:
Which download of Pygame should I choose for Python 3.2?
The one that corresponds with your version of Python — for example, "pygame-1.9.2a0.win32-py3.2.msi" for Windows.
Honestly, though, you're probably better off using Python 2.7 with Pygame — I think it's better supported iirc.
I DID download that version--however, it says there is no module named "locals". I'll get python 2.7 then.
Offline
Yay! I drew a rectangle on pygame! It actually worked!
This may sound silly to all you experienced people, but i really am a beginner.
I also did a triangle and a multicoloured ellipse.
Offline
Okay, I got Pygame to work.
EDIT:
Never mind, I got this error
Traceback (most recent call last): File "C:/Python27/pygametest.py", line 18, in <module> screen.blit(background, (0,0)) NameError: name 'background' is not defined
even though in my program it says
backgroud=pygame.image.load(bif).convert()
Last edited by OrcaCat (2012-12-26 14:28:10)
Offline
I haven't got onto loading images yet.
Sorry.
Offline
OrcaCat wrote:
Code:
backgroud=pygame.image.load(bif).convert()
You misspelt "background".
Last edited by blob8108 (2012-12-27 09:25:32)
Offline
blob8108 wrote:
OrcaCat wrote:
Code:
backgroud=pygame.image.load(bif).convert()You misspelt "background".
Lol!!!!
EDIT:
Yay, it works now.
EDIT: You misspelled "misspelled". LOL
Last edited by OrcaCat (2012-12-29 21:38:15)
Offline
I discovered a huge error in Pygame, and have developed a dislike for it...
Resizable windows are nearly impossible and crash. :oooo
I recently discovered Pyglet, which I use mainly now, since window resizing is super easy and is bug-free, and very controllable. It runs on OpenGL, which is really fast
We can continue on Pygame, though. Anything you need from me?
Offline
Gravitation wrote:
I discovered a huge error in Pygame, and have developed a dislike for it...
Resizable windows are nearly impossible and crash. :oooo
I recently discovered Pyglet, which I use mainly now, since window resizing is super easy and is bug-free, and very controllable. It runs on OpenGL, which is really fast
We can continue on Pygame, though. Anything you need from me?
Well, I really wish someone else would plan this, because I'm terrible at designing. And busy too. But I have a weird feeling that we won't get anyone new in this collab. All I need you to do is to make a project and advertise this in your signature, hopefully we will get more members that way. And yes, i want to keep doing Pygame. I guess we'll just have to have an un-resizable window. And I assume you are on a PC?
Offline
OrcaCat wrote:
Gravitation wrote:
I discovered a huge error in Pygame, and have developed a dislike for it...
Resizable windows are nearly impossible and crash. :oooo
I recently discovered Pyglet, which I use mainly now, since window resizing is super easy and is bug-free, and very controllable. It runs on OpenGL, which is really fast
We can continue on Pygame, though. Anything you need from me?Well, I really wish someone else would plan this, because I'm terrible at designing. And busy too. But I have a weird feeling that we won't get anyone new in this collab. All I need you to do is to make a project and advertise this in your signature, hopefully we will get more members that way. And yes, i want to keep doing Pygame. I guess we'll just have to have an un-resizable window. And I assume you are on a PC?
Yes, I'm on my Windows 7 laptop. I will create a project to advertise this. I wish I had a siggy I might get somebody else to put it in their signature, though.
I can help with designing, but unfortunately I know very little about Pokemon, so we'll have to do that collaboratively.
Offline
Gravitation wrote:
I discovered a huge error in Pygame, and have developed a dislike for it...
Resizable windows are nearly impossible and crash.
What flags did you pass to set_mode? I think there might be a resize event you have to handle in your event loop...
Last edited by blob8108 (2012-12-30 13:03:17)
Offline
OrcaCat wrote:
Hey! I'm making Axel F in 8-bit. I think it should be the theme song for this.
Nevermind, it turned out terribly. Now I'm making my own composition.
Offline
Gravitation wrote:
OrcaCat wrote:
Gravitation wrote:
I discovered a huge error in Pygame, and have developed a dislike for it...
Resizable windows are nearly impossible and crash. :oooo
I recently discovered Pyglet, which I use mainly now, since window resizing is super easy and is bug-free, and very controllable. It runs on OpenGL, which is really fast
We can continue on Pygame, though. Anything you need from me?Well, I really wish someone else would plan this, because I'm terrible at designing. And busy too. But I have a weird feeling that we won't get anyone new in this collab. All I need you to do is to make a project and advertise this in your signature, hopefully we will get more members that way. And yes, i want to keep doing Pygame. I guess we'll just have to have an un-resizable window. And I assume you are on a PC?
Yes, I'm on my Windows 7 laptop. I will create a project to advertise this. I wish I had a siggy I might get somebody else to put it in their signature, though.
I can help with designing, but unfortunately I know very little about Pokemon, so we'll have to do that collaboratively.
Okay, thanks a lot. I have Windows 7 too.
Offline
blob8108 wrote:
will export all the costumes as PNG files.
Will Kurt keep transparency?
Offline
OrcaCat wrote:
blob8108 wrote:
will export all the costumes as PNG files.
Will Kurt keep transparency?
Yes.
Offline
blob8108 wrote:
Gravitation wrote:
I discovered a huge error in Pygame, and have developed a dislike for it...
Resizable windows are nearly impossible and crash.What flags did you pass to set_mode? I think there might be a resize event you have to handle in your event loop...
Try this.
Offline
blob8108 wrote:
OrcaCat wrote:
blob8108 wrote:
will export all the costumes as PNG files.
Will Kurt keep transparency?
Yes.
Yay!
Offline
Oops, sorry, been away, do you need me to do anything?
Offline
pinnipediator wrote:
Oops, sorry, been away, do you need me to do anything?
Mostly help with designing. How much do you know about Pokemon? School's starting again, so I will be less available.
Offline
I finally got around to making the concept art.
1. Your energy bar. Using attacks, hovering, and sprinting uses this energy. A is hyper beam. S is Meteor mash. D is sprint. F is hover. Your energy will slowly gain when NOT attacking, hovering, or sprinting. Sprinting increases your speed. If you run out of energy, you will be immobile until your and lose some HP.
2. Your HP. When you run out of HP, you lose.
3. You. You try to defeat enemies and escape the city before being KO'ed or captured.
4. A failed attempt at drawing a Team Rocket member.
5. Enemies who will try to shoot/catch you.
Offline
That's cool
I know more than average about pokemon, specialising in the original 200 and whatever.
There should be other wild pokemon around, some should be helpful (e.g. Here have this berry, I'm not using it) and some should want to kill you (obviously). I think berries should be the main source of healing, because there aren't trainers around to give you potions, Although I think pokemon centers are also open to wild pokemon as well.
Having to avoid people who want to catch you would be a good idea too, as they would weaken you first, therefore giving a reason to knock off some hp. I've got other ideas too, but they don't really stay on topic right now, and might be a bit much.
Offline
Great ideas!
Offline