Kyatric's Recent Forum Activity

  • 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.

  • It looks a bit stark, but I'm intrigued by the "shop" concept.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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.

Kyatric's avatar

Kyatric

Member since 18 Aug, 2010

Twitter
Kyatric has 583,402 followers

Connect with Kyatric

Trophy Case

  • 14-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • x15
    Popular Game One of your games has over 1,000 players
  • Famous Game One of your games has over 10,000 players
  • x27
    Coach One of your tutorials has over 1,000 readers
  • x10
    Educator One of your tutorials has over 10,000 readers
  • x2
    Teacher One of your tutorials has over 100,000 readers
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

23/44
How to earn trophies

Blogs