PDA

Click to See Complete Forum and Search --> : make it a little more like a c++ prog


dis1411
Sep 5th, 2003, 01:24 AM
go to the make your prog, click options -> compile -> advanced optimizations

now here u have several options, and u can click help if u need it

pretty safe bets are
--assume no aliasing (if u dont know what this is youre 100% not using it)
--remove safe pentium FDIV checks - this applies to some floating point bug in pentium 120mhz and lower!

others
--------
the array, integer, and floating point checks mean that where an overflow error would occur u simply get a value with no error, and the value may not be correct

Allow Unrounded Floating Point Operations for all projects, heres what msdn says

When selected, allows the compiler to:

Use floating point registers more efficiently


Avoid loads and stores from memory


Do floating point comparisons more efficiently

Note Using this option may result in calculations being maintained to a higher precision than expected and may cause the comparison of two floating point values to show them unequal when you expect them to be equal.

da_silvy
Sep 19th, 2003, 12:51 PM
This isn't really a codebank contribution :/

dogfish227
Sep 21st, 2003, 12:10 AM
That is the most butiful thing i have ever seen i was just about to can my game i spen more hours than i can count working on because it was so slow that just increased the speed like x5 thank you so much for that tip

vbNeo
Sep 23rd, 2003, 10:37 AM
Nate, don't use VB for making games, unless you combine it with DirectX! Try out some of the free DX engines out there instead, TrueVision's a good one. If you're going for 2D only, i can highly recommend www.blitzbasic.com.

Cheers!

dis1411
Dec 27th, 2003, 03:28 PM
bump

could someone move this to Code It Better :)

edit: yeah its not code but it has to do with efficiency and etc which is what the section is all about

Protocol
Dec 27th, 2003, 03:43 PM
Thank you Sensei.... :D

crptcblade
Dec 27th, 2003, 04:18 PM
Originally posted by dis1411
could someone move this to Code It Better :)


Oh, why not.

:)

Madboy
Jan 7th, 2004, 10:10 AM
Freeware engine to make beatufil 2D and 3D games with ease,

www.gamemaker.nl

:)