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

Pages: 1 2 3 ... 151
2
Ask a Question / Re: Scaling
« on: Today at 03:51:05 pm »
The trick is to have your scenes larger than 480x320, but keep the camera that size and centre in on your scene.

Position things accordingly so that things display on all devices. So for example on some devices you might see a bit more of the background.

3
When mouse is pressed over ACTOR
Create OTHER ACTOR at X/Y

4
Ask a Question / Re: Volume/Mute Button keeps switching animation to default
« on: September 19, 2020, 01:53:53 pm »
Rather than have it all in an updating event, use a custom event.

When mouse is released on self trigger SOUNDTOGGLE in this behaviour

Put your code in the SOUNDTOGGLE event.

5
Ask a Question / Re: One button but different scenes
« on: September 19, 2020, 01:50:32 pm »
Yes. Different ways on doing it. How are your levels titled?

For example if your scenes were named 'Level 1', 'Level 2' and so on you could get the current scene name, split the name into a list to get the number separate and then increment that by one, the save that as a scene name (text)

6
Ask a Question / Re: Setting up a sensor
« on: September 11, 2020, 10:54:29 am »
The collision shapes can be your sensors so that hits are detected, but they don't collide. That's what the sensor block does. Though I'd recommend checking the distance between your actors for your purpose.

7
You can do that by looping through tile.

8
Ask a Question / Re: "Speed"feature in Stencyl
« on: August 22, 2020, 07:45:09 am »
See image

9
Ask a Question / Re: "Speed"feature in Stencyl
« on: August 22, 2020, 05:04:15 am »
Custom code: Engine.STEP_SIZE = Std.int(_Speed);

Speed (_Speed) is a number attribute. 10 is normal speed. Can't have a number lower than 1.

10
Ask a Question / Re: Character Disappearing Off Screen
« on: August 18, 2020, 10:00:16 am »
It seems that when your actor leaves the screen your actor is no longer active. There's a block to change that.

Actors > Properties > Performance

To stop your actor leaving the screen check the X position and adjust accordingly.

E.g If x of actor is > scene width,  set x of actor to scene width - width of actor

11
Ask a Question / Re: Player with with body parts
« on: August 06, 2020, 01:32:19 pm »
I don't see anything relevant in the video. What are you trying to do?

12
Ask a Question / Re: Work with text strings blank spaces
« on: July 27, 2020, 09:24:02 am »
Something like this?

This is text one/6.5/this is text two/8/this is text three

So you use / to split the text into a list so it looks like this:

Item 0: This is text one
Item 1: 6.5 is the value of spaces
Item 2: This is text two
Item 3: 8 is the value of spaces.
Item 4: this is item three

13
Ask a Question / Re: Why is this happening??
« on: July 23, 2020, 12:27:37 am »
Looks like a mismatch between your tile set tile size and tile size of your scene

14
No. You can make and publish to Flash/HTML5.  With the free version, you still have access to all Stencyl features, except some export options.

15
Ask a Question / Re: HTML5 Take Screenshot and Save to Downloads
« on: July 16, 2020, 02:39:17 pm »
This is something I'm also interested in, but I haven't had a thorough look yet.

Pages: 1 2 3 ... 151