SgtMe 46 Veteran Poster Featured Poster

network -> wireless

SgtMe 46 Veteran Poster Featured Poster

814

SgtMe 46 Veteran Poster Featured Poster

If it is going to be text based, why would you use XNA? If you want to do something really awesome, try making a game similar to "Dwarf Fortress". It is basically a game which uses ASCII characters to represent objects instead of images. However, it would be quite complex.

PS. Brain-Storm is no longer a politically correct term, due to the offence that it may cause to those with certain brain complications or learning difficulties.
http://www.eduqna.com/Other/2587-7-other.html

Just letting you know :)

SgtMe 46 Veteran Poster Featured Poster

808

SgtMe 46 Veteran Poster Featured Poster

For a start, on line 9 you call:

drawPatchwork(height, width, Colours)

You don't have a function called "drawPatchwork"

In line 45, you pass a value to variable "y" in the variables. However, you then instantly overwrite it in the next line to value "51".

Line 52 can be

radius-=5

Line 53 can be

y+=5
SgtMe 46 Veteran Poster Featured Poster

Not sure why you have such a long for loop at the end there.
Surely you can make the string into a list of chars, then you add a character at the end (which is the same as the first one) and remove the starting character.

SgtMe 46 Veteran Poster Featured Poster

Sorry simultaneous post :/
excuses -> arguments

SgtMe 46 Veteran Poster Featured Poster

exceptions -> syntax error
:L

SgtMe 46 Veteran Poster Featured Poster

804

SgtMe 46 Veteran Poster Featured Poster

Yeah thanks :) I'll give it a go.
I think the OP of that thread worded it better than me :/

SgtMe 46 Veteran Poster Featured Poster

No, it's a python question. What would I need to put in my code that means I will have the file path to what the user opened with my program/script? I know how to do everything in those two links. If it was a windows question, I would have put it in the windows forum ;)

SgtMe 46 Veteran Poster Featured Poster

woot :D
802

SgtMe 46 Veteran Poster Featured Poster

regulations -> regulatory

SgtMe 46 Veteran Poster Featured Poster

Hi there.

I have made a program in Python with PyGame and PyOpenGL to test out vertex and pixel (fragment) shaders. I would like to be able to right click on the shader file (just a text file with a custom extension) and choose Open With... and then open with my Python program. How could I go about doing this? I am willing to convert to an executable with Py2Exe if the need arises.

If anyone wants to see the code for their own interest, I will put it up.

Thanks in advance :)

SgtMe 46 Veteran Poster Featured Poster

790 'c'

SgtMe 46 Veteran Poster Featured Poster

^ Medieval Frown

SgtMe 46 Veteran Poster Featured Poster

reality -> mentality

SgtMe 46 Veteran Poster Featured Poster

788...I have arrived :D

SgtMe 46 Veteran Poster Featured Poster

639

SgtMe 46 Veteran Poster Featured Poster

suffocating -> chocking

SgtMe 46 Veteran Poster Featured Poster

damage -> catastrophe

SgtMe 46 Veteran Poster Featured Poster
SgtMe 46 Veteran Poster Featured Poster

643

SgtMe 46 Veteran Poster Featured Poster

One useful trick for creating sky is "sky box". Basically, this is a cube surrounding your entire map (ie everything is inside it). On the inside of the cube, you map a sky texture. Unfortunately, this presents other issues to deal with, such as removing the seams at the edges of the cube. Do a bit of google-ing to see what you can find on sky boxes. I would have given you a link to a site which could help you better, but I would need to know what language and graphics library you are making the game with (eg. C++ and OpenGL) or what SDK you are using (eg. Unreal SDK [UDK] ).

Here are a couple of vids, though neither will be particularly helpful:
http://www.youtube.com/watch?v=PPGjY4sTE9o
http://www.youtube.com/watch?v=Oeejdhcz39M

SgtMe 46 Veteran Poster Featured Poster

Please use code tags next time (push the CODE button before you paste your code).

SgtMe 46 Veteran Poster Featured Poster

Learning C++ and fairly advanced use of DirectX in 2 weeks? Sorry, it's just not possible. Surely you could speak to your tutor about this "personal problem" and come up with something that would suit both of you?

SgtMe 46 Veteran Poster Featured Poster

635 :L

SgtMe 46 Veteran Poster Featured Poster

^ A warrior.
Don't say Twilight...please...it reminds me that there a people like Edward Cullen out there who still exist.

SgtMe 46 Veteran Poster Featured Poster

Please use code tags (push the code button before you paste the code). What problem are you currently having?

SgtMe 46 Veteran Poster Featured Poster

automatic -> manual

SgtMe 46 Veteran Poster Featured Poster

635

SgtMe 46 Veteran Poster Featured Poster

Eyeless

SgtMe 46 Veteran Poster Featured Poster

What is the problem that you are having? You say on line 57, "this doesn't work". What bit doesn't work? What is exactly the problem? What is it meant to do?

SgtMe 46 Veteran Poster Featured Poster

Try the "allegro" library. Do a search on YouTube for how to set it up with VC++. There is a good set of tutorials and some example (the examples are all games-based) at:
http://www.cppgameprogramming.com/cgi/nav.cgi?page=allegbasics

Just double click anywhere on the site to bring up the menu :)

SgtMe 46 Veteran Poster Featured Poster

What is the error? Is it a compiler error? Runtime error? Logic error?

SgtMe 46 Veteran Poster Featured Poster

Can we see the code please? It's near impossible to help with errors unless we can see the code.

SgtMe 46 Veteran Poster Featured Poster

Couldn't you use a switch instead of having all of those if statements? I'm sure they will be an even better method than that. Do you actually need the lower case bit? Or could 'z' and 'Z' be the same? If so, then you just need one line to capitalize it before you check which letter it is. Check this out:
http://www.daniweb.com/forums/thread100207.html

SgtMe 46 Veteran Poster Featured Poster

639

SgtMe 46 Veteran Poster Featured Poster

political -> typical

SgtMe 46 Veteran Poster Featured Poster

"ISHFWILF" - Disturbed

SgtMe 46 Veteran Poster Featured Poster

You didn't see the AEGON masters' tennis the other day did you, jimkarter1?
They had an exhibition match with some of the old legends of tennis and they were doing some amazing trick shots and other such funny things :D

SgtMe 46 Veteran Poster Featured Poster

government -> leadership (or lack thereof)

SgtMe 46 Veteran Poster Featured Poster

635

SgtMe 46 Veteran Poster Featured Poster

You'll want to research fstream for reading the files as well.

SgtMe 46 Veteran Poster Featured Poster

We won't write your code for you. It's your homework, not ours. Show us some of your code and we can help you if you have problems. But don't think that we will do your hard work. These tasks are designed for you to learn. You won't learn anything if we give you the code.

SgtMe 46 Veteran Poster Featured Poster

623

SgtMe 46 Veteran Poster Featured Poster

identity -> fraud

SgtMe 46 Veteran Poster Featured Poster

617

SgtMe 46 Veteran Poster Featured Poster

"Lux Aeterna" - Clint Mansell

SgtMe 46 Veteran Poster Featured Poster

oyster run -> oyster card