Lirical's Forum Posts

  • 4 posts
  • I saved the game manually yesterday before I slept. Today, I made 4 hours of progress on my game, and it autosaved a lot of times. I shut down the PC and when I turned it back on and opened my game file it was yesterday's manual file that appeared???

    Am I clicking the wrong file or something?

  • So, I've made a bow that every tick sets its position to the player and the angle to the mouse, and when I press click a firing animation triggers and an arrow (bullet) is created with speed 0. Every tick, if its speed is 0 it teleports to the string's position until the animation is over after 0.4 seconds and its speed is set to 2000, making it not teleport to the string anymore or set angle towards the mouse every tick, making it fire. But when I play it sometimes the bullet does follow the angle it was at when I set its speed to 2000 but sometimes it just goes to a straight line for no reason, which doesn't make sense considering this same bullet was angled towards the mouse when at speed 0.

    Important things to note:

    These events are at Layout 3 at the ElPatoArco group.

    The bullet is called Flecha and the bow ArcoElPato.

    When the bow is not in firing animation the arrow is not there, it's just drawn into the bow but when the firing animation starts it is not drawn in anymore and is a real object.

    Here is the project:

    drive.google.com/file/d/1Vv0_avfuKrmBroijVDwXfJFbnmsxmA4e/view

  • You want to use 'Else' in this case.

    I can't seem to fit the "else" event. Is that only available for construct 3? This says so construct.net/en/tutorials/guide-to-construct-2s-advanced-event-features-158

    Or is there an update for cosntruct 2 that allows that?

  • I want the button 1 as a toggle between global variable "ElPatoArco" 0 and 1, so I've made these 2 events. On pressing button one though, it doesn't work. Maybe the moment I press 1 it switches ElPatoArco from 0 to 1 and that makes so that pressing 1 makes 1 switch to 0 and they end up in this infinite loop. I'm not sure though, tell me if it's supposed to work and I'll restart but if they do indeed cancel each other out please let me know and offer an alternative to toggle variables (if you can)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You do not have permission to view this post

  • 4 posts