SoldjahBoy's Recent Forum Activity

  • Using variables to control many things (like health, ammo, etc) is a fundamental and basic part of construct 2, and programming in general.

    Once you learn how to use these simple but powerful tools, it will all make sense.

    I can try to make an example today (I expect a fairly quiet day in the office today) but I will have to see if time does in fact allow.

    Essentially, you need to create a global variable on your event sheet (right click on the event sheet and add global variable) then name it HEALTH. Set the initial value to 3.

    Anytime you want to subtract 1 from health, you have your condition for doing so... example: player collides with enemy ->(action= subtract 1 from global variable HEALTH).

    Then you have another event that checks what the health is at: global variable health = 0 ->(action: destroy player)

    You can use variables to track all kinds of stuff that you need to be, well, variable... so simple yet so powerful when used in certain ways.

    ~Sol

  • Yep what mekonbekon said will work great for a "global" fade that covers everything up... like if you want to do some kind of transition or "screen flash".

    I think the problem OP had though was to have two objects in front of the fade (the player and the object the player was interacting with at the time) so you'd need to juggle some objects around (or shift them to a layer that's above the fade layer) to achieve something like that.

    ~Sol

  • OK great! Glad you found a solution that works for you

    ~Sol

  • If you are using any behaviours to move or resize the objects... dt already applies automatically to behaviours.

    You may also find that you need to bracket your equation a little there, so it knows where to apply the *dt.

    scale1+(car_lane1.Y*0.0006)*dt - maybe? My implementation/use of dt is a bit sketchy at times too, lol.

    ~Sol

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The way you're doing it already is how I've always done it in the past... but if you want to make it "smoother" then you can just draw more "traces" so it doesn't end up looking all "gappy".

    It can get tricky though, because at higher speeds the gaps are going to be further apart, so tweaking the number of traces to use and how often to draw them can be fun.

    ~Sol

  • I've made plenty of websites with C2.

    Newt is right though, they aren't very friendly towards analytics or SEO... it doesn't mean you can't do it though.

    Ultimately, it would be best to have the site built as a traditional HTML site but with a windowed component using C2 perhaps... it really depends what you're wanting to build though.

    ~Sol

  • Pretty sure blending modes don't work on "form objects" like text boxes, list boxes, and other things similar.

    You would have to make your own customer text box using sprites and spritefonts in order to put effects on them.

    ~Sol

  • I haven't used local storage much at all myself, and not for a long time. If it was for NWjs I would be able to make some examples...

    Local storage would definitely be the way to go though... there may be some other tutorials or example files kicking around.

    ~Sol

  • R0J0hound

    Look! He at it again MOM! Bein' all smart and stuff....

    ~Sol

  • it is a good idea,but new spawn sprite will cover the "fade mask".

    You would just need some conditions to the fade mask, so if it exists it always draws on top, then moves the player and "object" in front - anything new will be created then "over-ridden" almost instantly, so the player "*shouldn't* see it.

    ~Sol

  • For nice looking ISO rotation you will need at least 16 frames... or you can fake it a bit depending on the fidelity of your graphics. The more HD they look, the more frames you will really need to draw in order to get a nice effect. If you're using pixel graphics (retro style) then you can usually get away with a few shortcuts (like simply rotating certain parts arbitrarily between your "keyframes") but it really depends on how you're doing the over-all look and style of the game.

    ~Sol

  • You can also have an external script like a BAT file or CMD file - depending on the platform you're developing for (I assume it's Windows?).

    I have made things like this to extract files, run printers, create compressed files and upload to places... all usually done with some BAT files or winscripts. Just use NWjs to execute the script. Unfortunately this won't work for mobile platforms... but then again neither do zip files do they?

    ~Sol

SoldjahBoy's avatar

SoldjahBoy

Member since 2 Apr, 2008

Twitter
SoldjahBoy has 3 followers

Trophy Case

  • 16-Year Club
  • Email Verified

Progress

17/44
How to earn trophies