Search Results

Showing results 1 to 40 of 256
Search took 0.02 seconds.
Search: Posts Made By: FireNet
Forum: Game Development Feb 3rd, 2009
Replies: 5
Views: 1,190
Posted By FireNet
Do you want a bot which plays the Vampires game?
Forum: Game Development Feb 3rd, 2009
Replies: 7
Views: 1,001
Posted By FireNet
If you want to try your hand at 2D game, you can use http://love2d.org/ . It's basically a lua game engine, which allows you to write games using lua scripts.

If you are fimiliar with C++ SFML (...
Forum: Game Development Nov 29th, 2008
Replies: 14
Views: 1,309
Posted By FireNet
Try http://gamedev.net 'Help Wanted' forum
Forum: Game Development Nov 29th, 2008
Replies: 2
Views: 1,381
Posted By FireNet
There's no tool that can convert a complex 2d image in to a 3d model, simply because there is not enough data present in a flat image. Artists can use 3d modeling software and sample images to make...
Forum: C++ Oct 9th, 2008
Replies: 28
Views: 2,674
Posted By FireNet
This is funny .....
Dint you read the faq .. no homework solutions.
Forum: Game Development May 5th, 2008
Replies: 13
Views: 4,901
Posted By FireNet
You use simple vectors. You can rotate vectors with minimal calculations.

So when the ball hits the paddle, based on the distance from the center, rotate the directional vector of the ball by a...
Forum: JavaScript / DHTML / AJAX Apr 16th, 2008
Replies: 2
Views: 5,637
Posted By FireNet
Yea, I can see how it works. Thank you.
Forum: JavaScript / DHTML / AJAX Apr 14th, 2008
Replies: 2
Views: 5,637
Posted By FireNet
Hi,

I am looking for a way to use minimal javascript to open a popup window when the user clicks on an input field and allow them to choose one string inside the pop up window (like click on a...
Forum: Game Development Apr 1st, 2008
Replies: 34
Views: 4,680
Posted By FireNet
Start really simple. Learn the basics/intermediate stuff in C++ ... should know classes, file i/o, a working knowledge of STL and a bit of Win32 programming and you are good to go.

When I started...
Forum: C++ Mar 7th, 2008
Replies: 57
Solved: EOF problem
Views: 6,407
Posted By FireNet
:)

Displaying the image is real easy if it is not encrypted ...

You can use glut + corona to easily display images.
http://www.daniweb.com/forums/thread63827.html#5



Also if you are...
Forum: C++ Feb 25th, 2008
Replies: 57
Solved: EOF problem
Views: 6,407
Posted By FireNet
Use binary mode to open files which deal with encrypted text.

That should solve the problem with the EOF char :)

P.S Refer to my reply to your mail.

If you get it working post the working...
Forum: Game Development Dec 26th, 2007
Replies: 1
Views: 1,388
Posted By FireNet
You can render it as text.

The following link shows how to render text in glut:
http://www.lighthouse3d.com/opengl/glut/index.php?bmpfont

You can use sprintf to convert numbers into strings:...
Forum: PHP Dec 25th, 2007
Replies: 10
Views: 1,804
Posted By FireNet
use regular expressions

Look here:
http://ca3.php.net/preg-match-all
Forum: Game Development Dec 25th, 2007
Replies: 5
Views: 1,863
Posted By FireNet
Try searching around for a 3D engine

http://irrlicht.sourceforge.net/
Forum: Game Development Dec 22nd, 2007
Replies: 17
Views: 9,602
Posted By FireNet
Try making simple 2d games first.

However if you do want to make a counter-strike style game it is possible (when you've had enough experiance ofcourse) with the tons of 3d engines available now...
Forum: PHP Dec 20th, 2007
Replies: 2
Views: 587
Posted By FireNet
If you need multiple comments, use 2 tables. One for the program details, and one for the comments. Use an id tag (preferably the unique key from the program details)


CREATE TABLE tvprograms (...
Forum: PHP Dec 16th, 2007
Replies: 5
Views: 956
Posted By FireNet
use the function mysql_escape_string();

It will make sure all the characters are escaped and safe to use in a mysql query

escaping a character is adding a \ in front of a character. Eg: \'

...
Forum: PHP Dec 16th, 2007
Replies: 2
Views: 715
Posted By FireNet
If you have a domain on a web host goto your control panel in your hosting account and look for a button/link/panel titled subdomains. Most control panels would just have you enter the name of the...
Forum: PHP Dec 16th, 2007
Replies: 2
Views: 1,400
Posted By FireNet
O.o

The balance , profile etc can be part of a member table, and the sign up/upgrade areas can be scripts that modify the table when signup/payment is received.

If you are looking to make a pay...
Forum: Pay-Per-Click Advertising Dec 14th, 2007
Replies: 20
Views: 8,953
Posted By FireNet
Just a warning .... dont buy referrals ^^

Oh and since you are making money
http://www.thesimpledollar.com/

Live wisely son :)
Forum: C++ Dec 14th, 2007
Replies: 17
Views: 12,408
Posted By FireNet
Or over load the << operator for an ostringstream inheriting class and pipe all the output to into a text box.

eg...

class mfc_text_box : public ostringstream
{
//pseudo -code
operator <<...
Forum: Pay-Per-Click Advertising Dec 13th, 2007
Replies: 20
Views: 8,953
Posted By FireNet
:P

O.o
Checked bux ...... 20 ads per day... 1 cent per ad.... payout at $10. That means 50 days of work. and 10-20 mins everyday.

9-11 Hours of work and $10 !!!!!

Use that time to learn...
Forum: C++ Dec 13th, 2007
Replies: 17
Views: 12,408
Posted By FireNet
Old style cast.

Read:
http://msdn2.microsoft.com/en-us/library/ms174288(VS.80).aspx
http://msdn2.microsoft.com/en-us/library/awkwbzyc(VS.80).aspx
Forum: Website Reviews Dec 13th, 2007
Replies: 7
Views: 1,656
Posted By FireNet
Either crop/scale your images. Having 5-10 1208x794 images wont do anything for your bandwidth or for your visitors.
Forum: Advertising Sales Strategies Dec 13th, 2007
Replies: 40
Views: 10,269
Posted By FireNet
wicked.

On a similar note, you could look into tag clouds ...... and attach ad pop-ups to them. Some ad networks even provide the code to do that automatically. People have a tendency to move...
Forum: PHP Dec 12th, 2007
Replies: 5
Views: 3,588
Posted By FireNet
First ... use code tags to highlight your code...

[*code]
[*/code]

(without the *)

Also dumping the whole file into your post does not really help... where's line 376... one's going count...
Forum: Game Development Dec 12th, 2007
Replies: 4
Views: 1,194
Posted By FireNet
Which ONE?

:D
Forum: PHP Dec 12th, 2007
Replies: 2
Views: 777
Posted By FireNet
Simple.

Take the text of the article as a string, crop the string to a certain size, append "......" to the string and display it.


<?php
...
Forum: PHP Dec 12th, 2007
Replies: 12
Views: 3,531
Posted By FireNet
Oh,

Are you asking how to set custom error pages?


Well, .htaccess or by using the control panel. Look in you CP for custom page or custom error pages.
Forum: PHP Dec 12th, 2007
Replies: 4
Views: 914
Posted By FireNet
Reporting on what?
Forum: PHP Dec 12th, 2007
Replies: 3
Views: 2,438
Posted By FireNet
If you are sure it has the answer you could always buy it ^^.

Or you could just ask the question about the problem you are having....
Forum: Game Development Dec 12th, 2007
Replies: 8
Views: 2,432
Posted By FireNet
You could try factory methods:
http://en.wikipedia.org/wiki/Abstract_factory

For a game you could have an array/vector like
std::vector<bcAbility> hero_ability;

The base ability class
...
Forum: Game Development Dec 12th, 2007
Replies: 5
Views: 1,994
Posted By FireNet
C++,Java
Math
GFX - (OGL,DX)
3D - (basics, rendering, lighting)
Physics - (basics, some API)
Shaders - (GLSL,HSL, CG)
Engines - (pick one or 2)
Networking - (some APIs)

Basically you should...
Forum: Game Development Dec 12th, 2007
Replies: 4
Views: 1,194
Posted By FireNet
8800GTS

HAHA.... you dont need to worry about frame rates in the near future. Just make sure v-sync is off in the games and they should run fine.

If you are playing multi player games, dont...
Forum: Game Development Dec 12th, 2007
Replies: 9
Views: 16,005
Posted By FireNet
Most of the resources mentioned here are a bit advanced , used for 3D games, and requires quite a bit of reading to actually use in a game.

Here are a few libraries that should hopefully help in...
Forum: Game Development Dec 12th, 2007
Replies: 1
Solved: Moding Tools
Views: 1,054
Posted By FireNet
Let me warn you .... modding is not the way to go if you have no previous experiance with game programming. Sure, you will be able to get some fancy effects to the screen, but mostly you would be...
Forum: Game Development Dec 12th, 2007
Replies: 2
Views: 1,299
Posted By FireNet
http://tvision.sourceforge.net/
http://www.trumphurst.com/toolkit.phtml
http://www.usinglinux.org/devel/rhtvision.html

O.o I would think learning a GUI API would be easier (lots of choices, lots...
Forum: C++ Dec 12th, 2007
Replies: 7
Views: 4,238
Posted By FireNet
I agree with Duoas. If you want delays used timed functions like delay() or sleep() or whatever else.


If you are doing a txt game ... the screen can be cleared using clrscr() (conio.h)

If...
Forum: PHP Dec 12th, 2007
Replies: 7
Views: 19,903
Posted By FireNet
Try this page:
http://www.easysoft.com/developer/languages/php/sql_server_unix_tutorial.html

However I'd recommed you use MySQL rather than MS SQL.

Get XAMPP at portableapps.org if you need...
Forum: PHP Dec 12th, 2007
Replies: 3
Views: 2,438
Posted By FireNet
Hi,

You should always look on the net for tutorials first. Then there's the php documentation pages.

Also checkout these:
http://curl.haxx.se/docs/
http://www.php.net/curl

However if you...
Showing results 1 to 40 of 256

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC