wmsgva's Forum Posts

  • Yes, the files are part of the game.

    It's not a major issue, but as there are many files, the organisation on the file server would be better if C2 copied them into specific directories, rather than copying them to the same location as the core files game files.

  • The serious game I'm working on has many video and pdf files on top of the usual image & sound files.

    Although these are sorted into directories in the project panel, when C2 exports to HTML5, only the images & sounds are placed in proper directories and all other files are just copied at the root.

    Does anyone know if it is possible to customise C2 to have it create a structure under the /media directory which would be the same as the one you have in the project panel, e.g. /media/video and /media/pdf ?

    This would probably be quite easy for Scirra to manage and would be useful for large projects if it's not currently possible.

  • Hi Rex,

    It works fine with the new property & action.

    Great job, thanks.

  • Love your plugin Rex, it's great.

    Just one issue. I need it to be initially invisible, but unlike the standard Video plugin, your player plugin doesn't have the "initial visibility" property or the ability to set visible/invisible from code using the "Set Visible" action.

    Could you add this to the plugin? I could edit the js code, but I always prefer if the author makes changes to their own plugins (ensures we all have the same version).

    Thanks for this.

  • Ideally would be better for the programming role to be close to Geneva, as distance coordination in this area can be tedious.

    The development being a serious game, it involves both game and educational aspects. The software is already fully functional, but help is needed to add new features.

  • We are a team of three (programmer, graphic artist & marketing/commercial) currently working on a serious game

    to help make company employees more sensitive to cybersecurity issues (you may visit our website, securitygame.biz

    to find out more about the game - in French only). We are based in Geneva, Switzerland and are looking for

    some people to reinforce our team.

    Several clients have a strong interest in purchasing our game, so we need to get it finished FAST!

    If you're an experienced C2 developer or a graphic artist with video game experience (use of 3ds Max and Photoshop), preferably

    living close to Geneva, we would like to hear from you.

    We can't currently offer salary, but you can either freelance and be paid after the game is launched or become a partner

    in the project and benefit from a share of future sales. If you're interested or want to know more about this, just respond

    with an email address to receive further information.

  • I have been working for several months on a serious game known as "Security Game", which is designed to help make people in companies more sensitive to cybersecurity issues.

    The game's code is ready and my graphic design partner is working on the missing scenes of the game. The solution uses a scenario management

    engine I wrote, which allows for an external scenario to be used with an XML file (allows for the game interactions to be changed without having to "write"

    any new code in C2). Basically, you can add a new scene and player interactions without using any new code.

    A video of the game can be seen here: youtu.be/BBTyPgt7euU (you may want to change YouTube's default setting to 1080p HD)

    The video shows the game with the French language enabled, but the game also works in English (all text is an external XML file, making it very easy to

    translate to other languages if needed).

    Feel free to ask any questions and provide any interesting feedback you may have.

  • Animate : I have also noticed this issue regarding a delay before the stream starts playing. Not really sure what the reason is, as there is no delay applied in the code.

    : The needs you expressed would require extending the plugin. As I haven't much time at the moment to work on it, I will only be able to at a later time.

    In both cases, I would really love Ashley to add this streaming facility to the platform's standard audio plugin, as it would make sense.

  • Most browsers now prevent the Window.close method from working in JavaScript if the window wasn't opened by the script for security reasons. The C2 Browser.close therefore doesn't work when exported as html5.

    The only way around this would be for C2 to modify the index.html it creates when exporting a game for browsers by executing a window open self before launching the game. It would then be allowed to close this window from the browser I expect.

    Perhaps Ashley could confirm and if possible update for a future release?

  • BeckettGaming I thought that it may have been what you were talking about, but this is not the issue. I just happened to have left the sprite animation speed in the Capx I saved at zero (sorry for the confusion), but you will notice that if you set it at another value, the problem is not solved unless you add the "Set Cursor to Normal" before setting it to one of the sprite's frames.

  • BeckettGaming Not really sure what you are suggesting? There doesn't seem to be any mouse animation speed setting action in Construct 2.

  • Problem Description

    When using Mouse.Set Cursor from Sprite, an issue occurs for animated cursors under Chrome & IE

    Attach a Capx

    See the example Capx here: dropbox.com/s/ilpiesz9r0zkfsu/Cursortest.capx?dl=0

    Description of Capx

    If you run this Capx, you will notice that the sprite displayed on the layout for test purposes is animated, but not the mouse cursor. If you edit the code to replace "action1.png" and "action2.png" with "press1.png" and "press2.png", you will notice that the cursor does animate properly with these other images.

    See forum thread: scirra.com/forum/issue-with-using-images-for-mouse-cursor-animation_t150940

    Steps to Reproduce Bug

    • Create a sprite with several animation frames
    • Run animation and have code with ->Sprite.On Frame Changed : Mouse.Set Cursor from Sprite
    • Execute using Chrome or IE

    Observed Result

    Mouse cursor should be animated, but instead only shows one of the sprite's frames

    Expected Result

    Mouse cursor should change with each of the sprite's animation frames

    Problem is solved if you use Mouse.Set Cursor to Normal, then use Mouse.Set Cursor from Sprite, but this should not be needed or

    should be part of warnings in the user-manual.

    Affected Browsers

    • Chrome: YES
    • FireFox: NO
    • Internet Explorer: YES

    Operating System and Service Pack

    Windows 7 Professional SP1

    Construct 2 Version ID

    R206

  • korbaach Thank you for the tip, it now works fine in Chrome. Will report as a bug.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • After reflecting on the issue, I though the problem may be with loading the images, so I modified code to ensure they're loaded, but the problem remains.

    See the example Capx here:

    If you run this Capx, you will notice that the sprite displayed on the layout for test purposes is animated, but not the mouse cursor. If you edit the code to replace "action1.png" and "action2.png" with "press1.png" and "press2.png", you will notice that the cursor does animate properly with these other images.

    Any insights into why this is happening would be welcome.

  • In my game I am using a sprite with two frames and an animation which I use to make the cursor animated. The code to load the image and

    animate the cursor is the following:

    Sprite.Stop Animation

    Sprite.Set Animation Frame to 0

    Sprite.Load Image from "image1.png"

    Sprite.Set Animation Frame to 1

    Sprite.Load Image from "image2.png"

    Sprite.Start Animation from beginning

    ->Sprite.On Frame Changed : Mouse.Set Cursor from Sprite

    What I can't understand is why this works in some cases (the cursor is animated) and not in others. It seems to depend on the image files I use,

    yet these are all small in size and 32x32 pixels or less. If I display the Sprite on the canvas, I can see it animated in all cases, but the mouse's cursor only shows

    the animation in some cases.

    Is this a bug or am I missing something?