[SUGGESTION] Save to Object

0 favourites
From the Asset Store
Match the similar cards with each other and free all animals!
  • I would like to request a feature "Save to Object" it would do like occlusion culling for the big world games, don't feeling to manage a big list of JSON strings.

  • you mean saving array into objects ?

  • Darklinki Yes, it's kind of this, a layout has more than 1,000 objects it would affect the performance, then we use Save to Object as enemies and life props, each zone by grid, Zone A it would load 20 enemies and some props, in total 50 objects instead of 1,000, if the players enters Zone B from Zone A, it destroys everything have been in Zone A and load objects with "Zone B" tag. It's like occlusion culling, I hope you understand.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I would appreciate if someone likes this idea, it should not to complicate our life.

  • Perjust haps I am not understanding. But could you not just set to invisible when out of view. Then make visible in view would that not speed things up as far as drawing time?

  • Games Invisible objects don't change the performance, they need to be destroyed, if is back, they should to be loaded with saved data.

  • Joannesalfa

    Your idea is kind of like the original spelunky If I am correct:

    In the original spelunky, every object outside an area ,bigger than the screen, around the player don't exist; they exists once more when the player come close enough. But in your case, it could be a fixed area like in pok?mon Red/Blue/yellow (when you leave a town, people and events diseappear), also reminds me of megaman and other zelda <img src="smileys/smiley2.gif" border="0" align="middle" /> (not for ennemies, but for key objects that sometimes would be difficult to get the track of).

    If so, I second this, we could build bigger level that way without too much trouble, but we have to be aware of problems that come with it (in the original spelunky for exemple, a bullet that go outside the active area stop existing, when you go all-around the area, then comming back the other side, the bullet is back, and you are kind of dead if unlucky)

    EDIT: But I am not sure if destroying/recreating is a good way to go

  • Aphrodite Did you mean about the frozen region?

    http://spelunky.wikia.com/wiki/Frozen_Region

    Yeah, it's kind of it, but if you played GTA, it has huge open world, it has a mechanic is called "Draw distance" when a player goes to reach the distance to load the new models and props, then destroy the other models and props which are out of distance. I think Save to Object would be an important feature for the open world. Based plugins by Rexrainbow's plugins such as Sprite Bank and Instance Bank.

  • Did you mean about the frozen region?

    http://spelunky.wikia.com/wiki/Frozen_Region

    Yeah, it's kind of it, but if you played GTA, it has huge open world, it has a mechanic is called "Draw distance" when a player goes to reach the distance to load the new models and props, then destroy the other models and props which are out of distance. I think Save to Object would be an important feature for the open world. Based plugins by Rexrainbow's plugins such as Sprite Bank and Instance Bank.

    Joannesalfa : yes, I meant that ^^

    I also think that it could be awesome for an open world game, , but how much memory will it take? But a behaviour "Save datas" or a plugin Save datas of object could be in theory doable, just not sure how much time it could take to implement in C2, also when updating the game, could it has problems with the old vs new elements.

  • Aphrodite

    This is not normal "Save Data", it's more like storing objects in session I don't think it could cause the problem with old and new elements because we use session, however it depends on your game design, when quits the game, clear the data of session but mantain the whole game if you use normal "Save Data" with slot of player.

  • Bump, we might require save to object for special functions.

  • Hello,

    Couple of days ago I've requested Object as json string, because of similar reasons. I wanted to save each object in to the array, and then easily load it. Have a look. I think that's what you want too - to be able to save a map and then easily load it, right?

    [Request] Object as JSON string

  • megatronx I know I've managed to get some strings to each object, but it's pain in the ass, we really need a feature.

  • No, It's about saving the whole object with everything in there as string.

  • megatronx I don't know what you mean, it seems current "save and load" feature.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)