Mary Jane's Forum Posts

  • Window controls don't work in fullscreen, so I think there'd need to be a new plugin to play videos for DirectX really.

    It would be great if you create a plugin which properly plays video in fullscreen (without any blinkings and control panels).

    P.S. We will wait...

  • I'd like to know how to get a video running properly in fullscreen , and how to make the video fullscreen - because I made a fancy intro to my next game ( an unnofficial sequel to an amazingly awesome flash game )

    I'd like to know too...

  • linkman2004,

    Your variant is very good too! Thanks for help!

  • Minor,

    Thank you again! You helped me very much!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Minor

    It works! Thanks!

  • Hello.

    I've faced with such problem: there is an enemy in the game, composed of many sprites (gun and other accessories). The enemy comes from certain point on the map, for example, every 3 seconds. At the beginning all enemies go as expected, but when the number of enemies increases, their weapons begins to copy. Imagine that - the enemy has 1 gun, when number of enemies become more and every enemy already has 2 guns, then 3 guns, etc....

    Example .cap file with enemies - http://www.fileqube.com/shared/GzciJxcYp1503977

    Question:

    1. How to create many copies of the enemy, that each of them would have only 1 gun (or something else)?

    2. How to create the same copies of one sprite at the same time from different locations on the map? (because I have only one point which creates enemies)

  • Maybe the DirectX display inteferes with it. I had to tweak the other window controls (buttons, edits etc) to get them to show right even in windowed mode.

    Ok.. Could you explain in details how you tweak?

  • It just uses standard Windows functions, nothing special.

    Richy, I understand, thanks.

    But why when video is playing on full screen using standard Windows Media Player everything is fine and image is displayed correctly (without any blinkings and control panel)? And when video is playing on full screen using Object AVI - video blinks and appears control panel? (you can see that at the screenshot or look at the cap file earlier in this topic)

    How to remove video blinking and control panel? Is this problem of Windows and I should reinstall it? Or is it a bug of the program? (once again remind that when video is playing in windowed mode - everything is fine).

    P.S. Solution of this problem is very important for me, because I would like to use short videos between the levels in my game.

  • And what developers of the program can say about this?

    Here is an example: http://www.fileqube.com/shared/OqXlc1502806 16kb

    Here is a Video File: http://www.fileqube.com/shared/oCVPv1502805 153kb

  • Hello.

    When playing video (.avi) on full screen using AVI object - video blinks and control panel appears at the bottom of the screen (with buttons Play, Pause and Time slider).

    Here is a screenshot:

    But when video is playing in windowed mode - everything is fine.

    Does anybody know how to remove blinking and control panel in the full-screen view?

    And another question - what codec for .avi is better to use, that it is reproduced in the new(clear) operation system without specially installed codecs?

    Thanks.

  • Hello!

    Following screenshot is with event that when key Space is down, we set playing "fire" animation (once, no loop)

    Suggest, why is animation not playing properly? (only flashes for a second). Could it be done properly not chaging first condition (because main character, his directions, have many different events)?

    Here is cap file:http://www.fileqube.com/shared/cQHrvpzo1495790

  • I have a problem.

    There is a character with many different animations (running in different directions, standing, jumping, aiming, shooting, etc). In most cases there is condition that when no key is pressed, we set standing animation. Also there are many private variables which control separate parts of animation (e.g. when we press Space - jumping animation is playing, and sprite's 8-direction movement is changed to Bullet movement).

    Problem is that I can't set every animation separately, because variables, keys and their inversion, overlap and interfere with each other...

    Suggest please right scheme, where sprite with many animations works properly and variables don't interfere with each other.

  • Ashley, Thank you for detail explanation!

  • Does anybody know how to reduce PNG file size not changing its resolution?

    GIMP maximally compresses png file to a certain size, but is there another programm which much more compresses png?

  • First question:

    I've had one experiment.

    I created two cap files. In the first scene I loaded sprite animation (21 frames, PNG format, sprite size is 96x104), see screenshot.

    In the second file I loaded the same animation, but in DDS format (21 frames, DDS format, sprite size is 96x104), see screenshot.

    As you can see there is no difference in FPS and VRAM. However, quality of sprites has a bit changed and CAP file size became 2 times smaller.

    Tell me, why have you written that Construct doesn't support DDS if the program displays it properly?

    Here you can download cap files with animation in PNG and DDS and see for yourself.

    PNG Cap: http://www.fileqube.com/shared/qVfpJe1492384

    DDS Cap: http://www.fileqube.com/shared/HPHfYCznk1492377

    PNG I converted to DDS using special GIMP plugin.

    Second question:

    For example, I have the sprite 500x500 pixels and its file size 100 kb, and I have another sprite 512x512 and its file size 120 kb... to achieve a maximum perfomance I need to use 500x500 or 512x512? Or is there no difference except file size? What is better to use?