Kyatric's Forum Posts

  • Pretty much how tulamide said.

    When you test LOS1, you put no other condition. So LOS1 should react to any object (whatever layer it is on).

    When you test LOS2, you add another condition, being "Is on layer" (See Tulamide's post). This way, LOS2 will only react to objects on its same layer.

    LOS2 needs to be on a different layer than S1, and S2 needs to be on the same layer.

    If you're still stuck, consider posting a .cap with the setup you described that will help give you back the proper code.

  • A plugin could be made indeed, but the problem is WebGL represents a possible security hole. Indeed, as browsers get access to low level routines on the client's graphic card to render 3D, it gives possibility for hackers to read GC's memory (take screenshots of what is displayed on your screen if you will).

    Historicly, Graphic Cards drivers didn't need to care about security measure in the past. With WebGL, there will be a need for new design of thess drivers.

    As a result, Microsoft has no plan to support WebGL and will focus on silverlight as far as 3D is concerned (even if I guess they will have to deal with the the same security constraints as WebGL). Moreover, "experts" advise for now to disable webgl support in chrome and firefox until the implementation is secured (once again, like websocket).

    So working on a 3D plugin for C2 now could be quite a loss of time and energy. It might be safer to wait for a proper support by the browsers, and then getting hands and heads around such a plugin.

    Again, such a plugin wouldn't be supported on IE (and possibly safari in the long term).

    Sources: Researchers Warn of Security Issues in WebGL Standard

    Microsoft Rejects WebGL for Security Reasons

  • I liked. The animation and effects are pretty nice.

    It reminded me of good old platformers style with a lot of energy displayed.

    Pretty cool, keep up the good work.

  • Hello,

    I'm playing around with this and building a quickie game to test things out. I want my player to start with 10 bullets (set global variable called bullets to 10). Now what I wanted to do was only check the keyboard press if bullets > 0. Or, check for keyboard press but then check if bullets > 0 and then execute destroy bullet sprite. either way, I am not seeing how to accomplish this with construct 2.

    You can have two conditions in a single Event block.

    That means that if you add an event keyboard "On 'T' key pressed" ( 'T' for example).

    Right click on that event and "Add another condition".

    Then add a system "Compare two values" Bullets > 0.

    There you go. The event will trigger when T is pressed AND bullets > 0.

    also, how do I get back to the default layout the way it was when I installed construct 2? I managed to "un-pin" my objects/layout/layers window. Sorry, I don't see where to attach the capx file. Thank you for your help.

    I guess you can go in the top ribbon ("tabs" Home, View and Events). Click on the view one, and then on the left on "bars".

    If that doesn't help, then I will need you to be more specific about your current layout to see what needs to be changed/done.

    As far as I know, there's no "Reset global layout" option.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It looks a bit stark, but I'm intrigued by the "shop" concept.

  • You don't need a "for each" sprite loop. An event "Is between angle" will automaticly check EVERY instances of the sprite.

    So put a serie of events Sprite."Is between angle" testing from 0 to 90, another from 91 to 180, a third one from 181 to 270 and a last one from 271 to 360, and for each event you will have an action that will only happen when the condition is true.

  • It looks nice already.

    The main character seems maybe a bit little. I hope it will be nicely animated to compensate. ^^

    A bit more details would come in handy indeed, but not that much.

    Did you do the graphics or do you have someone else working with you at it ?

    Keep up the good work.

  • By default, there's no way to change this. The hotspot IS the center.

    Maybe in future releases of C2 will the hotspot be editable as well as the add of points (like in CC).

    But as of now, you would have to replace manually any reference to Sprite.X by (Sprite.X - Sprite.Width/2) and Sprite.Y by (Sprite.Y - Sprite.Height/2).

    This is longer to write, but you would achieve what you expect.

    Once again, instance variable is a variable contained by your object but with no direct affect on it.

  • The purpose/advantage of HTML5 is supposedly to have everything you need in the browser without further downloading required (apart from the game assets themselves).

    Adding an audio plugin would defeat this purpose.

    Maybe, in the vein of what Tom said previously, launching a kind of petition to make pressure on the browsers company so they :

    * Implement the missing formats

    OR

    * Agree on some audio standard that all browsers would implement

    I'm not sure there's so much money to be made out of audio and video formats (even if some companies have made) as it is involved with another standard (HTML5). This defeats the profit of standardisation and won't help a browser to win over the others. On the contrary, I'd dare say that the first browser to have the most formats supported might be a winner.

    Also, by not providing a decent and compatible single audio format those browsers push the unnecessary use of more internet bandwith (not having a single audio format supported leads to the multiplication of audio files (to cover the clients' browser audio support possibilities))

    bigcatrik, I don't know if it the case for this peculiar website but I've encountered html5 libraries whose audio support was based on flash (counting on the major deployment that flash is still enjoying).

  • To bad you cant just make some browser plugins to play sounds.

    Well, it exists, it's called Flash. ^^

    Doh...

  • I'd sign such a petition.

  • The screenshots does not show images of the game, but some publicity to scirraconstruct.ru.

    You might want to modify your links.

    Edit: Strange, I've followed the link to the screenshots, so I saw them. Then coming back on this thread, the actual screenshots appeared in your post :O

  • Indeed.

    I really can't understand microsoft who doesn't want to open to open formats (money you said ?), and won't even acknowledge their own "home" format. (I remember discovering the recorder and ".wav" format in windows 3.1 !)

    Silly situation indeed.