Jump to content
  • entries
    943
  • comments
    5,899
  • views
    923,763

Persistence


Josh

2,095 views

 Share

Version 2.32 is the biggest internal change in the engine in a long time. It's also the last time version 2.x will undergo this extensive of additions.

 

LuaJit2 was implemented for fast Lua execution. This initially caused some BMX programs to not compile with the included modules.

 

The rendering buffer storage scheme was modified somewhat in preparation for a new feature that is unannounced.

 

Roads and saved to and loaded from SBX files, so they don't have to be generated at runtime. This caused some problems initially, too. :P

 

A really efficient scene management system was implemented. This allows the engine to scale for very large games, especially when lots of small objects are off screen. It's a pretty advanced system, and there were initially some problems that had to be ironed out.

 

A lot of this is stuff I want to have in version 3.0. I implemented it in 2.x because I figured it would be easier to first write in BlitzMax, and then translate to C++ later.

 

This was probably the most difficult release we have done. ;) One thing that magnifies those problems is the number of ways we have you can use the engine. Executing scripts from the editor, generating Lua glue code, etc. These aren't bad when everything is working, but it magnifies problems when they arise, because there is more that can go wrong. In version 3.0, we have a more uniform design centered around C++ and Lua. You can still use other languages, but I think the process will be a little simpler for us and for you. Having a stricter separation between "edit mode" and "game mode" in the editor will also help.

 

Thanks to everyone who provided useful feedback this week, and happy coding.

 Share

5 Comments


Recommended Comments

Thanks to keep us informed, that's very important, i can smell the Global Illumination somewhere :lol:

 

I just hope that it will be possible without some hudge headache to convert a 2.3+ project to the new 3.0 engine.

Link to comment

Hi Josh,

 

Thanks for the post. Can't wait for 3.0 - I am genuinely excited to see what improvements you have planned in the area of more streamlined C++ and LUA implementations.

Link to comment

We are all proud of you Josh and whoever helped you out ofcourse 2. I can imagine

large updates like this one can pretty heavy stuff. But also the future

plans to bring more structure to game and edit mode coding is a good step. This wil

unite the programmers on the forum more since people will use the same code.

Link to comment
Guest
Add a comment...

×   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.

×
×
  • Create New...