Search found 20 matches

by SirSami
Wed Jun 11, 2008 6:26 pm
Forum: Beginners Help
Topic: Securing Data
Replies: 14
Views: 991

You can make it by changing bytes of the file. The logic is like: if encryption key is "3" then incrase every byte by 3 and when you are decrypting it decrase 3.
by SirSami
Fri May 30, 2008 11:36 am
Forum: Beginners Help
Topic: Frame Rate limit problem.
Replies: 15
Views: 767

The FPS is only updated once a second so you wouldn't get enough accuracy from it as the framerate will actually vary much more often than once a second and could vary a lot! But is it possible to make it more accuracy by calculating FPS based on frameTime on each frame? Like: 1000 ms / frameTime. ...
by SirSami
Fri May 30, 2008 8:38 am
Forum: Beginners Help
Topic: Frame Rate limit problem.
Replies: 15
Views: 767

Ahh. Now I understood the point : ) But isn't it possible to do it like that:
If velocities are m/s and one coordinate unit is 1 m. Velocity / FPS

Example: Some object is moving 6 m/s and FPS = 142

x = movement in one frame.
x = 6 / FPS
x = 6/142
x= 0,04225 m/frame
by SirSami
Fri May 30, 2008 7:55 am
Forum: Beginners Help
Topic: Frame Rate limit problem.
Replies: 15
Views: 767

Should it work like this? u32 frameBeginTime; u32 frameEndTime; u32 frameTime; u32 lastFrameTime = 0; u32 deltaTime; while(device->run()) { frameBeginTime=timer->getRealTime(); //Loop things frameEndTime=timer->getRealTime(); frameTime = frameEndTime - frameBeginTime; deltaTime = frameTime - lastFra...
by SirSami
Thu May 29, 2008 7:39 pm
Forum: Beginners Help
Topic: Frame Rate limit problem.
Replies: 15
Views: 767

Do you mean the change of time with delta time? Like endTime - beginTime. I am not sure about that term cause I am not native english speaker. But that should work. There is only one problem with distances then. Distances will come more uncontrolable. EDIT: By the way, what is the best way to do mai...
by SirSami
Wed May 28, 2008 1:44 pm
Forum: Beginners Help
Topic: Frame Rate limit problem.
Replies: 15
Views: 767

I'm not sure what you're realy doing there... :lol: but this line is wrong: device->sleep(1000/frameLimit - loopTime); it must be: device->sleep(1000 / (frameLimit - loopTime)); hmmm. Why should that work? Acki: It's working like this way in current system: 1000 ms = 1 sec and FPS = 1/s so if limit...
by SirSami
Wed May 28, 2008 12:48 pm
Forum: Beginners Help
Topic: Frame Rate limit problem.
Replies: 15
Views: 767

If i use that method, does make a lot of extra work? Like moving objects etc.
And I cant use vsync cause this program is server and it is in windowed mode. Client side uses vsync.
by SirSami
Wed May 28, 2008 12:31 pm
Forum: Beginners Help
Topic: Frame Rate limit problem.
Replies: 15
Views: 767

Frame Rate limit problem.

I made a system to limit fps rate. But it's not working well. There is problem, it decrase fps too much. Here is the code: #define FRAMELIMIT 60 u32 beginTime; u32 endTime; u32 loopTime; u32 frameLimit = FRAMELIMIT; while(device->run()) { beginTime = timer->getRealTime(); //here is other loop things...
by SirSami
Tue Apr 15, 2008 7:04 pm
Forum: Advanced Help
Topic: Invisable GUI Window
Replies: 10
Views: 979

One way is do that: Take screenshot from deskop and then place it to screen in fullscreen mode :wink: There is only that problem that you can't open any folders or use any deskop items with mouse without closing program etc.
by SirSami
Tue Apr 15, 2008 2:33 pm
Forum: Beginners Help
Topic: How to make FPSCamera system work over network?
Replies: 1
Views: 175

How to make FPSCamera system work over network?

I've been wondered how to to make FPS game camera system work over network. The collisions are happening at the server side and server cares about player position. But the rotation of the players is the problem. I've been thought many different ways to make it and I don't have any good idea for that...
by SirSami
Sun Apr 13, 2008 7:23 am
Forum: Everything 2d/3d Graphics
Topic: Lost in a world with 3D graphics.
Replies: 40
Views: 6951

Thanks for the "game making tutorial" halifax, it was fun :D But cm3rd you should first try to make a lot of smaller game than MMORPG. If you have never made a 3D game, one of the best choise for first game would be some kind of 3D labyrinth or something like that. I've made four games and...
by SirSami
Sat Apr 12, 2008 11:57 am
Forum: Beginners Help
Topic: Menu System
Replies: 8
Views: 371

Use the GUI system. Have you checked that user interface tutorial yet?
by SirSami
Mon Apr 07, 2008 12:13 pm
Forum: Beginners Help
Topic: Compileing problem.
Replies: 2
Views: 249

Compileing problem.

I was making a project with a raknet. Until a error appeared, the code was not compiled. Then I tried to test tutorial if that works. But it doesn't work. Same problem... It is saying something about Linker error and compile log says: Compiler: Default compiler Building Makefile: "C:\Dev-Cpp\Ma...
by SirSami
Wed Apr 02, 2008 1:13 pm
Forum: Beginners Help
Topic: How Can I convert stringc to int?
Replies: 3
Views: 225

How Can I convert stringc to int?

I have a problem at converting stringc type file to int. So, I have to get text from editBox and getText() returns stringc type data and I need to convert it to int format for futher use.
by SirSami
Tue Mar 25, 2008 5:10 pm
Forum: Beginners Help
Topic: Problem with texturing bullet
Replies: 9
Views: 576

How do I make that UV mapping? Do I have to change it in modeller program?