Shadowblitz16's Recent Forum Activity

  • family's are just a bad way around it

    It just makes it harder to understand

  • I was wondering if you guys can add an other expression

    this would return the other instance of an event if there is one

    it would cut down code a ton and would be just plain simpler to use

    for example in a collision event you could make a damage function do

    accelerate towards angle (self.X, self.Y, other.X, other.Y)

    this way you only need to use one parameter for the knockback strength instead

    having to include 2 other parameters for the angle

    and keep in mind this would just be something I would do with it

    it could be a major short cut for everybody

    and would be extremely useful

  • k I'll try it

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • well I was looking to turn it into a function so I can reuse it

    however if I define it by name it wouldn't be reusable

    I was wanting to address it via the collision event so I can somehow return the object that is colliding with me

  • is there a way to get the direction of a collision?

    I know it would be as simple a angle(self.X,self.Y,other.X,other.Y)

    but other isn't a valid expression

  • wait will the array container act as a instance variable

    I'm wondering for multiplayer purposes

  • I could possibly just convert them into text arrays and separate them with ";"

    for example "1;2;3;4;5;6;7;8;9"

    but I 'm not sure how

    I also need to be able to locate their index

    and update them as strings

    and need to be able to do arithmetic on these

    Maybe tokenat? but how would I write it back into the string form?

  • but arrays can't be instance variables

    or am I wrong?

  • is it possible to use a instance variable like Stats

    and assign multiple values in it?

    If so how?

    maybe something like hex but with 9 4 digits with a value up 9 instead of 3 2 digits with a value 16

    for example 0000111122223333444455556666777788889999

    instead of 112233

  • R0J0hound

    can you add support for drawing an entire part of the screen?

    I know it might not be very optimized but I have a cool Idea for a seemless screen wrap

    for example draw region (x1,y1,x2,y2)

  • well I have tried (health/100)*healthbar.width when i was using a sprite but that didn't work

    maybe because my healthbar.width was changing?

  • does anybody know how to draw a resizeable health bar with R0J0hound's canvas plugin?

    I know I can make one 100 pixels wide

    doing something like this

    Draw Box

    X 164

    Y 94

    W (health/maxhealth)*100

    H 6

    but how do I draw one 328 pixels wide with the health bar being based off of 100%?

Shadowblitz16's avatar

Shadowblitz16

Member since 5 Aug, 2015

None one is following Shadowblitz16 yet!

Trophy Case

  • 9-Year Club
  • Email Verified

Progress

10/44
How to earn trophies