But it teaches old standards and bad habits. Just make sure you don't stick with them.
[QUOTE=efeX;17580084]But it teaches old standards and bad habits. Just make sure you don't stick with them.[/QUOTE]The book or the language? I heard C++ is a good language especially if one is looking to making games.
[QUOTE=MiniManz;17580090]The book or the language? I heard C++ is a good language especially if one is looking to making games.[/QUOTE]
It [i]is[/i] a good language for games, he meant the book.
Just be sure you do things for a reason and not just "because that's how I always did it".
[QUOTE=bl4h;17579220]Hey Fizzadar, what IDE do you use when programming PHP?[/QUOTE]
If I was on windows, Notepad++ with FTP plugin (live editing)
On my mac (much better :D) Coda ([url]https://www.panic.com/coda/[/url]), well worth $99 or for free Smultron + Cyberduck combo (edit/ftp) But Coda has pretty much everything, although I turn the CSS editor/etc off.
[QUOTE=MiniManz;17580090]The book or the language? I heard C++ is a good language especially if one is looking to making games.[/QUOTE]
Sorry if you interpreted that wrong, I meant the book.
[QUOTE=tjl;17579899]Anyone ever experimented with GWT (Google Web Toolkit)? If so, please share your experience with it, I'm trying to decide if I want to spend the time to learn it.[/QUOTE]
I looked into it, but stopped using it because I was trying to make a website, not a webapp. It'd be awesome if you're making a webapp.
For PHP I think Notepad++ is the best thing... :buddy:
Right, AI is really getting to me. SO here is how I want it to work ->
Call process() on NPC -> call AiX (X is the function for that state) -> Execute and render
Example
cow.process() -> Previously attacked by [ent] -> ai_cow.Attack([ent]) -> call [ent].onAttack()
Though it seems like a completely stupid way of doing things.
[QUOTE=SEKCobra;17581988]For PHP I think Notepad++ is the best thing... :buddy:[/QUOTE]
I used Eclipse. When I got it all working, it was great.
I forgot:
[url]http://filesmelt.com/downloader/release.rar[/url]
Should work on windows. Report any bugs ect.
I'm getting no signal
Same here.
[QUOTE=quincy18;17583967]I'm getting no signal[/QUOTE]
What?
Forgot, click the console and enter "levelone\\one" without the quotes.
Console ?
the black box behind the screen :/ One sec, I'll just hard code it.
V1.2.31 : [url]http://filesmelt.com/downloader/ReleaseTwo.rar[/url]
Requires Python 2.x and Pygame 1.8.x
There isn't any black box :P.
Can't you make a .exe again ?
I never made an .exe
You did.
[IMG]http://i35.tinypic.com/11t35ut.png[/IMG]
Anyone got any code knocking about that they use to convert std::wstring to std::string?
I've been using this, but I get a feeling it's gonna cause problems...
[code] inline String UnicodeToString( const UnicodeString& strIn )
{
String temp( strIn.length(), ' ' );
std::copy( strIn.begin(), strIn.end(), temp.begin() );
return temp;
}
inline UnicodeString StringToUnicode( const String& strIn )
{
UnicodeString temp( strIn.length(), L' ' );
std::copy( strIn.begin(), strIn.end(), temp.begin() );
return temp;
}[/code]
(wstring and string are typedef'd on that example)
[QUOTE=Robber;17585131]You did.
[IMG]http://i35.tinypic.com/11t35ut.png[/IMG][/QUOTE]
Ah, wrong link thats why, I don't know who's file that is.
Anyway 3 is the charm, its an exe for you non python users.
[url]http://filesmelt.com/downloader/Release_Three.rar[/url]
It closes itself after 1 second.
File "pygame\sysfont.pyc", line 253, in SysFont
RuntimeError: default font not found 'freesansbold.ttf'
[QUOTE=garry;17585247]Anyone got any code knocking about that they use to convert std::wstring to std::string?
[/QUOTE]
I use this:
[code]
std::string convert_to_string(const std::wstring &value)
{
return std::string(value.begin(), value.end());
}
std::wstring convert_to_wstring(const std::string &value)
{
return std::wstring(value.begin(), value.end());
}
[/code]
Finally got the majority of my parser done, based loosely on XML because I thought that looked cool :downs:
[media]http://img17.imageshack.us/img17/1596/programming.png[/media]
[QUOTE=Maurice;17585399]File "pygame\sysfont.pyc", line 253, in SysFont
RuntimeError: default font not found 'freesansbold.ttf'[/QUOTE]
Ah, forgot that, will fix tommorow.
I should of thought of this :/
[QUOTE=Fox32;17585414]I use this:
[code]
std::string convert_to_string(const std::wstring &value)
{
return std::string(value.begin(), value.end());
}
std::wstring convert_to_wstring(const std::string &value)
{
return std::wstring(value.begin(), value.end());
}
[/code][/QUOTE]
We need the zing rating back
[QUOTE=iPope;17585944]Ah, forgot that, will fix tommorow.
I should of thought of this :/[/QUOTE]
On a side note, just use forward slashes for everything. It keeps it cross platformy~
(Windows supports forward slashes)
Re: Editors - VIM FTW.
I use Crimson Editor, but I might get Notepad++ because I think it has the option to change colors of some things, right?
Sorry, you need to Log In to post a reply to this thread.