Calfuso's Recent Forum Activity

  • Post a capx, I'll try to help

    I prefer to keep my project private so don't look deeper into the project then necissary. I have made it so you start at only seeing the player sprite and one platform. Hopefully so is that all you need to see of the project. If i make a new layout the player sprite is visible but it needs to visible on all layouts. Down below is the link to the capx. My project takes up alot of memory. So now you know that and don't need to commentate on that.

    https://www.dropbox.com/s/146guv3inp8t8 ... .capx?dl=0

  • You have a C2-License, so start your layout in debug mode.

    Select the player sprite object. It should be marked with a red box around it. If you don't see the red box, the sprite's position is not within camera view.

    If you see the box, but no sprite is shown, check:

    the player sprite objects opacity, visibility, frame, animation, layer.

    If opacity is 0, you will not see it.

    If visible is false, you will not see it.

    Check in the editor if the current frame of the playing animation contains a visible image.

    Check the point of Origin - maybe it is far off the edges of your character's image and thus your sprites position is way off.

    Check if other objects share the layer with the sprite or are on a layer above the player sprite and if so, if they

    could overlap it (Z-Order).

    I started Debug mode. I can see the player sprites hitbox but not the image. The player sprites visibility is false. So that is the reason why it isn't visible. But when i click on the true option it goes back to the false option every time. I re tested and re tested but it always goes back to the false option. What should i do to make it stay at the true option?

  • Maybe it is on the wrong layer? I.E. there is a layer on top of your sprite player that is hiding it and making it invisible?

    It is on the same layer as all the other sprites. And no, no sprite is over it. The players prite is on top of layer and is still invisible for some reason.

  • I have just managed to preview my game again and i immideatly ran into a problem. My player sprite is invisible. I don't know why. It doesn't have any behavior or any event connected to it that should do that. I have images for it. So why is it suddenly invisible when i don't want it to be?

  • Try Construct 3

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

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

    > > Be sure to Troubleshoot your preview server.

    > > Also in your other topic you mention JavaScript errors (possibly due to some third-part addon) and the messages ends by "Subsequent failures will be logged to the console".

    > > As such be sure to check your browser for said errors, this will give you further clues as to what is going wrong.

    > >

    > > Or at least that should be informations you add to this topic.

    > >

    >

    > I have the configurations set to chrome. I have chrome i have aleways been able to run my project whit it. I have tried other browsers but the same problem appear.

    > I have always gotten one error message when i have previewed my game and it ha still worked. But now i get a second error message that i described in my other thread and i assume that error message indicates that i can't preview the project. I don't know what problem it could be whit my browser or any third party plugin error. My project takes up alot of memory. 513 MB to be exact. When i first couldn't preview my project it took up 597 MB. So i assumed that the project taking up too much memory could be the reason so i did all i could to lower the file size. When my project took up 513 MB before so could i run my project. So if space is the issue i don't get why it doesn't work now. How much space can a construct file take up and still work? Is there a way to lower your file size by alot? This is all information i can give. If this doesn't solve it so do i share the capx.

    >

    The file-size isn't that important, but seeing that size I'm guessing you are using a lot of image memory..

    Could you lower the amount of images and/or the size of them?

    Like i said i had use a tehcnique to lower the size of alot of images by alot. I had one sprite in the layout that contain 97 frames whit every frame having a image that took up 2.5 MB. I didn't want to have to change all these images into lower size images. But i still tried to delete that sprite and 120 MB disappeared and i can run the layout again. So size was the issue. But still i could ran the game before whit the project taking up over 500 MB and now i needed to lower the sixe to 390 MB to run it so something must have happened still. I use a technique to make my images take up less space then before so i won't reach the former file size again soon but i will probably do it eventually so i hope theres a way tl still make it run then. But that's for a other time, i can run my game again and that what's matter.

  • Be sure to Troubleshoot your preview server.

    Also in your other topic you mention JavaScript errors (possibly due to some third-part addon) and the messages ends by "Subsequent failures will be logged to the console".

    As such be sure to check your browser for said errors, this will give you further clues as to what is going wrong.

    Or at least that should be informations you add to this topic.

    I have the configurations set to chrome. I have chrome i have aleways been able to run my project whit it. I have tried other browsers but the same problem appear.

    I have always gotten one error message when i have previewed my game and it ha still worked. But now i get a second error message that i described in my other thread and i assume that error message indicates that i can't preview the project. I don't know what problem it could be whit my browser or any third party plugin error. My project takes up alot of memory. 513 MB to be exact. When i first couldn't preview my project it took up 597 MB. So i assumed that the project taking up too much memory could be the reason so i did all i could to lower the file size. When my project took up 513 MB before so could i run my project. So if space is the issue i don't get why it doesn't work now. How much space can a construct file take up and still work? Is there a way to lower your file size by alot? This is all information i can give. If this doesn't solve it so do i share the capx.

    When i try to preview my game this message pops up:

    Assertion faliure: Project model unavailable

    Stack trace:

    Error

    at Error (native)

    at assert2 (http://localhost:50000/preview_prelude.js:16:10

    at Runtime.loadProject (http://localhost:50000/preview.js:151:41

    at XMLHttpRequest.xhr.onload (http://localhost:50000/preview.js:412:11

    Subsequent faliures will be logged to the console.

    After that so does the loading icon never pop up so the preview never starts.

    What can i do to make me able to preview the layout?

  • What could the reason be for it not working?

  • How do you make a sprite move in 112 degrees and 247 degrees whit the 8 direction behavior. I tried using the bullet behavior but it doesn't move in the rigth angles.

  • By default the rotate behavior makes a sprite rotate to the left and there seems to be no way to change that. How do you make it rotate to the rigth?

  • How do you make a sprite move left whit the platform beahviorwhen it comes on screen pass the player and change to moving left when it passed the player and change to moving rigth again when it passed the player twice so it basically follows the player. I tried whit compare x but it doesn't change direction.

  • I have a sprite that begins whit moving whit the 8 direction behavior. Then i have made it so it changes from 8 direction to platform movements. It changes from 8 direction to platform sucessfully. But then i want it to change form moving left to rigth once it touches a edgemarker. For some reason does it not work. It stops moving when it hits the edgemarker but does not move to the rigth. Making sprites move left and rigth has always worked in other circumstances so why does it not work just becuase it changed from 8 direction?

Calfuso's avatar

Calfuso

Member since 23 Jun, 2015

None one is following Calfuso yet!

Trophy Case

  • 9-Year Club
  • Email Verified

Progress

10/44
How to earn trophies