345 Posted Topics

Member Avatar for SgtMe

Have another problem with an OBJ model format converter I'm making. As a test, I want to read in data from an OBJ file, and write it out in a different format, and then the other way around. The problem I currently have is that I want it to be …

Member Avatar for SgtMe
0
201
Member Avatar for helpfullProgram

I don't think you can do that with the console. You would need to use a GUI or graphics lib.

Member Avatar for SgtMe
0
198
Member Avatar for behavet

Ingedients: 1. Effort 2. Ability 3. Willingness 4. Sense of hard work 5. More effort Recipe: 1. Using your effort and your ability, make sure you are willing to make use of a good sense of hard work to code a program, or come up with an idea for one. …

Member Avatar for SgtMe
0
45
Member Avatar for mrickert

How about using the dos command rename? Consider this pseudocode (yes, I love pseudocode): [CODE] main function{ print("enter old path") input>>old_path print("enter new path") input>>new_path system("pause") system("rename ", old_path, new_path) print("complete") } [/CODE] I would give you a proper code, but I'm working back into console based C++, after spending …

Member Avatar for Fbody
0
126
Member Avatar for marsh_mallows11

Just some input: -Using a struct is the best idea. However, watch out if you make a function that returns with a type of said struct. -In the struct, you may want to use "string tellNum" (don't forget to include the string header!) instead, as some people (like me) put …

Member Avatar for SgtMe
-1
184
Member Avatar for MikeThras

Checking out Kieran's code: works fine. Just a couple of points. When it asks for your body weight, is that kilograms or what? Good job guys :)

Member Avatar for MikeThras
0
329
Member Avatar for SgtMe

Hi just a simple n00b question. I need to split a string (from a .obj 3D model format) into a list of three doubles (the vertices). example string: v 0.200006 -0.093641 0.584690 I want to make it into an array of (for example): {0.200006, -0.093641, 0.584690} I can get rid …

Member Avatar for SgtMe
0
171
Member Avatar for Mkaveli
Member Avatar for poczatkujacy
0
166
Member Avatar for GothLolita

Start by making a function that allows you to read and write the data from/into text files.

Member Avatar for techie1991
0
2K
Member Avatar for Hazel101
Member Avatar for SgtMe

On msn, some of my contacts do not appear online, even when I know they are, and they cant see me either. Others cant recieve my messages, but they appear to send ok. And no, we havent blocked eachother, were not choosing to appear offline or anything else, so dont …

0
83
Member Avatar for frodo_man

I'd say it was 50-50. iPhone has a bigger/better market, but it is expensive to develop for (if you want full functionality available by using the iPhone SDK with Objective-C). Alternatively, you can use Dragonfire SDK (C++), which has limited capabilities, but you can still make great apps with it. …

Member Avatar for Master Rattley
0
102
Member Avatar for SgtMe

Hi all. Before I say any more, I am a compete noob at JavaScript. I have been attempting to learn some though. I want to make some Windows 7/Vista sidebar gadgets, so, as a practise, I am making a very simple calender. It uses a CSS to draw up a …

Member Avatar for hielo
0
4K
Member Avatar for Buolbear4444

I think I heard that you have to sign up to the Apple Developer network to be able to distribute your apps. A good place to start is [url]http://www.dragonfiresdk.com/index.htm[/url] This is a windows C++ library. Two things you already have!

Member Avatar for papanyquiL
0
136
Member Avatar for SgtMe

Hi all. When I try to run games on my computer, the window is in fullscreen mode, but the view doesn't cover the whole screen; as to say there are black bars on the left and right. I changed the ingame settings, but I can't get it back to where …

Member Avatar for Kingcoder210
0
106
Member Avatar for fuggles

[url]http://msdn.microsoft.com/en-us/library/dd370990(VS.85).aspx[/url] Take a look at this MSDN page. If you scroll down a little bit it has all the details that you need. Example and source code, programming guide, getting started. API referece etc. I took me literally 30 seconds to find this.

Member Avatar for PixelExchange
0
136
Member Avatar for pato wlmc
Member Avatar for nsutton

I'm not really sure. I think C# would be a good language to use in the long run if you plan to become a paid games programmer, but then Flash is great for publicity as you said. I am trying to learn Actionscript 3 right now, but I'm having trouble …

Member Avatar for Brightmix
0
245
Member Avatar for SgtMe

I want to make an array (using the built-in array module), to create an array made up of classes. All the objects in the array will be the same class, but I want to be able to append new classes on the end and read the values. Thanks in advance.

Member Avatar for SgtMe
0
176
Member Avatar for SgtMe

As I write this to you, I am feeling relieved, as I have just managed to come out on top of a heavy virus situation. I downloaded a file, and, unkown to McAfee (I now have, Avast, McAfee and SUPERantispyware, it contained a virus. This installed a few more viruses …

Member Avatar for PhilliePhan
0
140
Member Avatar for nwhitfield

look. go post in the correct forum. This is general game dev, not a programming language. looks like C++ to me, so post in the C++ forum. Also, code snippets are for completed, working snippets that other can use. This is the sort of thing you put in code tags …

Member Avatar for nwhitfield
0
122
Member Avatar for fourty

You what now? If you want serial codes to upgrade trial versions, look yourself. It's kinda illegal as well.

Member Avatar for fourty
0
65
Member Avatar for Awah Mohamed

use google. if you are using dev-c++ then use the package manager/update downloader.

Member Avatar for SgtMe
0
41
Member Avatar for Amoblaze
Member Avatar for nwhitfield

What in particular do you not know about games in C++? Graphics ------------- [URL="http://www.cppgameprogramming.com/cgi/nav.cgi?page=allegbasics"]Allegro (simple)[/URL] [URL="http://www.cprogramming.com/tutorial/opengl_introduction.html"]OpenGL (medium)[/URL] [URL="http://www.drunkenhyena.com/cgi-bin/dx9.pl"]DirectX (hard)[/URL] GUI ------------- [URL="http://www.winprog.org/tutorial/"]Win32 API[/URL] Game Engines ------------- [URL="http://www.thegamecreators.com/?m=view_product&id=2128"]DarkGDK[/URL] [URL="http://irrlicht.sourceforge.net/"]Irrlicht[/URL] Ideas ------------- [URL="http://gpwiki.org/index.php/Game_Ideas"]Game programming ideas wiki[/URL] May I warn you that you may find a difficult point in the middle of game …

Member Avatar for nwhitfield
0
119
Member Avatar for jus.me.rashmi

wow! That's a huge project. Build it up in stages. Start with one drum, which is operated using the mouse. Then build it up with more drums (using classes) until you have the amount you want. Make a new program, again with just one drum, but copy all the draw …

Member Avatar for jus.me.rashmi
0
169
Member Avatar for lewashby

try using: [CODE] import pygame #and from pygame.locals import *[/CODE] Also use the [CODE]pygame.mixer.get_init()[/CODE] function to see if the mixer is working

Member Avatar for SgtMe
0
354
Member Avatar for gangster88
Member Avatar for ryan461

Why don't you make like a text-based shopping checkout program? You can have a main class filled with all the main functions, like a welcome, ouput priter etc. Then you can have an object class. It can have variables like name, price, quantity, etc. Then you can make new objects …

Member Avatar for ryan461
0
127
Member Avatar for bachan28

It really depends on what you are doing. Is this game 2D? If so, you will want to use either of the following: Python with the pyGame library (recommended!) C++ with the allegro graphics library I recommend python because the syntax is a lot easier. Also, pygame is a lot …

Member Avatar for bachan28
0
143
Member Avatar for appunu

Have you looked in your site packages folder? (python/Lib/site-packages...). Are there any variations on how you can import it? (eg. import Tk/import Tkinter)

Member Avatar for SgtMe
0
56
Member Avatar for nwhitfield
Member Avatar for Wakesta

I could be pretty much any language. Most likely this is just a list of strings. And no, you can't run a program from this. Seriously. Take more time to look at the code you want help with. Put in some effort. There is no way you can run this …

Member Avatar for bperiod
-2
132
Member Avatar for Wakesta

look...you need to provide more detail. What language are you using? What does the match events file look like? By link do you mean read?

Member Avatar for SgtMe
-1
79
Member Avatar for Chupakun
Member Avatar for Chupakun
0
1K
Member Avatar for evaristegalois

Here's a brilliant site. I was confused when I started out, but this frankly BRILLIANT site helped me through. [url]http://lmgtfy.com/?q=python+documentation[/url] ^_^

Member Avatar for SgtMe
0
38
Member Avatar for jinjonBoo

I take it that you are using something like notepad to write the script and then you are just runnning the script through the python console straight off. There are several ways that I have been able to see errors. Print-screen can help sometimes, but not when the console is …

Member Avatar for Tech B
0
350
Member Avatar for SgtMe

Say I have a file structure that looks like this [CODE]root folder/ main.py -folder a -script.py -folder b -img.png[/CODE] How could I load the img.png file from script.py? Should I just have a function in main.py that gets the path of the root folder, and then tac the 'folder a' …

Member Avatar for SgtMe
0
100
Member Avatar for AmericanRogue
Member Avatar for lewashby

Unfortunately, PyGame is now being made for JavaScript. While you can still learn it now, there will be no support for major updates to Python in the future. While some versions of PyGame [U]may[/U] work with updates to Python, there will not be full support. But hey, its awesome so …

Member Avatar for griswolf
0
120
Member Avatar for new2programming
Re: Maps

Are you using arrays to make data that you can be turned into a map by your program?

Member Avatar for new2programming
0
141
Member Avatar for oaktrees

Here is an example. Remember that after reading from a text-file, (if you read the whole line) you may get newline characters ("\n"). Also, you need to remove the spaces. [CODE] n = '$ 235.0 M' #Example string n = n.strip('$M ') #Cut off the chars - including spaces! n …

Member Avatar for oaktrees
0
136
Member Avatar for SgtMe

Hi. I am trying to get texturing to work in PyOpenGL in 2D. I have the following code so far for textures: [CODE]def tex(path): img = pygame.image.load(path) img.convert_alpha() try: ix, iy, image = img.get_width(), img.get_height(), pygame.image.tostring(img, 'RGBA') except SystemError: ix, iy, image = imgs.get_width(), img.get_height(), pygame.image.tostring(img, 'RGBA') ID = glGenTextures(1) …

0
87
Member Avatar for Expora

Windows has "stuff" for running programs using OpenGL. It does not have anything on it for creating software with OpenGL. I tried out codeblocks but I didnt like it, so I switched to using dev-c++. You should do this to. This is because it has a package manager, where you …

Member Avatar for LauraWelch
0
140
Member Avatar for prodstar

It's very hard to read an excel file, but you could try reading an Excel XML file.

Member Avatar for gabryprof
0
184
Member Avatar for nsutton

there are a few cheap flash alternatives...unfortunately, in this case, they are free for a reason. Swish Max is probably the best alternative I have seen, but I'm not sure whether you can make games on it or if it's just animations...hey i've just found flashdevelop.org...im gonna check it out

Member Avatar for SgtMe
0
491
Member Avatar for SgtMe

I have recently purchased ToCA Race Driver 3 for my PC. I used systemrequirementslab.com to check that it would work, and the only issue that came up was that Windows 7 was not released at the time and it was not officialy compatible. I found this website and I followed …

0
58
Member Avatar for Hidden_mistakes

What programming language are you intending to use? decide then post in the forum for that programming language.

Member Avatar for 0x69
0
78
Member Avatar for SgtMe

Hi. I'm just trying to make a simple analogue clock as I learn to use TKinter with python. I need to know the maths behind calculating the x, y values for drawing the end of the hands. I don't need to post the whole program, all you need to see …

Member Avatar for SgtMe
0
970
Member Avatar for the game master

is this just distribution of an .exe or source code? or is it meant to be buit in to a web-page? what language is it written in?

Member Avatar for the game master
0
238

The End.