dastmo's Recent Forum Activity

  • - I can't open the file, since I still have version 233. I guess the Steam release is yet to be updated.

    - This actually sounds like a solid idea.

    However, I found an easy fix, using MagiCam. I set the camera to follow all "players" and to set the zoom so all followed objects are in view.

    Thanks a lot for the help to both of you!

  • I registered 4 days ago, found the site 6 days ago... I already have Fanatic and and that silver badge for 30 consecutive days.

    EDIT: While writing this, I got a second Fanatic badge.

  • Hey guys.

    I'm making a top-down local multiplayer racing game, but I have a problem, which I can't address. I need to make sure to place the camera between all of them (at the midpoint) and I scale the layout enough, so all players come into view and none of them is off-screen.

    I managed to do the first, but I can't figure out how to know, when all players are in view and how to make a bulletproof scaling formula for that. Can anyone help on that?

    Thanks!

    EDIT: .capx file can be found here:

    https://drive.google.com/file/d/0B3B2L_ ... sp=sharing

  • Hi!

    I'm Damyan, but usually go by "dastmo". I'm a hobbyist programmer, work in the IT sector (display ad monetization, actually) and strive to become world's top entertainer (mostly through books, but video games work too). Oh, I also play bass.

    Since I'm an avid gamer, I've had a few tries to developing my own games. I was introduced to Construct 2 by Steam and I was hooked the moment I tried it. It's very simple to use, yet extremely powerful. I'm loving the engine so far!

  • Crashes like, the car sprite bugs out, displays at its default angle until the next button press, which would modify the car's movement. The next button pressed makes the game destroy the car instance.

    The max speed thingy is a workaround for a simple gears system. I'd like the car to go back, only when it's in reverse gear and the Up Arrow is pressed. So, to do that I have the following condition:

    • Down arrow is down && Car speed <= 0 && gear (instance variable) <= 1 : Set Car max speed to 0

    Once the down arrow is released, though, the car's speed is reset every tick. So, basically, while brakes are being pressed, max speed = 0. While not - max speed is reset every tick.

    Would there be a better way to disallow the car to move back without being in reverse gear?

    EDIT: I actually found a solution. Steering is now being simulated only if speed > 0. When the max speed = 0 and steering is active, the instance bugs out, so I implemented the speed check.

    EDIT 2: The first edit still had flaws. But I made it happen! And it works flawlessly with a completely different approach. I don't mess with max speed, but with acceleration, deceleration and current speed. Link to the event sheet below (top three are in System Every Tick):

    goo.gl/Xu1qmr

  • Try Construct 3

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

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

    I'd like to ask a question, since my game crashes in very peculiar circumstances.

    I'm using Simulate Control for a top-down car-based game. However, when I am breaking and steering at the same time, the sprite I use for the player crashes. Now, there's some backstory to this.

    I have events with the following conditions (among others, but I think these two conflict in some way):

    1. Down arrow is down && Car speed <= 0 : Set Car max speed to 0

    2. Right Arrow is down : Simulate Car pressing Steer right

    3. Left Arrow is down : Simulate Car pressing Steer left

    Could the steering conflict with the max speed = 0 thingy?

    Thanks in advance!

dastmo's avatar

dastmo

Member since 11 Oct, 2016

None one is following dastmo yet!

Connect with dastmo

Trophy Case

  • 8-Year Club
  • Email Verified

Progress

9/44
How to earn trophies