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
Ask a Question / With custom blocks how do I make....
« on: February 24, 2014, 11:54:55 pm »
#1: type in number

#2: Ability to choose Actor

#3: Ability to choose specific instance of an object (Actor)

197
Both

198
Basically
if (place_meeting(x,y+12,Cynthia)) will check if Cynthia is 12 pixels below

if (place_free(x,y+1)) will check if there are no solid objects 1 pixel below

199
How do I properly get it to where when variable is true Jessica does image_angle point to mouse but when variable is false Jessica just keeps rotating by 1 degree by His own self please? Thanks ;) ; )


If left is Pressed I_Jessica_shall_rotate_towards_mouse is supposed to equal to false but if right is pressed I_Jessica_shall_rotate_towards_mouse is supposed to equal to false.

200
Thank you :) : )


How do I do:
A1: if (place_free(x,y+1)) do whatever

B1: if (place_meeting(x,y+12,Cynthia)) do whatever

201
Ask a Question / Re: I got a Syntax Error, and other problems
« on: February 17, 2014, 03:38:49 pm »
Yes I did.

202
Ask a Question / Re: I got a Syntax Error, and other problems
« on: February 17, 2014, 02:33:15 pm »
I've been using the purple Game Attributes stuff.

203
Ask a Question / I got a Syntax Error, and other problems
« on: February 16, 2014, 04:26:00 pm »
In Keyboard I have
When Control is pressed
Comment
Set game attribute to can_move = true
but whenever I try and start my game it gives me this error:
Code: [Select]
Behavior: Design_0_0_WhetherIcanmoveornotandifIcanmove at line 40
Syntax error: expecting rightparen before not.
    addKeyStateListener(!ERROR!, function(list:Array, pressed:Boolean, released:Boolean):void {

Behavior: Design_0_0_WhetherIcanmoveornotandifIcanmove at line 40
Label must be a simple identifier.
    addKeyStateListener(!ERROR!, function(list:Array, pressed:Boolean, released:Boolean):void {

Behavior: Design_0_0_WhetherIcanmoveornotandifIcanmove at line 41
Syntax error: expecting identifier before if.
if(wrapper.enabled && pressed){

Behavior: Design_0_0_WhetherIcanmoveornotandifIcanmove at line 41
Syntax error: expecting colon before dot.
if(wrapper.enabled && pressed){

Behavior: Design_0_0_WhetherIcanmoveornotandifIcanmove at line 43
Syntax error: expecting colon before leftparen.
        setGameAttribute("can_move", true);

Behavior: Design_0_0_WhetherIcanmoveornotandifIcanmove at line 44
Syntax error: expecting identifier before rightbrace.
}

Behavior: Design_0_0_WhetherIcanmoveornotandifIcanmove at line 45
Syntax error: expecting semicolon before rightparen.
});
video of mine to prove error: http://www.youtube.com/watch?v=olvi2cmqcyI

204
Basically is it possible to do for example that if Kendra's hp is increased by 11 go right by 127 pixels for example?

205
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?

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

207
*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;
}

208
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?

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

210
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