chrisbrobs's Forum Posts

  • I have always used

    XAudio2: Autoplay file AppPath & "sounds\ambient.ogg"

    (when my sound files are in a folder called 'sounds')

    This works 100%.

    so you could use -

    Autoplay file AppPath & "mysound.wav"

    Also I noticed that your example uses brackets. I dont think you need them.

    good luck

  • Hi, welcome to the Crazy rollercoaster world of Construct !

  • chrisbrobs, cool game! I think you can just upload all the files to dropbox though, and people can play it directly in their browser without downloading/having to have WinRAR. That's what other people seem to have done, anyway.

    Thanks Ashley, will try that on next upload.

    Am i right in thinking the game 'files' will have to be in a single folder, with just a link to the 'index.Html' posted ?

  • Space shooter with sounds test

    (using R0J0hound's C2 Sound plugin)

    <img src="http://dl.dropbox.com/u/22173473/shooter.png">

    Control ship with mouse movement.

    Destroy the yellow aliens.

    Sounds play ok in Chrome.

    The sounds must be in the same folder as the index.html file.

    46 fps

    http://dl.dropbox.com/u/22173473/shooter%20sound%20test.rar

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Worth every penny. I have used many game development apps over the years (free and commercial) and none of them touch Construct. FACT.

  • My first game using the 'Bone behavior' option.(not really a game, more of a test)

    You've got 90 seconds to see how many over head scissor kicks you can score.

    <img src="http://dl.dropbox.com/u/15858089/Goal%21.jpg">

    Left right arrows to move, shift key to scissor kick.

    The little green arrows at the top of screen indicate where the next ball will appear.

    The ball must enter the net between the green arrows on the goalpost.

    Its all in the timing!

    Keep all the file in 1 folder for the sound to work.

    Rar file containing exe and sound file -

    http://dl.dropbox.com/u/15858089/Goal%21.rar

    Rar file containg cap and sound files -

    http://dl.dropbox.com/u/15858089/goal%20cap.rar

    (I managed to score 7 goals)

  • I was looking for the answer to this yesterday, these are the best examples i found -

    Example caps posted by Xeno and Minor

    http://dl.dropbox.com/u/1646976/pushing2.cap

    http://dl.getdropbox.com/u/1646976/pushing.cap

    or go to this page -

    http://www.scirra.com/forum/viewtopic.php?f=3&t=6866&hilit=pushable

    Good luck.

  • If you change or add the following settings, the player will not fall through the floor -

    1, mario - collision set to bounding box.

    2, Floor sprites - attributes solid and platform.

    Should work now.

  • Still not finished, but you can get the latest here (Maths teacher 2.5).

    I'm still trying to work out how to write the events for the math calculations.

    Then i will add the sound.

    http://dl.dropbox.com/u/15858089/Maths% ... %202.5.rar

    Estimated release date Feb 2100.

  • I was thinking of using the physics behavior, but then it's a pain to make every object it interacts with a physics object aswell.

    You don't have to make everything else a 'Physics' object. You can create a 1 sprite that using the 'Physic's' behavior, create an event that makes it invisible when the game runs and place multiple copies of it in your level where you need it (resizing the sprite as you go, not in the picture editor)

    Anyway post a cap when you have finished the game....I think i have got a copy of the original Halflife mod on my other P.C.

  • Hello JerryW

    After downloading the app you posted details about, i have had a go at creating something similar with Construct.

    Its not finished yet but you can download the first part here-

    http://dl.dropbox.com/u/15858089/Maths%20Teacher1.rar

    <img src="http://dl.dropbox.com/u/15858089/maths.png">

    Part1

    Contains all the graphics and test animations for the project (thats the hard bit out of the way)

    (I had to 'borrow' some of the graphics from your upload !)

    --------------------------------------------------------------------------------

    Part 2

    Not done yet, but i should have it finished by tomorrow and will post details here.

    In the meantime you can have a look at the events in the first part to see how i created it.

    I am not an expert myself, and there might be easier ways, but this is the way i would build it.

    If any one else wants to have a go at finishing the game then feel free to use / modify / improve the cap file.

    good luck

    P.S i got an E in maths and English.

  • Great plugin.

  • I have Just had a look at your cap, and would recommend that you use the 'Physics' behavior instead of 'Custom' for moving your crates. This will save you having to write extra collision detecting events, and will make your game look more realistic.

    Step by step for crates

    1, Remove the 'Custom movement for the crates and replace it with the 'physics' behavior.

    2, In the crates settings, tick the use 'Gravity' box.

    3, in the crates settings, set 'Collisions' to 'Bounding box'.

    4, In the spite editor, move the crates collision point to the center of the box (12x12)

    Step by step for the floor

    1, Assign the 'Physics' behavior to the floor(to stop the crates falling through it)

    2, DONT tIck the use 'Gravity' box for the floor, for obvious reasons.

    3, In the floors properties settings, tick the box that says, 'Immovable'

    4, in the floors properties settings, tick the box that says "solid"

    5, In the Event editor, remove any leftover event lines concerning the crates custom movement.

    if i have left anything out, or it doesn't work, you can download an amended cap here-

    http://dl.dropbox.com/u/15858089/Partial%20ex%28gravity%29.cap

    Good luck

  • Frogger game clone

    http://dl.dropbox.com/u/15858089/Frogger%20clone.capx

    Construct 2, version 27

    Use the arrow keys to guide the frog to the fly.

  • Simple animation test

    Use left arrow to run (player wraps to screen)

    http://dl.dropbox.com/u/15858089/Simple%20animation%20test.capx

    Made with release 27.