Jump to content

Small school project


MrIslomaniac
 Share

Recommended Posts

Hey guys

the 'small school project' is actually a really big and important one, it replaces 1 classtest in year 12!

So heres my problem:

UPS() does work in Lua, but doesn't in C++, so what command is it?

Next thing I need to know is

well i don't know anymore -.-

I'll write that later

Until then

cya folks and thanks in advance

MrIslomaniac

Link to comment
Share on other sites

UPS() works also in C++, if you code your main loop correctly.

The raw version of the main loop should be like this:

UpdateAppTime();
UpdateWorld(AppSpeed());
RenderWorld();

but since everyone should use LEO Framework, it should look like this:

fw.Update();
fw.Render();

Ryzen 9 RX 6800M ■ 16GB XF8 Windows 11 ■
Ultra ■ LE 2.53DWS 5.6  Reaper ■ C/C++ C# ■ Fortran 2008 ■ Story ■
■ Homepage: https://canardia.com ■

Link to comment
Share on other sites

Yes, but then you don't use LEO, but only procedural C++. I think in the long run every game needs more and more OOP when things get more complex.

Ryzen 9 RX 6800M ■ 16GB XF8 Windows 11 ■
Ultra ■ LE 2.53DWS 5.6  Reaper ■ C/C++ C# ■ Fortran 2008 ■ Story ■
■ Homepage: https://canardia.com ■

Link to comment
Share on other sites

  • 9 years later...

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...