JohnnySix's Forum Posts

  • What image editor are you using?

    I think at the moment, if you're saving your images to any other format than RGBA PNG, then matting and other artefacts can be a problem.

  • Got scores working! Now to figure out an elegant way to make them do some kind of totalling thing like the 'cashing in' at the end of each Sonic Stage.

    <img src="http://www.johnnysix.net/games/Bang/Preview06.png" border="0" />

    Post your high scores.

    Bonus points yet to be awarded for playing while holding down spacebar.

  • That's the skill - the faster you're moving on the x axis, the faster the ball will rebound when it hits your head. :)

  • I solved it - it was an issue with the "minification" - I just exported without it, and there is no crash, give it a whirl. :)

    reposted updated graphics :

    <img src="http://www.johnnysix.net/games/Bang/Preview04.png" border="0">

    <img src="http://www.johnnysix.net/games/Bang/Preview05.png" border="0">

  • Yeah, it's really odd, I don't know what's causing it, maybe if I don't "minify" the script it'd help, it works on LocalHost no worries. :-/

  • Updated again, made the sprites 15.9px, so with pixel rounding they appear 15.9, but for collision, they don't overlap.

    Still getting the freezing issue online, but works fine offline (never frozen once on localhost)

    Anyone else had this?

    Here are some shots of the updated graphics :

    <img src="http://www.johnnysix.net/games/Bang/Preview04.png" border="0" />

    <img src="http://www.johnnysix.net/games/Bang/Preview05.png" border="0" />

  • I changed the sprites, now it's behaving even stranger.

    The blocks were 32x32 scaled to 16x16, I then replaced them with 16x16 sprites 1:1 ratio, and now it's slow as hell, no other tweaks!

    Anyone else played with a lot of physics objects at once?

  • It works fine on localhost, it seems to bug out like mad when hosted. Not sure what the issues is, part of the fun should be that if you roll the ball across the top of the blocks and hit a green multiball block, you spawn 10-20 balls that roll around and destroy more blocks. :D

    They're set to trigger torque and small upwards impulse to prevent balls sitting still when resting on a block.

    Hard Refresh the page, I've added better ball control, new fonts and a title screen among other things. :)

  • I'll work on the falling block vs balls, I can turn off collision on the ball while it's in the lower zone perhaps, and have only blocks collide with each other.

    I've requested the guy who made the song if I can have the separate vocal and backing tracks, to make the blocks trigger the 'bang' :)

    Have you noticed it crashing/freezing on chrome if you bounce the ball onto the top?

  • I was curious to experiment with this - as I may use something similar for an enemy turret behaviour in a platformer I'm working on.

    Ignore the shoddy graphics, just whipped up some placeholder - you get the idea :

    Sine Shooter

    The method employed in the example is to attach a sine-movement (angle) controlled sprite attached to the cross-hair/mouse position with the magnitude increasing in proportion to the distance the cross-hair is away from the ship.

    Download here : SineShooter.capx

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I had my mother come round while the reply was open haha - what the post above this says.

    I made a quick example, I'll upload later, you can set a random offset to the mouse to point the bullet in

    spawn bullet

    set angle of motion angle(bullet.x,bullet.y,cursor.x,cursor.y) and random numbers to cusror coordinates.

  • Updated , link still the same - added pixel score and ball counters with Mipey 's Sprite Font Plugin

    Still to add a winning screen, loading etc, and more levels.

    I'd like to explore some kind of image to array thing to turn gif or png sources into blocks for playing. :)

    Scores/Ball Counter :

    <img src="http://www.johnnysix.net/games/Bang/Preview02.png" border="0">

    Multiball!

    <img src="http://www.johnnysix.net/games/Bang/Preview03.png" border="0">

  • Really love this plug-in - it's the final piece of the puzzle when it comes to getting an polished look for a game.

    Click to play

  • Thanks, that helps a lot,I had a look at the attached, and I will go with families for now.

    I was just wondering if there was something simple that I was overlooking like :

    Sprite1 on Collision with Sprite1

    Sprite1(Self) Score+=1

    Sprite1(Other) Destroy

  • Ah - so - 1st would be 'self', 2nd etc would be 'other', if I understand correctly?