Thank you really much! I havent seen it. Do you have a more efficient solution for the inventory?
:)
Please download the capx. Inside it is shortly described.
The problem is that if you collect the same object multiple times, it jumps to the next row in the inventory. I dont own the capx, its just modified. :D
best regards!
Capx Link: http://www.mediafire.com/file/467qfv4krqecr9t/game.capx.backup1/file
Ive made a blocky game. I can build structures out of blocks. Now I want to save a structure (made of multiple instances of one block-object(different animationframes)). How do I save such a structure as json?(available on other computers) Maybe with an Array or dictionary? Please, can you give me instructions or even better a small example capx. Best regards!:)
I only need to store the position and the texture. Possibly a health variable. Do you know a similar topic or can you create a Small example? And is it possible to spawn enemies with this method?
Best regards!
Develop games in your browser. Powerful, performant & highly capable.
But There is another thing, what I´m unable to do. How do i save a construction as JSON? It should be possible to load ships on other computers from it. :))
I´d like to spawn for example this structure.
I have Made a blocky space game. Now I need enemies. How do I spawn enemies which I made of blocks/instances in the Layout Editor ingame? :)
I found a solution under use of your work. Thank you for your help!
Best regards! :)
http://www.mediafire.com/file/3mpyah6jz11g769/try.c3p/file
Thanks for taking your time! Your excellent work helps me really much.
I try to pin all objects to the green "Pintosprite" and destroy the rest. It has the car behavior. My capx isnt working, but do you know, what i mean? ^^
Thank you very very much! Your grid is better then my method. ^^ But there is one problem left. When blocks are getting destroyed ingame, and Im not in the Viewport, the cam isn`t able to center farther. Is there a way to center without the viewport?
Thanks for help!
Thank you so much! But this is done with the screen size, i think. I have to find the middle of the green frame (which is movable and bound to layout, because Layout is bigger than the screen). Im to stupid to do that ^^. Please help me.
Member since 23 Feb, 2019