BlueSkies's Recent Forum Activity

  • My first C2 project, Rebound is a remake of a game I made with Game Maker. I still had ideas I hadn't implemented, and I wanted to learn C2, so thought the quickest way to get to know how it works and how it differs from GM was to port an existing game rather than develop something entirely new.

    It turned out well, and though I ran into a few problems at some stages when I was trying to mimic some default GM behaviour, I find it noteworthy that I've managed to recreate the game exactly, even improve it, without any programming whatsover; this despite some coding being needed to finish the game during its development in GM.

    Rebound at the Scirra Arcade

    Feedback appreciated!

  • I was also sold on CS50x, it sounds like the best of all the programming/cs courses offered on the different sites.

    My uni work (English) starts this Wednesday but I'm looking forward to the CS more!

  • Watched the first unit of videos. Pretty interesting, I think I'll stick with it.

    Brilliant site overall. I've also signed up for some programming courses. Anyone know of any similar sites?

  • No, I've even stripped the project off all resources and events now, leaving one empty layout remaining; the capx is still 46.6mb. Uploaded below so you can take a look.

    dl.dropbox.com/u/91794570/reboundno2.capx

  • Ah, when I do that the resulting folder takes up just 800kb. But is there no way to reduce the size of the capx file?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Yep, I have.

  • I'd like to upload my project file in order to ask for help fixing a problem, but my project file is about 50 mb since it includes a wav file. I've tried deleting the wav file, but the project filesize remains the same even after I've done this.

  • Thanks again bWard. I decided to try without custom movement because it was causing one headache. I'm still no further on with bullet movement. Can I ask you what you mean by rounding the angle using bullet behaviour? When do you test for this exactly? On collision? Every tick? I tried both without success.

  • https://dl.dropbox.com/u/91794570/rebound.capx

    I'm using custom movement rather than the bullet and its in-built bounce functionality because I only want my ball to move at 45 degree angles.

    As you'll see in the capx file, I've managed to get the ball bouncing off the four sides of the box by testing for the ball's position relative to the box and flipping the horizontal or vertical movement accordingly. The problem comes when the ball collides with the corner of the box. In such a case I want both the horizontal and vertical movements to flip, but I can't seem to test for this accurately and without screwing up the rest of the ball's collision detection.

    Help much appreciated.

  • bWard, I haven't had an opportunity to try that yet, but it sounds like that tests for one line being collided with twice, whereas that's not the problem; the problem is that the ball collides once with 2 seperate lines, because they occupy the same space.

  • Superkew - That is the workaround I've currently adopted, I just thought there might be a more robust solution.

    Kbdmaster - I've looked for such an event but can't find it. The manual says it's under 'Special conditions' but I only see two events there: 'Is in preview' and 'Is on mobile device'?

    EDIT - Okay, I found it. It only shows up if the System event is a seperate event and not another condition to my collision event. I tried making is a sub event to the collision event, with the Reverse Custom Movement as its action, but nothing changed.

  • <img src="http://img.photobucket.com/albums/v43/hyudol/screenshot101.png" border="0" />

    In my game, the ball bounces against the player-created yellow barriers that you see. For this I've used the Reverse Custom Movement event. The problem arises when the player creates two yellow lines in the same place, one on top of the other, at which point I presume the ball bounces against both lines simultaneously, and runs the Reverse Custom Movement event twice, therefore the ball doesn't change direction.

    A related problem is with collision against the blue outer walls, which are made up of 32x32 tiles. Note the number on the ball. This decreases every time the ball bounces against a wall/yellow barrier, but sometimes, when bouncing against the outer walls the counter decreases by 2. I presume this is because the ball is bouncing at the point where two tiles meet, therefore bouncing against both and running the tile's collision event twice?

    Any workarounds for this double collision would be appreciated. Thank you.

BlueSkies's avatar

BlueSkies

Member since 22 Dec, 2011

Twitter
BlueSkies has 1 followers

Connect with BlueSkies

Trophy Case

  • 12-Year Club
  • Popular Game One of your games has over 1,000 players
  • Email Verified

Progress

14/44
How to earn trophies