Is there any disadvantage of using interface's

Just starting out? Need help? Post your questions and find answers here.
Archaikz
New User
New User
Posts: 5
Joined: Mon Jul 21, 2003 7:46 pm
Location: Durham,NC,USA

Is there any disadvantage of using interface's

Post by Archaikz »

Like speed wise. If I was gonna use them in a main loop would that slow down the game at all.(Noticable speed decrease) Just wandering. Thanks for any help.
User avatar
Danilo
Addict
Addict
Posts: 3036
Joined: Sat Apr 26, 2003 8:26 am
Location: Planet Earth

Post by Danilo »

All big games on market are written with C++ these days
because of the object orientation.
Of course a Pentium 133 is too slow for this games, but every
"normal" computer (1GHz+) with a good graphics card ist OK,
because the graphics card makes much of the graphical work
in hardware.

You dont get a "Noticable speed decrease" if your game is designed
correctly.
If you didnt code correctly, game speed slows down also if you
dont use OOP.

I´ve heared people saying PB is slow on displaying 1 sprite,
where you can display 500 smoothly. :lol:

Go with OOP, you´ll see its much better to maintain and to read -
especially in big projects.
cya,
...Danilo
...:-=< http://codedan.net/work >=-:...
-= FaceBook.com/DaniloKrahn =-
Post Reply