EncryptedCow's Recent Forum Activity

  • Webstorage, or the clay.io plug-in are your best choices.

  • I'm looking for something other than it being based on the overall x value. If the players X value is anywhere above 200 it should be 0, THEN the opacity needs to vary between 0 when Player.X = 201, and 100 when Player.X = 0. Does this make sense?

    EDIT: This is it when using a bunch of events and is pretty much exaclty how I need it. I would use this but am getting close to my event limit and I know theres a way to do this in fewer events

  • I currently have this as a way to change the opacity of my death warning thingy. However I am nearing my 100 event limit and I'm trying to get rid of all these events because I know there is a simpler way.

    I changed all of these to

    -Every Tick

    • > Set HudDeath Opacity to distance(Player.X, 0, 0, 0)

    This is ALMOST perfect except that its reversed. So when you are near the left side of screen it is invisible, and when you are farther towards the right side it gets visible. I need it opposite of that. Is there any way to do this in 1-3 events?

    SOLUTION:

    • Every Tick
    • > Set HudDeath.opacity to int(100 - (Player.X / 2))

    Why didn't I think of that.

  • It happened every time I pressed save, or save-as with that file name. And I do have access permission for the locations.

  • I have my random generation pretty much done, but there is one flaw I'm concerned about right now. I was hoping that what I did would make the amount of zero level platforms created be a maximum of 3 in a row. Unfortunately, it didn't work as expected. I've been trying for a couple days and this is the closest I feel I have come to getting it to work. If you watch it for a bit, it will have a bunch of spots where there are large gaps of zero level platforms.

    Capx

  • I was trying to save my project and this happened. Saving it as a different name worked but I'd still like to know why this happened :/

    Forgot a few things, sorry.

    I'm using R116 on Windows 7. This is the first time it happened and I didn't do anything out of the ordinary so I'm not sure how to reproduce it.

    • While LeftMouse Button is down
    • Every FireRate seconds
    • > Create Bullet at wherever
    • > Set angle towards Mouse.X, Mouse.Y
  • ........ It doesn't export as individual html files because Construct 2 is made for games, not websites. A game wouldn't work if each layout were its own page

  • It's not that they are avoiding it. Scirra is only 2 people and if they were to start making it for for web development, that would mean they would have to stop working on the game development part (Which is what Construct 2 is, a game engine) They pretty much had a choice to make it a web development program, or a game development program and they chose game development.

  • Why not use choose(0,1,2,3)

    I guess things like floor, int, random would work but choose is the most logical choice (Even though it would do the exact same thing)

    Using floor(random(0,3)) actually will (almost) never get you 3. Since it chooses a huge range of decimal points, there's thousands of possibilities between 2 and 3. The likelihood of getting 3 is quite slim so you could use choose() OR you could do round(random())

  • Ashley has stated a few times that Construct 2 is for making games and not websites. So I'm guessing this also means that things for website development won't be added/changed. I'm not saying it can't be done with Construct, but there are definitely quite a few things you'll miss out on by using it.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Waffle of war

    You can set the bullets behavior "Set Angle" to false, and then send the bullet which ever way you want and it won't rotate with the direction.

EncryptedCow's avatar

EncryptedCow

Member since 23 Oct, 2012

None one is following EncryptedCow yet!

Connect with EncryptedCow

Trophy Case

  • 12-Year Club
  • x2
    Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • Email Verified

Progress

15/44
How to earn trophies