aquadijoib's Recent Forum Activity

  • Hi,

    Im trying to build a capitalism simulator and I'm trying to get the time on how long the app was off. After that, it should be able to give the player the credits that he should have earned in that time.

    I really don't know how I can do these 2 things. :/

    Can anyone help?

    Thanks!!

  • Hi,

    I can't upload a screenshot but that's how it works for me:

    Global Number "NumberOfObjects" = 40 <<<<<(change this to the max amount of Objects that should be spawned)

    [Group] ObjectSpawn:

    System: Every tick

    ----------> (SubEvent) If Sprite.Count < NumberOfObjects -------> System: Create object Sprite on layer 0 at random...

    ---------->(SubEvent) If Sprite is overlapping Sprite --------> Sprite: Destroy

    Just do this if you want to stop spawning the objects:

    Sprite: Is NOT overlapping Sprite ------> System: Set group "ObjectSpawn" deactivated

    System: Sprite is NOT < NumberOfObjects ------^

    I don't know why i can't upload images :/

    I hope it helps

  • Hi,

    I want to play a video in the background of my game but when it's exported as an .exe or html5 it doesn't work.

    As an .exe it just shows a white screen and when it's an html5 export it shows a white screen and just the sound works.

    Does anyone know what to do?

    Thanks

  • Keep the original object out of the the Layout and then if you choose that object in the "create object" event, it should spawn it with the same settings as the original one.

    I hope I could help a little

  • Thanks for all your replies!

    I created a Textures folder myself and put in just grey textures with the same name as the real ones.

    Now everything works and i only had to replace them later!

  • zenox98

    I now have an Layout and an Event sheets file in there. Also the construct 2 project file and the .uistate file. There's no Texture folder. So so I have to create it?

    Thanks

  • zenox98

    i have an backup file and auto save too. I'll try unzipping it!

    Thanks

  • Hi,

    I have a big problem. My Game/App can't load anymore.

    If I try to load the capx this error shows up:

    Error loading project

    Failed to open project

    '//?/C:/Users/user/AppData/Local/Temp/cap14LM64/RETRO-Messenger.caproj

    Cannot find object texture file 'TiledBackground.png' in the project texture folder. Check

    the file has not been renamed or removed Under element: c2project / object-folder / object-type

    Line 79, column 9

    The file my be invalid. Try checking the file in a text editor (projects are saved in XML format).

    I don't know what to do. If I open it in a text editor it shows "random things".

    It would be really bad if the project is destroyed now.

    I hope someone can help.

    Thanks really much

  • Thanks!

    I will try that soon!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi,

    I created a level editor for my game and now when I import a created level in my game I let my game put the levels objects on the editor blocks that my editor made (with an for each command. Now when I start the game the for each command doesn't stop placing blocks so it places the blocks on each other. I wanted to delete the overlapping blocks so the blocks that are not necessary are gone and don't decrease the FPS. I tried it also with for each, is visible, is overlapping another object, on collision with another object and on collision at offset. But it always destroys all the blocks. At the moment I set an object count limit for each object type.

    Is it possible to set the object count limit the same as the amount of editor blocks that have the frame for each individual object playing (the frames "show" the game where to place which block).

    I coloured the levels objects in this text so you can distinguish it better.

    Thanks

  • briggybros

    Thanks for your reply!

    I did it now

  • Hi,

    I want to create a Level Editor and create many levels for my game so i can then put them as a JSON string in my game and play the levels.

    (I could create the levels faster this way)

    Im really new to arrays and I don't know how to use them to get the coordinates of the objects (sprites etc.).

    I found this Tutorial (https://www.scirra.com/tutorials/585/ho ... vel-editor) but it doesn't really describe how to do the things. <img src="{SMILIES_PATH}/icon_cry.gif" alt=":cry:" title="Crying or Very Sad">

    I also found this video on Youtube (

    Subscribe to Construct videos now

    ) which shows a Level Editor that's similar to that what i want to make. <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy">

    It would be really nice if someone could describe exactly how to put the coordinates etc. of the levels objects into an array then save them into a JSON string and then load them again from the JSON string.

    Thanks really much for replies! <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy">

aquadijoib's avatar

aquadijoib

Member since 17 Jan, 2015

None one is following aquadijoib yet!

Trophy Case

  • 9-Year Club
  • Email Verified

Progress

10/44
How to earn trophies