chrisbrobs's Forum Posts

  • Hello chrisbrobs

    Here is a quick example I through together for you.

    Platform Animation Example

    Hope this helps.

    Cheers Wink

    I wasnt even aware of...or used the the following actions / conditions:

    Set animation to "WalkRight" (play from beginning)

    Simulate Platform pressing Right

    Somebody needs to write a tutorial about animations for C2...unless its just me ?

    Thanks again.

    <img src="smileys/smiley9.gif" border="0" align="middle">

  • Try this link:

    Mirror

    <img src="smileys/smiley1.gif" border="0" align="middle">

  • For each object, there is an option to import as many separate animations as you want. Right click in the 'animations' box on the right of your screen when you are in the 'edit animations' window and click 'new animation'. Now you have the capability to add as many animations as you want for a single object.

    These animations can be changed and manipulated by the event sheet.

    Thanks for the reply,

    I have worked out how to create and import the animation frame's...

    I have a sprite with the following animations:

    Idle

    Walk

    Jump

    Fall

    For some reason I can't work out how to create the events to trigger each animation.

    (I am also using a dummy sprite with platform behaviour)

    Somebody must have posted a tutorial or example for this?

  • You could use:

    + MouseKeyboard: On Left Clicked on Sprite

    -> Sprite: Set 'drag' to 2

    + Sprite: Value 'drag' Equal to 2

    + MouseKeyboard: Left mouse button is down

    -> Sprite: Set position to MouseX, MouseY

    + MouseKeyboard: On Left mouse button released

    -> Sprite: Set 'drag' to 1

    sample cap

    <img src="smileys/smiley1.gif" border="0" align="middle">

  • I am still playing catch up with C2, and i am struggling to work out how to implement animations for a player using platform behaviour.

    Ive managed to work out how to import the individual frames but i am stuck.

    Is there any tutorials or examples i could look at?

    I searched but everything was for Classic.

    <img src="smileys/smiley9.gif" border="0" align="middle" />

  • Not seen a plugin for this....the Python example by ROJOhound is the only example i have seen.

    python

  • Prism was a tad slow on the load screen. But once it was past that it was just as quick as IE9.

    But it doesn't actually seem to create a desktop app. More seems to operate as an offline browser, storing the webpage files in a temp folder, then loads the offline content in a mini-browser like Opera mini with a shortcut directing to it.

    Checkout these guides 'Packaging WebRunner Applications'

    files

  • C2 itself (r60) runs a web page right in start-up (Start Page).

    But if you really want to get snazzy then download the source code for firefox and hard code the export files of your html5 app right into it. Kind of like a personalized web browser that only opens to your game. You can then leave it as a normal operating browser or delete the dialog boxes for the web address, change the buttons, graphics, etc to mimic your game. Sky's the limit.

    Tried that with Prism and WebRunner, but they dont work in Firefox7

    The standalone Prism App works but when you convert a C2 Game it is too slow.

  • You could create a shortcut to the index file, and place it outside the folder.

    How would you include this on a CD OR DVD ?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I am looking for a simple way to distribute C2 games without using the the Internet?...say on a pen drive or cd/dvd.

    I did a bit of research and came up with the following solutions:

    1, An exe. that triggers the index.html

    2, A bat. that triggers the index.html

    3, A cmd that triggers the index.html

    These methods will start the game without the user having to open the game folder and search for the the index.html file.

    examples

    Click on play1, play2 or play3 to start the game.

    Are there any other methods i could use ?

  • Thanks zenox98 <img src="smileys/smiley1.gif" border="0" align="middle" />

  • Bump !

    I really need to resolve this...I have included a spaceinvader game in the following link(cap)

    files

    Could somebody please download the files and create an exe out of the cap and let me know how big the EXE file is ?

    It only uses 2 plugins MouseKeyboard and XAudio2

    Before reinstalling everything the created exe was 22260 kb.

    After reinstalling and creating a new exe, it is 3420 kb.

    Many thanks in advance.

  • I was having a few problems with my P.C, so I wiped my hard drive and reinstalling everything.

    Everything working fine but some reason when i convert ANY of the caps

    (that i backed up and put back) to exe file's, the exe is about over 1200kb bigger than what it would have been before i wiped and reinstalled ?

    Anybody know what could be causing this? I havent added anything to ANY of the cap files, only altered some text.

    Heres a screenshot of two caps i have just converted (tonight) to prove it wasnt just a one off.

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

    <img src="smileys/smiley5.gif" border="0" align="middle" />

  • It's same error Iv'e experienced a few times. I'm sure it will get sorted when Ashley and Tom get back from their break.

    (I hope its raining !)

    <img src="smileys/smiley36.gif" border="0" align="middle" /> <img src="smileys/smiley36.gif" border="0" align="middle" />

  • I hope i am posting this in the right place?

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

    I am getting the above error, if i change events or add new sprites to an existing game and try to preview it.

    Pressing ignore will allow the game to run, but its really bugging me at the minute.

    I have seen various posts about sprites not having animation frames added, and different ways to save projects to avoid the error if using Windows XP......but has anybody got a definitive answer ?

    I havent posted any project files because it's happening to all of them.

    Another question...if i have projects created with r59, is there an issue opening them with r60.

    <img src="smileys/smiley19.gif" border="0" align="middle" />