Timeshift3.0 game engine has completed the first phase of work today.

Source: Internet
Author: User

Wow, it's really not easy. It's almost a year. In the middle, it's been reworked twice because of the addition of COM. Today, we can finally enter the second phase of development.

Because this engine is completed for your own entertainment, it is not involved in commerce. It can be used freely for leisure and entertainment.

Ts3.0 has experienced the technical accumulation of ts1.0 2.0. the architecture is mature today. lua is the main logic development language .. it is bound to an OpenGL-based rendering engine. there are also ts game engines. currently, the Lua editor is better suited to this scenario. it constitutes the main framework of ts3.0.

Features of ts3.0:

Ts3.0 uses opengles2.0 as the standard and uses C ++ Lua encoding. Therefore, it can be used on different platforms, including Android. Windows. Linux.

Integrates many excellent solutions.

1. Lua is used as the script engine. It is mainly used for the development of ts3.0.Programming Language.

2. mygui excellent GUI for a Russian Eldest Brother. Sorry for yourCodeNote... Your mobao causes vs2010 to report a lot of encoding warnings. Therefore, delete all of them. Sorry... = ~

3. wow model. I am a poor guy and cannot hire someone for modeling... therefore, the wow model is plagiarized for your own use. I solemnly declare that... all models are blizzard. if you use a model to conduct business activities.

4. Boost. I believe you will choose STL if it is not enough.

5. Tokamak. As a tianchaoProgramDon't blame me for this. I used a very small physical engine written by someone in Japan. It is also my favorite physical engine.

6. cximage is a tianchao program. Many people prefer to use the messy image mode and have to use some open-source solutions. cximage is really good.

Because of the use of other people's things. of course, it is much better than the spam written by the monks. so we should first introduce the things of cool people. the following is the first game engine tool of ts3.0. it will be integrated into tsgameedit in the future.

1. luaedit. mainly develops the Lua editor. Although it is not very useful now, it is always better than debugging.

2. sourceedit. it is mainly used to package and edit resources. then you can use the Lua API to call it. it will be rendered later. (due to resource issues. it is mainly obtained from Wow)

3. shaderedit. similar to shadermonkey. you can load models. visualized viewing and rendering effects. debug is supported before .. now the core mode of opengl3.3 + is used. the syntax is too advanced. you have to change it. not Supported now.

Game Engine.

Currently, developers are mainly concerned with Lua APIs. This developer will write development documents and provide them to gamers.

The engine logic is separated from the rendering...

The logic top layer is Lua, followed by the Lua Script Engine layer corresponding to C ++. In other words, Lua only controls the logic .. the real rendering is done by C ++ OpenGL.

In both game UI and model scenarios, Lua is used to determine when to load and when to release. It provides maximum flexibility.

1. The model currently supports the OBJ m2 file format. The Collada support is not very good.

2. The scenario currently only supports OBJ files. There are two modes of octree. There is also BSP potal PVS. There is no scenario editor yet. Therefore, it can only be completed through 3D software.

3. collision Detection. it relies on the tokamak physical engine to complete the rigid body. because of the split in the scenario. therefore, the efficiency is good. currently, only a small range of collision detection can be guaranteed .. because it will be cropped in the distance. so it will not be captured by tokamak, so it will fall out of the world.

4. input. The PC uses dxinput.

5. Rendering. effects. Hot conversion can be achieved through Lua calls.

The first phase is about these things. Compared with ue, it is still very simple. The second phase of the game editor will be very good to join. Please look forward to it.

Timeshift game engine bate version: (the document is boring to write .... the second phase of development has recently started. document suspension. if you want to support some functions and Lua functions, you can directly report them to me. if there is a bug, you can leave a message for me ,)

: Http://dl.dbank.com/c0viiu4d12

Supplement: luaide usage.

1. F9 is the next breakpoint. You must first select the code line. Again, F9 will cancel the breakpoint.

2. When the breakpoint is broken, F10 is the next F11 line ..

3. The watch function is to check the variables. input the variable name and press Enter...

4. Stack is the stack. When you enter the function, there will certainly be a stack... you can click the stack in the window to return to the above level.

5. The global local window is used to check the global and local variables.

This ide does not yet support code prompts ~ It's a little hard to write, but it can be completed soon.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.