SteveTheFool's Forum Posts

  • 14 posts
  • I remade my game from scratch last month and just knowing what i wanted to achieve and what things are possible made things alot easier because of the practice and experience of the first time.

    So just keep doing it. and if it gets too messy, bite the bullet and start from scratch, it will save time in the long run.

  • The last two paragraphs are what im trying to get used to at the moment.

    Alot of things dont seem to work how i expect them to but i get better every week.

    Ive been doing this for about 7 months now and my previous experiance was the game maker in little big plannet 3 and making music on DAWs so although the skills transfer its quite different.

  • Thanks for all the info.

    I looked at that event alot and i tried changing a few things but obviously i kept missing it.

    i thought that because the player1 sprite had been destroyed it was no longer below the destroy line and shouldnt be triggering, this is what i thought i checked.

    I know about alot of that stuff but i had alot of trouble with de-activating the groups before so i thought i would try somthing else.

    Thank you for taking the time to help me learn, i really appreciate it.

  • Thanks, break points will be very useful.

    I looked back at my old project file and that event isnt causing the problem, im not sure what i was thinking when i made that example, i was tired and didnt double check it.

    While i was looking i still couldnt figure it out using break points.

    Just incase you wanted to look i uploaded the file here, its alot to go through for someone else so i expect nothing.

    ufile.io/7hwygxc6

    Its the very start of a game remake so its all over the place but to recreate the bug you do the following.

    open the project

    run project in debug mode

    click the new game button

    move left with A (on the keyboard) until you are infront of the green classic sprite

    stop and jump using space (on the keyboard)

    then when the game start walk off the platform to kill yourself.

    this is when the cpu/drawcalls go up

  • Im clicking a sprite and an event will trigger, everything in the event will work except loading a layout, but it works on the second click.

    other events the load layout wont work at all but everything else in the event does.

    this never happened before.

    i tried uninstalling all addons but it is still happening even on old saves.

    any one have any idea why this might be happening?

    EDIT: It seems to be somthing to do with the draw calls, all sprites seem to be destroying themselves and coming back constantly but i dont have any code that can do that as far as i can see but il keep looking.

    EDIT 2: It was somthing to do with a particular layout, i have no idea what but when i bypass it everything works fine.

    there were no create or destroy commands anywhere for these sprites and i checked to see if the layout could be closing and re loading or somthing like that but i really dont think it could be possible.

    anyway like i said i bypassed it but if anyone has any idea what could have happened let me know because i feel like knowing what went wrong could really help.

    il see if i can upload the project just incase anyone is interested or bored.

    EDIT: i deleted most things so it goes straight to the problem when previewed, just ignore all the sprites and global variables, like i said it was the start of a game before.

    ufile.io/fxv6ttn6

  • Im copy and pasting a sprite with a clear background and it fills with a black background. it never did this before.

    have i clicked somthing to change this without realising?

  • im pretty sure i read somewhere in the documentation or tutorials that html5 or chromium based requires and input for sound, it cant be automatic. something like that.

  • did you ever figure out the problem?

  • maybe you could make to background rotate when you press the directions and have the sprite rotate in the opposite direction?

    just an idea, im new to this.

  • I swear 10 minutes ago this was loading properly but now its not.

    the save was working but i couldnt get it to overwrite the file, it just kept saving scores.json(1) scores.json(2) and so on but would only load scores.json

    ive done tutorials and read my things but just cant figure it out

    any guidence would be appreciated

  • it might also be because the sprite had -set posistion to- every tick so it was re setting it. i noticed it was working against a wall and not waorking when going across a room.

  • i think i figured it out.

    it seems -stop animation- needs to be used with -on pressed- not -is down- for what im trying to do.

  • other events change the animation so i cant use set animation here.

    im not bothered about the rotation that is sorted in my game.

    am i right that the set up i have should play the animation when walking and stop when not walking?

    because i had a very similar set up a few days ago but now it seems to be inverted and i cant figure out why.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • im sure im missing somthing simple because it was working fine one moment then reversed after some tinkering.

    i got rid of almost everything and the problem is still there.

    i deleted everything and started building it again using the same sprites.

    i saved a file with the bare minimum to see if anyone can tell me if there is some kind of inverted animation option selected or somthing.

    im not sure how to share it on this site so ive uploaded the file here.

    ufile.io/cq1pdwxx

  • 14 posts