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

Pages: 1 2 3 ... 71
Shared Resources / Re: Platformer Starter Kit - Now on SALE!
« on: July 18, 2018, 03:36:59 am »
My suggestion for the checkpoint thing: set the saved position as the base (Y position + height of checkpoint) of the checkpoint. If you also store the height of the player actor or find a way to automatically get it, you can respawn it without the player being inside the ground. I use this method when accounting for actors of different sizes.

Ask a Question / Re: Actor steps on button
« on: July 17, 2018, 10:21:37 am »
[...] how can I make the door close again when my actor walks away from the button? How can I make the game detect it? Because there's no block that says "when this actor stops colliding with this other actor".
In your behavior for the button, create an attribute of type "Actor", set it to NOT hidden. When you place the button in the scene, double click it and set this new attribute to your door. Back to your behavior, when your player steps or leaves the button, call a trigger for opening or closing for the actor set in the new attribute.

Finally, in your door behavior, create events for closing and opening the door. This should do it, if I understood yoru question correctly.

Shared Resources / Re: RPG Platformer Kit
« on: July 14, 2018, 05:33:13 pm »
No, I will see how I'll go about it when I'm done.

Ask a Question / Re: Image API updates since build 9877
« on: July 13, 2018, 09:38:36 pm »
"The "image from actor" block returns the actual actor image rather than a copy as was the case before.  Since you don't want to modify the actor itself, you need to use the "copy of image" block."

I had the same issue recently, and that was the solution and explanation given to me.

Ask a Question / Re: "Merging" Two Games
« on: July 07, 2018, 05:00:17 pm »
If you right click a resource, you can export it, and then import it in another game. That doesn't work with scenes, as far as I know, but seems to work with everything else, so you could import everything into the game that has the scenes, or most of the scenes, and rebuild the rest. As far as I know this is your best course of action, as there is no option to merge games that I am aware of.

Shared Resources / Re: RPG Platformer Kit
« on: July 07, 2018, 01:51:25 pm »
No. It would be time better spent on the actual kit and documentation instead.

Ask a Question / Re: Lowering the volume on every channel but one
« on: July 05, 2018, 08:38:05 am »
I think this should work.

Edit: since SFX Volume is already a game attribute, whenever you load your game, just reset the volume using this code.

My best guess is that your bullet is not a sensor, and because of that it is pusshing your player actor away.

Sorry for the delay. See if it works, and any questions let me know. You attach this to your actor, and in your teleport behavior you use the provided custom block to get the list of collisions.

I have a raycasting behavior that works with tiles. It returns a list of collision points, so if it returns an empty list, you could then perform the teleport. Do you think this could work for you?

Edit: it is on 3.5 though, I am not sure if it would work with 3.4

Ask a Question / Re: How to check for tiles when teleporting?
« on: July 01, 2018, 03:37:37 pm »
Easier solution I can think of is to create a sensor actor at the player's position (with the same dimensions, preferably), and move it really fast (with continuous collision on) to the target point of the teleport. If it reports a collision at any point, cancel the teleport.

Ask a Question / Re: How to draw a text over anchored actor?
« on: June 26, 2018, 08:20:41 am »
For the record, I am using 3.5, so there might be differences affecting the code. With that said, I recreated your code and it works with the text above the actor. There could be other code using the drawing blocks affecting the drawing over all for you.

I've attached a code using the image blocks to do what you want, instead of the drawing blocks. See if recreating this works for you.

Ask a Question / Re: How to draw a text over anchored actor?
« on: June 26, 2018, 07:51:36 am »
What should I do?
A description of what's happening and what you want to happen would make it easier to help. What I can suggest for now is an educated guess: add this block before drawing the score.

Ask a Question / Re: Having actor follow mouse cursor
« on: June 24, 2018, 08:03:27 am »
No, you can just place the combined blocks [(X of camera) + (X of mouse)] in there.

Ask a Question / Re: How do you turn off physics?
« on: June 23, 2018, 12:37:39 pm »
On your actor, go to the Physics tab > Advanced > Actor Mode. Set it to Minimal.

And to be on the safe side: Physics > General, set it to Cannot Move and Not affected by gravity.

Pages: 1 2 3 ... 71