- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
8 Posted Topics
hello everybody, im coding a game with opengl,pyggel,python,pygame etc and it runs smoothly without any problems =) [url]www.youtube.com/watch?v=JlDuje39S_8[/url] - My python 3d game projekt <--- sorry if outside links isnt allowed =( But the thing is that when im compiling it with py2exe using this as setup.py [CODE=python] from distutils.core … | |
hello every body i rewrote my game into pure opengl and pygame i have finished things like camera movement and other stuff. Now i really need help with the collision it basicly works even if the box/objekt is resized but now i want it to work when the objekt/box is … | |
hey everybody i just upgraded from 2.5 to 2.6 and im having problems with building pymedia since there is no binaries out there -.- this is what im doing and getting [CODE] C:\pymedia>python setup.py build Using WINDOWS configuration... Path for OGG: ..\pymedia\libogg-1.1.4 Path for VORBIS: ..\pymedia\libvorbis-1.2.3 Path for FAAD: ..\pymedia\libfaad2 … | |
Re: why are you using strings wiht base and side ? maybe this is something for u [CODE=python]import math import cTurtle t = cTurtle.Turtle() side = math.acos((BaseLength/2)/SideLength))*(180/3.14159265) base = 180-(side*2) def IsoTriangle(BaseLength,SideLength,myTurtle): myTurtle.forward(BaseLength) myTurtle.left(base + 90) myTurtle.forward(SideLength) myTurtle.left(side + 90) myTurtle.forward(SideLength)[/CODE] | |
| |
Hey everybody im currently rewriting my game from an engine into opengl and pygame and im not sure how to use opengl with pygame here is what i have done so far =) [CODE=python] from sys import path,exit,argv ; path += ['.'] import wave, pymedia.audio.sound as sound from OpenGL.GL import … | |
![]() | Re: [QUOTE=sravan953;981101]vegaseat, can you explain to me [code='python'] res = get_html() if res: get_command(res) else: print("<Error reading from the website>") [/code] How exactly does [icode]res=get_html()[/icode] work?[/QUOTE] the funktion returns res, he did that at line 10 where it returns res its like i tell u to do something and then you … ![]() |
Re: [CODE=python]def hello(textt): global text # this makes it global so that its not only accessible in the funktion text = textt hello("hello") print text [/CODE] =) enjoy ![]() |
The End.