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

Pages: 1 2 3
1
Ask a Question / Only Detecting one of the actors of grop selected
« on: October 23, 2021, 07:35:12 pm »
I'm trying to create a unique tile that can be jumped up through and while it works fine it seems to only work with one and none of the others in the scene. The rest the player doesn't seem to detect that it should be "grounded" and stays in falling behavior. This same problem of an actor only recognizing the position of one actor of a given type or ground is a running problem. 
https://ibb.co/KLtMPyC

2
Ask a Question / Re: How to apply shaders to specific layers
« on: February 15, 2021, 10:58:05 pm »
That's cool but I'm kinda lost as to how this was really done. Also I've read that there was supposed to be new blocks for shaders like adding them to actors and layers. Kinda curious as to when that's happening.

3
Ask a Question / How to apply shaders to specific layers
« on: February 15, 2021, 08:23:29 pm »
I'd like to apply a wavy shader to a background layer like the giygas fight in earthbound but am stumped on how. Is there a way to isolate shaders to layers or even just actors?

4
Ask a Question / Re: Let's put an end to this "Camera Jittering" Problem
« on: January 14, 2019, 11:40:31 am »
I was trying to link a parallax actor to the X and Y of the camera local but as I've come to realize having code linked to the camera gets you something that looks like the gif below. I was able to get the player to keep with the camera so this has nothing to do with the actor itself but how the camera is coded or the relation actors have with the camera. I found that putting the  code for the camera last after the physics code works out fine. Actors the camera depends on or actors the actor the camera is coded with (dummy actor) also don't jitter but as soon an actor is dependent on the code of the camera or dummy actor then that actor jitters. 
This strange jittering has been discussed before in the forums but no clear instruction on how to prevent it has been given. It's been attributed to physics many times but I can affirm this just isn't the case most of the time. This image is from gamemaker so this isn't an isolated problem. I'd recommend at least skimming the linked article. 
The code for the parallax actor is also below. It would work as intended if it weren't for this jittering.

5
Ask a Question / Let's put an end to this "Camera Jittering" Problem
« on: January 13, 2019, 09:43:46 pm »
Ok, so I have an idea of why this is happening. It has to do with the order of the code I believe? I used to believe this was a problem with Stencyl until I read this: http://www.kinematicsoup.com/news/2016/8/9/rrypp5tkubynjwxhxjzd42s3o034o8 While explanations are given for unity users there is still yet to be a clear explanation to deal with it in Stencyl. 

I've successfully fixed the camera for the player character, placing the camera center block at the tail end of the code but I'm still confused as to how to apply this to other actors.  I'm trying to create a parallax actor that based off of the position of the camera but now I guess that mains the logic for that actor is placed after the camera I guess? Please, if anyone has experience with coding the camera proper it would be helpful for everyone  for an explanation as to how to use it. Thank you.

6
Archives / Re: Multi layered backgrounds?
« on: January 11, 2019, 02:38:25 pm »
I know this is really really old but  it's something I was wondering myself. I think that if someone really wants very complex backgrounds then you'll have to use actors. From the looks of it this is what Cuphead did: https://www.youtube.com/watch?v=omPcC_cfluk

7
Ask a Question / Re: Slopes in Simple Physics
« on: January 06, 2019, 09:57:27 am »
Correct me if I'm wrong but I believe last time I checked simple physics does not allow for the use of sloped tiles. It reads them as blocks.

Update on that code btw. Still flawed but coming along. Might be ready to finish the collision on the ramp and upgrade from stairs to a proper slope. The test has been updated as well so feel free to play it. I'll post the code here. Again, the game attributes can be ignored as just attributes.

8
Ask a Question / Re: Slopes in Simple Physics?
« on: January 04, 2019, 01:45:29 pm »
Update: I've made progress I feel. I just wish the code itself was cleaner. Everything I do is kind of a ducktape style solution unfortunately. I'll try and clean it myself but if anyone is curious or have any butter solutions on how to write this mess I'd like to hear.

http://www.stencyl.com/game/play/39847

You can ignore the game attributes as I never used them outside of this actor. The collisions on the steps are exactly how they look.

9
Ask a Question / Re: Slopes in Simple Physics?
« on: January 04, 2019, 09:36:01 am »
I'm working on my own solution to this problem. Still rough but seems promising: http://www.stencyl.com/game/play/39847

Still, if anyone has any working methods that have proven to work I'm all ears.

10
Ask a Question / Re: Ramps in Simple Physics?
« on: January 03, 2019, 06:11:02 pm »
I prefer simple physics as of right now because it's what i'm comfortable with and 2dbox has a few problems regarding the physics like actors getting stuck on tiles and tile actors. Found a method that may work, something like this: https://www.youtube.com/watch?v=1r1rElIiWqw
Not sure if something like this could be pulled off or not though.

11
Ask a Question / Re: Ramps in Simple Physics?
« on: January 03, 2019, 03:20:40 pm »
They only work in 2dbox

12
Ask a Question / Slopes in Simple Physics
« on: January 02, 2019, 03:07:53 pm »
Is there a way of pulling it off? I have a few ideas but I'd like to know if any of you already have an way of doing it. I know the ramps will have to be actors, if cave story was able to do it then I'm sure it can be pulled off somehow.

13
Do you mind uploading the scene and linking it to this thread? It's a lot easier to get a feeling for what the problem is when we can actually see it in motion.

14
Ask a Question / Re: Actors and Tileset Communication Ploblem
« on: January 01, 2019, 10:33:40 pm »
Something like this may work. I guess I should be more specific though. I'm trying to have the actor check to see if there is a tile right below them, like the line of pixels right under them in order to to toggle a "grounded" attribute. Of course I could use collisions but I find them to be unreliable.  Thanks for the help.

Update: it works, thank you. I am concerned however how this method would fair on ramps. Thank you again.

15
Ask a Question / Actors and Tileset Communication Ploblem/Solved
« on: January 01, 2019, 08:49:29 pm »
I'm trying to make it so if there are tiles is a specific location in comparison to an actor the actor will behave differently. I'm trying to do this without using collisions. I can't really find any ways of getting actors to communicate with tilesets outside of the collisions so if anyone has an answer it would be deeply appreciated as relying on the collisions is very finicky. Is there a block that addresses none-actor tiles?

Pages: 1 2 3