Log in

View Full Version : Is it possible ?



pcbrainbuster
03-21-2007, 08:21 AM
Hello people :),

What I want to know if anyone else here thinks that all those web languages can make a game like fifa or unreal tournament or any - I mean there are some many languages with different things to it like for example CSS for design,HTML for setting....

tech_support
03-21-2007, 08:40 AM
It is. But it'll be a lot of work.

Twey
03-21-2007, 09:08 AM
Yes (http://www.wolf5k.com/). There are also freely available raytracers (http://www.slimeland.com/raytrace/) and whole libraries (http://wxs.ca/js3d/), although none of them are going to be winning any prizes for speed just yet (that raytracer took 230 seconds for me to render a simple sphere and light source at 200×200). We can expect this to change, however, once Vladimir Vukićević (http://www.vlad1.com/) gets his OpenGL 3D canvas (http://wiki.mozilla.org/Canvas:3D) implementation finished.

mburt
03-21-2007, 12:56 PM
...I don't get the point. Wouldn't it be just as easy to learn Win32 API (or equipvalent) and use OpenGL (http://www.opengl.org/)? Graphics rendering with C++ (Win32 API) is incredibly easy, but turns out amazing. And heck, if you want to have less work for you to do install WxWidgets (http://www.wxwidgets.org) to make the job easier.
Note: if you're using MinGW to compile, add the m flag:

gcc c:\myfile.cpp -mwindows

Twey
03-21-2007, 04:05 PM
...I don't get the point. Wouldn't it be just as easy to learn Win32 API (or equipvalent) and use OpenGL?The Win32 API has nothing to do with it, but yes, I agree with you. However, there is a big fad for "web apps" at the moment. Will it last? I don't know. It certainly does help portability, but then so does any interpreted language. The only difference is that almost everyone has a browser pre-installed, but that's only a problem because of Windows' poor package management.
Graphics rendering with C++ (Win32 API) is incredibly easy, but turns out amazing.What do you mean by graphics rendering with the Win32 API? Are you referring to GDI+? GDI+ is not intended for 3D graphics. Or perhaps you meant DirectX?
And heck, if you want to have less work for you to do install WxWidgets to make the job easier.Again, GUI toolkits are irrelevant.
if you're using MinGW to compile, add the mwindows flagIt's not an mwindows flag, it's the -m flag, which specifies machine-specific options. "windows" is the argument passed to it.

pcbrainbuster
03-21-2007, 07:50 PM
Oh thanks i was just wondering ...