Two questions for more expirienced programmers

Blitz3D Forums/Blitz3D Beginners Area/Two questions for more expirienced programmers

Jarvis(Posted 2004) [#1]
Hi,

have two questions regarding Blitz programming:

1) How much processor time will this instructions take:
Viewport x1,y1,x2,y2
Origin x1,y1

In other word if I have few separated parts on the screen is better to calculate on whole screen or usig viewport will not take processor time.

2) Does anybody know how to make main game loader. f I create game package containing few games, how can i start each of them from some kind of menu screen if they are made as separated projects (few exe files)

Thanks,
Jarvis


skn3(Posted 2004) [#2]
1) The time it takes to perform those operations is tiny
2) You would have to store your games as .exe and use the Execfile command to execute it from your menu application.


Agamer(Posted 2004) [#3]
I have no idea for number 1

And agree with the above for 2


GfK(Posted 2004) [#4]
I have no idea for number 1

And agree with the above for 2
Honestly why do you bother??


Ross C(Posted 2004) [#5]
Yeah, i made a tilemap system with constantly adjusting the viewport. I didn't see any effect on speed really :o)