What are you working on? V4 (HTML ISN'T PROGRAMMING)
2,003 replies, posted
It's not bad in local scope. In fact I encourage it in local scope.
[cpp]
void doSomeStuff()
{
using namespace engine; // brings various types into scope
vec2 v = calcSomeVec();
// etc.
}
[/cpp]
[QUOTE=nerdygamer;17981355]Found an awesome site to learn C++ and it is working out great.
Nothing special but I made a program that adds 2 numbers you have entered. Pretty much uses two functions one named ReadNumbers and the other WriteNumbers.
[IMG_thumb]http://filesmelt.com/downloader/CCC.png[/IMG_thumb][/QUOTE]
I suggest that you use the empty win32 console project instead of the precompiled headers. I like to so I don't have to deal with a few quirks.
I finally got a finite state machine working in my game, so now I can actually do something useful. Next up is experimenting with SFML's sprite and text drawing stuff.
Edit:
Nice to see I have a dumb rating less than sixty seconds after posting.
[QUOTE=nullsquared;17982420]It's not bad in local scope. In fact I encourage it in local scope.
[cpp]
void doSomeStuff()
{
using namespace engine; // brings various types into scope
vec2 v = calcSomeVec();
// etc.
}
[/cpp][/QUOTE]
Agree x 10
I don't know what efex is smoking
[QUOTE=r4nk_;17984278]Agree x 10
I don't know what efex is smoking[/QUOTE]
i think it was laced
[QUOTE=efeX;17984328]i think it was laced[/QUOTE]
with? horse shit? cocaine? meth? :v:
I'm about to change from PHP to JavaScript, still confusing me a lot. Going to translate my "PHP Text To Leetspeak Generator aka PTTLG" into JS as a Opera widget. Shouldn't take too long, but I can't be arsed to do it honestly. It feels like changing from the kinda cool guys to the uber nerdy guys who bitch about everything.
[QUOTE=windwakr;17982129]I'm working on some arbitrarily sized maths in assembly. Just a side thing I mess around with.
[/QUOTE]
I'm doing something like this too in C++, useful for a lot of projecteuler.net problems
Got addition, subtraction, multiplication, increments and decrements done with operator overloading, I'll try tackling division next.
-image snip, needs more work...-
[QUOTE=Torekk;17985527]I'm about to change from PHP to JavaScript, still confusing me a lot. Going to translate my "PHP Text To Leetspeak Generator aka PTTLG" into JS as a Opera widget. Shouldn't take too long, but I can't be arsed to do it honestly. It feels like changing from the kinda cool guys to the uber nerdy guys who bitch about everything.[/QUOTE]
You just need to replace the stuff in the string like so:
e = 3
etc...
Stuck in bed for 24 hours or so due to fucking toe operation thing, been back to working on Pokemon Destiny after way too much time not working on it. Pretty much ready for a beta, with the exception of PVP combat, which I'm struggling with still.
[img]http://winsaucestudios.com/forum/MGalleryItem.php?id=179[/img]
i see wat you did there
[img]http://i33.tinypic.com/nejpd5.png[/img]
Yay, next stop is making enemies. I guess.
[QUOTE=Torekk;17985527]I'm about to change from PHP to JavaScript[/QUOTE]
Uh I'm not sure if you realise this, but Javascript isn't an alternative to PHP. Javascript is for client-side stuff like folding pages, PHP is for serverside stuff like database access and page generation e.g a forum or blog.
They are used together.
[editline]11:09AM[/editline]
[QUOTE=Sasupoika;17986338][img]http://i33.tinypic.com/nejpd5.png[/img]
Yay, next stop is making enemies. I guess.[/QUOTE]
I could have sworn you already made a game just like that.
[editline]11:13AM[/editline]
[QUOTE=nerdygamer;17981355]Found an awesome site to learn C++ and it is working out great.
Nothing special but I made a program that adds 2 numbers you have entered. Pretty much uses two functions one named ReadNumbers and the other WriteNumbers.
[IMG_thumb]http://filesmelt.com/downloader/CCC.png[/IMG_thumb][/QUOTE]
system("pause"); calls an external program just to output that "press any key to continue..." message and wait for a key. I recommend using something which doesn't do this. I use getchar(); it does exactly the same but doesn't display the message and doesn't rely on an external program.
[QUOTE=Jallen;17986361]Uh I'm not sure if you realise this, but Javascript isn't an alternative to PHP. Javascript is for client-side stuff like folding pages, PHP is for serverside stuff like database access and page generation e.g a forum or blog.
They are used together.[/QUOTE]
But you can make a leetspeak generator in PHP and in Javascript.
[QUOTE=Fizzadar.;17986237]Stuck in bed for 24 hours or so due to fucking toe operation thing, been back to working on Pokemon Destiny after way too much time not working on it. Pretty much ready for a beta, with the exception of PVP combat, which I'm struggling with still.[/QUOTE]
How may I create an altar to worship you?
related: I just lost the game
[QUOTE=Anthony Kiedis;17986711]How may I create an altar to worship you?
related: I just lost the game[/QUOTE]
haha, just play it when it's out, and I'll be happy :P
Yeah, I keep forgetting to change the title, hehe
[QUOTE=Robber;17986446]But you can make a leetspeak generator in PHP and in Javascript.[/QUOTE]
Yes, but
[QUOTE=Torekk;17985527]I'm about to change from PHP to JavaScript[/QUOTE]
The way he phrased that makes me think that he's thinking of ditching the language and switching to the other like someone would change from C to C++
[QUOTE=Jallen;17986361]
I could have sworn you already made a game just like that.
[/QUOTE]
It is because I'm redoing my engine.
[QUOTE=nerdygamer;17981355]Found an awesome site to learn C++ and it is working out great.
Nothing special but I made a program that adds 2 numbers you have entered. Pretty much uses two functions one named ReadNumbers and the other WriteNumbers.
[IMG_thumb]http://filesmelt.com/downloader/CCC.png[/IMG_thumb][/QUOTE]
Wouldn't it be better to name the function ReadNumbers to AddNumbers or something like that? Seeing as that's what you're doing with them.
[QUOTE=Ortzinator;17960552]You can know a language and still suck at it.[/QUOTE]
I see, great argumentative support there.
[QUOTE=nos217;17964251]Hey man, off topic but why are there dots above the "I"s in your posts?
[editline]11:48PM[/editline]
I thought they were marks on my screen.[/QUOTE]
Turkish keyboard, couldn't help it.
Anyway, I'm going to do some research into writing a simple AI, inspired by [url=http://www.darwinbots.com/WikiManual/index.php?title=Main_Page][u]Darwinbots[/u][/url].
[QUOTE=Overv;17987407]I see, great argumentative support there.[/QUOTE]
I don't know personally if you suck at Lua or not, I'm just saying that it's possible to know a language inside and out and still write horrible code. I don't think that statement needs a lot of argument.
Ah alright, sorry for reacting like that then. I'm way too paranoid :v:.
Made my own file/image host because i was bored.
If anyone wants to try it out: [url]http://www.kman.muffinz.eu/[/url].
Looks good, but having to scroll to the right to select the whole url is a bit annoying. What about auto-highlighting it when clicking it?
Added it, click the textbox and it will get selected.
Any ideas on what to add next?
[QUOTE=Overv;17991970]Looks good, but having to scroll to the right to select the whole url is a bit annoying. What about auto-highlighting it when clicking it?[/QUOTE]
I just double clicked it and it selected all the text.
I'm writing a band name generator, that's easily extensible and allows you to add words and define ways to put the words together, and defines rules for each of these cases.
It's not really meant to be useful, I'm just doing it for the fuck of it.
I'm deciding whether to do it in VB.NET or not.
Creating file hosting service [url]http://filez.muffinz.eu/[/url] :3
Got a new host [url]http://kweb.clan-host.co.uk/[/url].
Now i need to get myself a domain.
This host is alooooot faster.
[url]http://www.kman.muffinz.eu/image.php?file=dbda3c24a12349218c1e11d2d424fa6de0658b83[/url]
wat
Sorry, you need to Log In to post a reply to this thread.