cassius Posted September 4, 2012 Posted September 4, 2012 Is this code still required when using framework? UpdateAppTime() UpdateWorld(AppSpeed()) Quote amd quad core 4 ghz / geforce 660 ti 2gb / win 10 Blender,gimp,silo2,ac3d,,audacity,Hexagon / using c++
macklebee Posted September 4, 2012 Posted September 4, 2012 no Quote Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590 LE / 3DWS / BMX / Hexagon macklebee's channel
Road Kill Kenny Posted September 4, 2012 Posted September 4, 2012 no (lets see how many no's we can get) Here is all you need for the basic setup of framework with C++ Don't mind the LE:: I just like to so I know for sure that is a Leadwerks function. #include "engine.h" int main(){ LE::Initialize(); LE::Graphics(width, height); LE::TFramework fw = CreateFramework(); LE::SetAppTitle("Title"); LE::RegisterAbstractPath("path"); LE::BP lua = LE::GetLuaState(); LE::lua_pushobject(lua, fw); LE::lua_setglobal(lua, "fw"); LE::lua_pop(lua, 1); while([conditional statement]){ LE::UpdateFramework(); LE::RenderFramework(); //Majority of Game Code Goes Here LE::Flip(1); //1 for v-sync 0 for no v-sync } LE::Terminate(); } 1 Quote STS - Scarlet Thread Studios AKA: Engineer Ken Fact: Game Development is hard... very bloody hard.. If you are not prepared to accept that.. Please give up now!
Marleys Ghost Posted September 4, 2012 Posted September 4, 2012 Yes ... for (int i=1; i<11; i++){ UpdateAppTime() UpdateWorld(AppSpeed()) } Quote AMD Bulldozer FX-4 Quad Core 4100 Black Edition 2 x 4GB DDR3 1333Mhz Memory Gigabyte GeForce GTX 550 Ti OC 1024MB GDDR5 Windows 7 Home 64 bit BlitzMax 1.50 • Lua 5.1 • MaxGUI 1.41 • UU3D Pro • MessiahStudio Pro • Silo Pro 3D Coat • ShaderMap Pro • Hexagon 2 • Photoshop, Gimp & Paint.NET LE 2.5/3.4 • Skyline • UE4 • CE3 SDK • Unity 5 • Esenthel Engine 2.0 Marleys Ghost's YouTube Channel • Marleys Ghost's Blog "I used to be alive like you .... then I took an arrow to the head"
macklebee Posted September 4, 2012 Posted September 4, 2012 Quote Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590 LE / 3DWS / BMX / Hexagon macklebee's channel
Roland Posted September 4, 2012 Posted September 4, 2012 ? Quote Roland Strålberg Website: https://rstralberg.com
Road Kill Kenny Posted September 4, 2012 Posted September 4, 2012 lol Quote STS - Scarlet Thread Studios AKA: Engineer Ken Fact: Game Development is hard... very bloody hard.. If you are not prepared to accept that.. Please give up now!
Guest Red Ocktober Posted September 4, 2012 Posted September 4, 2012 AH HAHAHAHAHAAAAA!!! (ok, maybe it really wasn't that funny... but hey, my first good laugh of the day...) --Mike Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.