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 - Jurenito

Pages: 1 2
1
Ask a Question / Re: Camera/Character
« on: October 05, 2015, 03:51:35 pm »
I did at first so I tried rescaling it but he stayed the same size :c
You cant resize sprites, you have to import it again and select the size before doing that.

2
Ask a Question / Re: Why Stencyl?
« on: October 02, 2015, 05:06:28 pm »
Personally, I like Stencyl because of logic blocks, I am newbie programmer and just learning, don't think I will publish anything (at least any future soon). I use it to learn and it is free, can't ask for more.
I can't think Stencyl is expensive at all as free version it provides me with everything studio license and people don't help only those who pay.
But as I dream, I think that if  I were to publish anything I will be able to test it before and then, maybe launch a crowdfunding to buy the license.  Anyway, I don't know about construct 2, but it is cheaper than gamemaker or gamesalad.

3
Ask a Question / Re: Camera/Character
« on: October 02, 2015, 04:52:43 am »
When opening the sprite, have you imported at scale 1x?
https://i.gyazo.com/8fd6096fa83358c4e7c70873c1e7e539.png

4
Ask a Question / Re: Could someone help me to read this error?
« on: October 02, 2015, 03:30:30 am »
This is why they won't work, and if I drag them to the... slot? they have no value (or zero) : BUT only if they are declared in the panel behavior



This is what i call panel behavior. Any number I set here works like it was a zero.


The code I posted previously works perfectly (but for the problem of having to declare attributes in code).

This is the code that won'w work when declaring actor and  i can't tell the difference
(It doesn't matter i didn't write a "_" in last TargetPlayer, I tested both.)

5
Ask a Question / Re: Could someone help me to read this error?
« on: October 02, 2015, 02:39:41 am »
Your behavior "EnemyPursuit" is trying to use an attribute that has no value. the code block with "actor" inside of it should first be declared using custom code. Do you have that?

Also show us more of your behavior, because we can only see just that little bit, while there is more.
Sure, you can check the full behaviour if you want. This was working BUT, attributes set on the actor/behaviors panel don't work (i might have corrupted the file) , that's why I had to use that many setters.
But now, I restarted the making of the game but it gives me that error when calling for the actor attribute in minicode block.

6
Ask a Question / Re: Could someone help me to read this error?
« on: October 01, 2015, 01:04:28 pm »
It doesnt work like that...
You need to specify an actor using the Actor block.
Thats how the teacher wrotes it in the tutorial video, indeed it worked yesterday (I had to redo it because of corrupt files, but it worked).
this is previous version: https://gyazo.com/64875181de3d24ad2906324d2a1c1dd1
this is new, doesnt work: https://gyazo.com/374e25b825f63af7f1ad70b18c2b2ab1

7
Ask a Question / Re: Could someone help me to read this error?
« on: October 01, 2015, 12:10:54 pm »
How did you set the value of that small code block?
I just wrote it there

8
Ask a Question / Could someone help me to read this error?
« on: October 01, 2015, 05:52:43 am »
Hi, I'm trying to get an attribute from another behaviour but keep getting this error. Could someone help me to understand it?


TypeError: Error #1009: No se puede acceder a una propiedad o a un método de una referencia a un objeto nulo.
   at MethodInfo-6025()[Source/scripts/Design_13_13_EnemyPursuit.hx:115]
   at com.stencyl.models::Actor/innerUpdate()[C:/Program Files (x86)/Stencyl Tres/plaf/haxe/lib/stencyl/1,00/com/stencyl/models/Actor.hx:1530]
   at com.stencyl::Engine/update()[C:/Program Files (x86)/Stencyl Tres/plaf/haxe/lib/stencyl/1,00/com/stencyl/Engine.hx:2446]
   at com.stencyl::Engine/postUpdate()[C:/Program Files (x86)/Stencyl Tres/plaf/haxe/lib/stencyl/1,00/com/stencyl/Engine.hx:2584]
   at com.stencyl::Engine/onUpdate()[C:/Program Files (x86)/Stencyl Tres/plaf/haxe/lib/stencyl/1,00/com/stencyl/Engine.hx:2577]

https://gyazo.com/5a6832023eaaccc0bd5de852f9efa91d
https://gyazo.com/3d030c9f2954da012020552ee6d32e46


9
Ask a Question / Re: How Do i Center a region?
« on: October 01, 2015, 02:40:39 am »
I can't manage to do that with a circular "aggro" region  :-[

10
Fixed Bugs (3.x) / Re: Attributes not working
« on: September 30, 2015, 05:15:13 pm »
Would you mind sharing that game in private?
I remembered I had overwrite some of the files when trying to make it work in Stencyl 2.2. Of course it didn't work, but they seem to work in Stencyl 3 again so I didn't think it was a problem. But now I think that maybe the behaviour is corrupt  because of that and that's why there are no attributes.
I decided to restart the game again.. (3rd time). Anyway, if you are curious and want to check it or maybe even think you can fix a bug I have no problem on sharing, it is just a tutorial game. I would share it public if it wasn't 13 Mb. Just send me your email and I will send it to you.
Thanks to both, captain 'your HUD console is being really useful' comic and Jon.

11
Fixed Bugs (3.x) / Re: Attributes not working
« on: September 30, 2015, 12:25:34 pm »
Yeah, I tried to but when I try in other games or try to reproduce the error, it doesnt occur.  :o

12
Fixed Bugs (3.x) / Re: Attributes not working
« on: September 30, 2015, 08:33:02 am »
This is how Attributes look like in my befaviour, in other games they can be changed and I don't know why they arent here, they dont have the arrow to select.


13
Fixed Bugs (3.x) / Attributes not working
« on: September 30, 2015, 03:51:16 am »
I don't know if i misclicked somewhere, but from yesterday any attribute I add to my Player Handler behaviour is not working... BUT the ones I already had work.
 Any idea what could be wrong?

14
Ask a Question / Re: Collision detection on certain points
« on: September 29, 2015, 03:40:22 pm »
You have to use the "for each collision point" block. But that works weird for me, anyway maybe you can get help checking my first code.

http://community.stencyl.com/index.php/topic,44337.0.html

15
Ask a Question / How Do i Center a region?
« on: September 29, 2015, 01:59:40 pm »
Hi, I have created a region according to a tutorial. Theorycally the region is created, then centered to the player and moves with him, always centered in the player.
But when I created it it is not centered in the player. It is like the player were his top left corner.
Besides that, I can't manage to work with Number atributes for the region width and height, even when it is the same number (75).

The "create region" is at the bottom of the screenshot but at the top in my events list.

Pages: 1 2