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

Pages: 1 ... 13 14 15
211
Thanks. I didn't know that TILE API exist and what is it. I can see this is a very powerfull tool for making movement of enemies more natural. That's what I managed to do. I attach the pic so maybe it will be helpful for someone.

212
How to make enemy goes from one edge of platform to another and never fall? I could place invisible actor that collides only with enemy that would prevent from falling, but this solution is not very mobile and versatile. I thought about collision shapes. But if right/left border isn't hit doesn't work.

https://youtu.be/5apu4ML9Wto?t=5m38s
just like this red tortoise doesn't fall off

213
Ask a Question / Any info/rumors about Stencyl 3.5.0 ver?
« on: March 04, 2018, 10:31:19 am »
The Stencyl 3.5.0 was planned to be released on late 2017, and now already 2 months of 2018 passed and there's still no news about the Stencyl update. Any rumors or info when it may be expected?

214
Because in second case the x-center is further that it is in first case. When something is further it may not be in range, lol

215
Ask a Question / Re: Edit Scene Properties - Tile Size
« on: September 27, 2017, 05:39:34 am »
Because once you create a scene, you had already chosen tile width and height (and probably has already placed some tiles in your scene). Changing their dimensions could distort already placed tiles and cause problems. For example you placed one tile 24x24 with "spikes". Once you change tile dimensions to eg. 35x35 imagine, how could it impact already placed spikes.

216
Ask a Question / Enemies don't appear after scene reload
« on: September 26, 2017, 04:45:45 pm »
Hey

I was wondering how to solve this problem. I want to create some enemies in one scene.  But once killed, I don't want them to show again when re-entering this scene. Of course I can use game attributes of type boolean. How each enemy is one game attribute. Is there a way to make it work different way?

217
Ask a Question / Re: Make sure objects dont spawn too close
« on: September 24, 2017, 05:04:10 pm »
How about universal formula like "do every [speed of player] * [n]".  The frequency of creating obstacles would depend on the speed of actor? The [n]  could be factor of how [speed of player] would be interpreted into frequency.
But that's only the way I would do it :)

218
Ask a Question / Re: Very odd problem I am having with button input
« on: September 24, 2017, 06:51:34 am »
Well it's true. Arrow keys work different than other keys. For example. When you try to press both left and right at once and then release them also both at once, the flash player will still be seeing them as pressed. So I changed controls in my project, I removed arrow keys as controls and made WASD movement, now all the problems are gone.

219
Ask a Question / How to access [events] of actor using [behaviour] pointer?
« on: September 23, 2017, 04:36:24 am »
How can I access behaviour of actor if it has no behaviours? Can I access [events] as [behaviours]? I attach screenschot

220
I haven't noticed that section. Sorry. This topic is to be deleted..

221
I am working on pixels. And when I make collision shapes I have to use 800% view. In attached pic, I have 3 collision shapes. One is small rectangle on bottom. Rest 2 shapes are also rectangles, their x/y shapes and x/y dimensions are the same, they are in the same place but their groups are different. This small rectangle is under those 2 other shapes, so if I want to modify it, firstly I have to move other 2 shapes and then I can change it. How about adding list on the right of currently existing shapes, and reaching and selecting them there instead of clicking them in preview. Or simple copying all shapes from one animation to another?

222
I already managed with this.

I created 2 collision shapes:
1) collides only with tiles. Because of that, the heart does not fall off the screen, it stays on collided tile,
2) is a sensor, and collides only with player. If player got [lives] < [max lives] then "heart" should increase player's health and then disappear, otherwise, nothing will happen. Heart stays in the same place because it collides with player only with sensor.

I post this because it may help someone. :D

223
Hey
I'm trying to make an actor "heart". It must collide with tiles because it is affected by gravity. It also must collide with player because when hit by player it is killed and player gains one life. But, I want this to work only when player lives < max.lives. So when player's health is not full, then the "heart" should disappear, and when health is full, well, nothing should happen, heart should be still in the same place. But it doesn't because it collides with player and is being pulled in side, and it cannot be sensor because it would fall off the screen because it must collide with tile. Please help

Pages: 1 ... 13 14 15