• Coding
  • Programming video games! [misc languages conversation]

I thought of that, but those values wont change I'm pretty sure of that. Its just the "brightness" factor to change from the day/night system =)

And darkstar, you make it seem like a game is graphics, you're dead wrong. most of the games released nowadays are webgames, a lesser percentage a console games, and an even lesser percentage are PC games, and an even lesser percentage are PC games that use DirectX. And like I said in my previous post, if you had any experience in game dev, you'd know taht your graphics engine (the one that will use DirectX, or OpenGL or w/e graphic lib you're using) is most usually one of the smallest because all it does is render the result of your other engines.
You totally come here and "diss" the way I defined game dev, talking like game dev just just 3D windows games. When a 3D game simply CANT be developped by just 1 programmer, 2 artists and 2 musicians. If you claim this is shit I seriously beg of you to link me to ONE browser game that has been developped in PHP and htat is fully graphical, and believe me I'll shut up.
Game Dev is not about how big your game is, nor about the "omg I use teh uber leet vertex shadow" its about how you structure you programming and link your classes together to make the game work. Like using a singleton game engine vs an object factory. Sometimes a text based game can be worth a lot more than a 3D game if the design is better thought...
/second Flamie
good luck bro :)
mir wrotemaybe u can store the values in a table in the database and do a select statement according to hour
that will imporve the code just a littlbe bit and makes it bit smaller and more flexible
You gotta throw in a database in there, you cant help it, huh ?
;)

Flamie have you considered using javascript and AJAX? It will be much more responsive. But there's an advantage in your approach, it's that it can run on older browser or handheld devices and the such.
I know the whole idea is to use PHP in a new way and it is very innovative.

BTW, since were talking about alternative PHP uses, there's a PHP-GTK distro out there, it lets you write fully graphical cross-platform apps in PHP.

This is designed to run over the web, right? I mean because you can also be planning to bundle it with PHP and distribute it as a standalone game.
Well rolf, I've always been agains javascript because of its bad response.
I've been toying with ajax for the last few months, I've even written the engine to run fully on AJAX at one point, but it was very slow and choppy, it ran a lot better under PHP.
But I started implement some AJAX in a different way, for little things that make it a little better:
for exemple:
-Say you are standing somewhere and someone sends you an invitation to play Hide and Seek with him, you wont actually receive the invitation before moving or doing some sort of action (which will refresh the page). So I decided to implement ajax in stuff like that, so that when someone sends you an invite, or something happens without your knowledge it will tell you instead of waiting for you to refresh the page somehow.
I've never heard of PHP-GTK I'll look into it a bit later today :)

And yes, the game is meant to run in your browser (compatible with IE/FX/Opera)
@flamie: interesting project :)
@mir: ditto to what Rolf said :P
You gotta throw in a database in there, you cant help it, huh ?
;)
well .. ;) .. one small table lol ..doesn't count :P
6 days later
mir wroteDark_star.. i don't see why u made that comment :P
Flamie wroteAnd darkstar, you make it seem like a game is graphics, you're dead wrong
And where did you people read Darkstar ?
Sheesh I got flamed and I didnt even say a word :P

Anyways amazing stuff you got there flamie.
Damn sorry 8( I'm blaming Mir(sorry bro :)) for it :P But we both meant Dark_angel =)

And thanks for the compliment on the project :D

edit: currently working on the 1st quest since the art for it is done I'll post some more screenshots in a few days, maybe weeks :P
oops sorry dark_star..
u know i read dark..somehow i know ur nick by heart and since ur always in mind (w heik ossas)
i typed ur name :P ...

so we're cool ;)

w mitl ma bi2oul il matal .. kill il ha2 3al tolyen .. :P