Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - TornadoMan

Pages: 1 ... 12 13 14
196
Basically is it possible to do for example that if Kendra's hp is increased by 11 go right by 127 pixels for example?

197
Ask a Question / How do I set own variables and check own variables?
« on: February 09, 2014, 10:40:16 pm »
How do I set each object's own variables and check if whatever such as if hp = 11 kill object self?

198
Photon certain companies are okay with sprites, sound effects, music etc. usages of there own works and also websites like
http://www.spriters-resource.com/support
shall clear up worries, concerns etc. about using sprites from spriters-resource for example.

199
*which will be in next post by me Fira in this thread (to avoid confusion, confusions etc.).



GMr stands for Game Maker



GML stands for Game Maker Language



I know in GML it is possible to do if relative but how do I do if relative in Stencyl?



How to do if relative (example below in this post) in GML:
Cassandra_Helper_Step Event:
Code: [Select]
if (instance_number(Cassandra) = 1)
{
  with(Cassandra)
  {
    if (variable_local_exists("hp"))
    {
      if (variable_local_exists("hp_times_by"))
      {
        if (hp_times_by <> 1)
        {
          hp *= hp_times_by;
          hp_times_by = 1;
        }
      }
      if (variable_local_exists("hp_plus"))
      {
        if (hp_plus <> 0)
        {
          hp += hp_plus;
          hp_plus = 0;
        }
      }
      if (variable_local_exists("hp_minus"))
      {
        if (hp_minus <> 0)
        {
          hp -= hp_minus;
          hp_minus = 0;
        }
      }
      if (variable_local_exists("hp_divided_by"))
      {
        if (hp_divided_by <> 1)
        {
          hp /= hp_divided_by;
          hp_divided_by = 1;
        }
      }
    }
  }
}



Cassandra Create Event:
hp_times_by = 1;
hp_plus = 0;
hp_minus = 0;
hp_divided_by = 1;
hp = 127;



Cassandra Left Press Event:
hp_divided_by = 15;



Cassandra Down Press Event:
hp_minus = 175;



Cassandra Right Press Event:
hp_plus = 15;



Cassandra Up Press Event:
hp_times_by = 15;



Cassandra C Press Event:
if (keyboard_check(vk_control))
{
  show_message("x: "+x+"#"+"y: "+y+"#"+"hp: "+hp);
}



Cassandra Step Event:
Code: [Select]
if (hp_times_by = 15)
{
  x = xstart;
  y = ystart;
}
if (hp_plus = 15)
{
  x -= 11;
}
if (hp_minus = 175)
{
  x += 11;
}
if (hp_divided_by = 15)
{
  y += 35;
}

200
Chit-Chat / Re: Favorite Stencyl games?
« on: February 06, 2014, 09:22:51 am »
But those are clear rip-offs.

I like:

Shine: www.stencyl.com/game/play/23199

Skullface: http://www.stencyl.com/game/play/16049

And my games of course!


I am not mad at all just curious what do you mean by Mario ripoff?

201
Chit-Chat / Favorite Stencyl games?
« on: February 04, 2014, 03:53:26 pm »

202
Chit-Chat / Spicy hottest thing you've tried?
« on: February 03, 2014, 05:43:10 pm »
Me I tried a tiny little drop of a Blair's Ultra Death sauce which was and is quite good but that little tiny drop was still extremely super spicy hot.

Pages: 1 ... 12 13 14