Announcement

Collapse
No announcement yet.

Building in the game and saving the result

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Building in the game and saving the result

    According to the concept of the game, all buildings and vehicles are built from modules, directly in the game. The selection of the module from the widget, placement and orientation have already been implemented. It is not possible to correctly organize the calculation of modules installed in space, record and load the result.
    Click image for larger version

Name:	s5.jpg
Views:	23
Size:	189.3 KB
ID:	1371083Click image for larger version

Name:	s4.jpg
Views:	23
Size:	235.3 KB
ID:	1371085
    Click image for larger version

Name:	s3.jpg
Views:	25
Size:	303.4 KB
ID:	1371087Click image for larger version

Name:	s1.jpg
Views:	24
Size:	343.0 KB
ID:	1371086
    Click image for larger version

Name:	s2.jpg
Views:	26
Size:	281.6 KB
ID:	1371084

    #2
    Where can I read, how to organize the data correctly, in order to preserve the state of the game. Then, accordingly, you need to organize the saving itself, and after loading the data and deploy. Perhaps there is a way to somehow read all the changes in the level and release this state at boot time?

    Comment


      #3
      Technical demo, where you can fly a little over space and build a space station by selecting blocks from the widget button "C" and set them as you want, rotating in one plane with the mouse wheel, moving the ADWS ship (QE), clicking the installation (right click cancel) . On the "V" remove the unnecessary block. Acceleration of the left ctrl (back) and the shift, to the backspace fast forward. At "P" pause, save and exit.

      Now you can save what you have built, make screenshots, record the video of your creations, and our team will continue to work. (Win64) build up orbit

      forgot to take into account such a moment that the links to the object can lose relevance even directly during the execution of the application, they are trivially removed by the garbage collector. What can I say about trying to save information in the form of links.

      The structure of the objects of the class is already available, from it there is a choice of ectors for placement on the stage. Therefore, instead of referring to the ectors, it was necessary immediately to take the corresponding elements from this structure.

      Comment

      Working...
      X