Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

~16.4K People Reached
About Me

I'm trying to make a game.

Interests
C/C++, Lua, Python, windows tweaks, making games, philosophy, religions, drawing, music... etc.
PC Specs
MB: Asus M2N (nVIDIA nForce 6100-430) CPU: DualCore AMD Athlon 64 X2 3800+ MEM: 1024 MB (DDR2-800) VC:…
Favorite Tags
Member Avatar for Prahaai

Greetings, I'm using PyQt4 and trying to add a QGraphicsItem exactly in the center of the current screen, by clicking a menu button. So each click will add an item in the center of my screen. My QGraphicsScene is very large (10k X 10K), so the QGraphicsView cannot show it …

Member Avatar for Prahaai
0
1K
Member Avatar for Prahaai

Good day. I would need an advice about sys.stdout and sys.stderr. I use Python 2.6, on Windows XP SP3, but i think the question is the same for UNIX/ MAC computers. I tried all possible combinations before posting this message, so ANY advice would be great. I work with "subprocess" …

Member Avatar for Gribouillis
0
341
Member Avatar for Prahaai

Good day. I have a problem with matrices / arrays, i cannot resolve. I have no idea how to start... I have two 2D matrices and i want to overlap (mix?) one over the other, no matter what dimensions they have. For example : a = [ (1,2,3,4,5), (9,7), (0,0,0,0,0), …

Member Avatar for scru
0
267
Member Avatar for Prahaai

Hi. I am working on a little program that will be able to open files and read them. The problem is that i CANNOT tell the user to manually type the directory and the name of the file ! It would be madness. So i need to use GetOpenFileName dialog... …

Member Avatar for Alexander22
0
2K
Member Avatar for Prahaai

Good day. I have a problem with matrices / arrays, i cannot resolve. I have no idea how to start... I have two 2D matrices and i want to overlap (mix?) one over the other, no matter what dimensions they have. For example : a = [ (1,2,3,4,5), (9,7), (0,0,0,0,0), …

Member Avatar for rahul8590
0
134
Member Avatar for Prahaai

Good day. As the title sais, i am trying to extract pixel colors from images, in Python 3. I know that for python 2.x, PIL (Python image library) can do that, via Image > getpixel((x,y)). It returns the colors as a list with 3 parameters, Red, Green and Blue. This …

Member Avatar for vegaseat
0
330
Member Avatar for Prahaai

Good day. I've been trying to port HGE ([url]http://hge.relishgames.com[/url]) to Python for more than 4 months now... HGE is a hardware accelerated 2D game engine. It comes with the source and examples. In the folder "include", you can find "hge.h", the file that i am talking about in all the …

Member Avatar for Prahaai
0
268
Member Avatar for Puppetmaster

Is it possible to have a program run multiple functions at the same time? Connectionist neural network programming seems suitable for object oriented languages. But brains seem to be able to have multiple faculties working all at the same time, and in orchestra with each other. BTW I'm a complete …

Member Avatar for Prahaai
0
101
Member Avatar for Prahaai

Good day. I wanted to share with you the code for an application I've created. It can read the number of pages in all the PDF files from one directory. The question I have is this : does it need more optimisation ? Can I make it work faster ? …

Member Avatar for Prahaai
0
4K
Member Avatar for Prahaai

Good day. I am using python for quite some time now and i decided to advance a little. I want to write a little extension, or add some C modules for my python. I use Active version. What i want to do is write some wrappers for a game library, …

Member Avatar for Prahaai
0
158
Member Avatar for Prahaai

Hello everybody. I have a veeery weird and interesting problem. I downloaded a little piece of code, in *.txt form. It it said to be a polyglot, that is, exactly the same code would compile and work in more programming languages. In this case, the languages are : COBOL, Pascal, …

Member Avatar for mitrmkar
0
100
Member Avatar for Prahaai

I have a web site. My webhost supports Python scripts. I am pretty good at python. The question is: How can i make a web-page written in python, so that after i upload it on the host server it looks just like a HTML page? (i mean, it is somehow …

Member Avatar for Prahaai
0
110
Member Avatar for Prahaai

Hello. I am not new to Python in general, but i'm new to Tkinter. So, can anyone suggest me HOW can i make an interface like mIRC, with two text-boxes: - the lower text box will be one line and will be used to get the text commands. - the …

Member Avatar for leeqiang
0
85
Member Avatar for Prahaai

Hello. I have this problem: I have a let's say [1000] char string and i want to split and print this on the screen on more lines, so that each and every line has MAXIM 43 characters. The string may contain spaces and the words would be printed on the …

Member Avatar for Prahaai
0
86
Member Avatar for Prahaai

Please, can anyone tell me HOW can i save my .Net programs in COM format, or similar, so that i WON'T have to install the .Net Platform to run the executable? Thank you very much.

Member Avatar for waynespangler
0
76
Member Avatar for Prahaai

Hello. I have a very simple question: Are there any types of variables that store pointers, or stacks of variables? For now i only know about ARRAYS and COLLECTIONS. Maybe there are more types... i really need to know. Thank you very much.

0
50
Member Avatar for Prahaai

I have purchased Visual Studio .Net 2003 and i like it, it's quite easy yo use, but i have a few problems i cannot solve. Im assume that some of the problems are solved somewhere in here, but i am in an internet cafe, i dont have an internet connection …

Member Avatar for Prahaai
0
97
Member Avatar for Prahaai

1:) Please, how can i make Visual Basic 6 open a HTML file (with Iexplore, let's say), or one MP3 (with Media Player instead of Winamp, let's say), when i click a button? It is possible? I mean, for the HTML, i need the default program to open the file, …

Member Avatar for Comatose
0
204
Member Avatar for Prahaai

Hi. I am trying to make something similar to a RPG text game, in Visual Basic 6. I know what you want to say "it's not good for text games" but i have my reasons. The problem i am facing is this: let's suppose i have 3 main skills: meelee, …

Member Avatar for Prahaai
0
179
Member Avatar for Prahaai

As the title says, i want to make a mIRC like interface. This is what i have right now: one form called Form1, one textbox called Text1 and another one called "main". [code] Dim TMPtxt As String * 50 Private Sub TextTest() Dim tt As String tt = Text1.Text Select …

Member Avatar for Prahaai
0
184
Member Avatar for samaru

So, what do you do? What do you like? What do you hate? What are your hobbies? I think we all know that we have computers in common. Some of us are into programming, while others into networking, hardware, etc. But what's the other side of you like? The side …

Member Avatar for Dani
3
6K
Member Avatar for Prahaai

Anyone knows what are percents... Some event has some chances to happen. From 0 to 100... if the percent is 0 it means zero chances to happen. 100 means it will happen every time. 50 statistically means it will happen half of times... But HOW can someone give x/100 chances …

Member Avatar for Dave Sinkula
0
260
Member Avatar for Prahaai

Related to my game again, i want to choose my options by typing the command. Yet, i am in a big difficulty, because switch() only accepts numbers, or it accepts one letter. Everyone knows how switch works, i dont think i need to give an example. Anyway, i will post …

Member Avatar for Dogtree
0
167
Member Avatar for Prahaai

I have this game skeleton. Now, as you can see, it is working, but when i choose something first time, i have to type it TWICE to make it work. It doesn't matter if i choose Status, Score, or Battle, or Flee, the result is the same: i have to …

Member Avatar for Prahaai
0
171
Member Avatar for Prahaai

/*I used and modified a piece of code i found in here and my main(){} looks like this:*/ [code]int main() { HANDLE hConsole; char welcome_l1[100]; char welcome_l2[100]; char welcome_l3[100]; char welcome_l4[100]; unsigned short k=120; hConsole = GetStdHandle(STD_OUTPUT_HANDLE); ifstream file("ver"); file.getline(welcome_l1, 100); file.getline(welcome_l2, 100); file.getline(welcome_l3, 100); file.getline(welcome_l4, 100); SetConsoleTextAttribute(hConsole, k); cout<<welcome_l1 …

Member Avatar for Dave Sinkula
0
206