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 ... 112
1
Ask a Question / Re: Finding a number in a line of text
« on: May 25, 2018, 12:01:07 pm »
Will the format always be "TEXT NUMBER"?

If so, you can use the blocks under NUMBERS & TEXT > TEXT > SPLIT to separate the number.  Be sure to leave a space between them. You can stick these in a list so you can refer to them as needed.

2
Ask a Question / Re: How to transfer attribute between actors
« on: May 22, 2018, 01:18:11 pm »
You need to assign actors to an attribute before you can refer to it. Let's say you have an actor attribute called 'Player'

Create ACTOR at X Y
Set Player to Last created actor

You can then drag that attribute block into other blocks you need to.

Note the difference between local (blue blocks) and global (purple blocks) attributes.  Also, under BEHAVIOURS > ATTRIBUTES, there are blocks to get and set local attributes attached to scenes and actors.

3
I suggest that you start with the crash course - http://www.stencyl.com/help/start/

https://www.youtube.com/user/TheIndieStation has lots of tutorials covering lots of things.

One suggestion I have is: start small!

A Zelda type game is certainly doable with Stencyl, but it will be a complex project. Look at building small projects using the type of mechanics you want in your final game.

4
Please can you post your code and tell us what it's attached to.

5
You're welcome.

6
Ask a Question / Re: Get a single or specific collision point
« on: May 19, 2018, 01:18:25 pm »
Thanks. I've solved the issue by using weight and adjusting the speed according to the angle on the slope.

7
Drawing blocks need to be put into a drawing event. Wrap your drawing code inside a boolean and trigger that in your 'when player hits a flag' block.

8
Yes, that's easy enough to do. You can add text data to specific tiles and recall that data when the ball collides with that particular tile. I'd suggest having that tile as the bottom of the hole.

For example: If data for collided tile = win, trigger event WIN

9
Ask a Question / Re: Get a single or specific collision point
« on: May 18, 2018, 12:48:08 pm »
Thanks, but not quite what I'm looking for. I think I'm near to getting it sorted though.

See below for what I'm doing. Anyone have thoughts on how they'd approach it?

<a href="http://static.stencyl.com/games/38826-0.swf" target="_blank" class="new_win">http://static.stencyl.com/games/38826-0.swf</a>

10
Ask a Question / Get a single or specific collision point
« on: May 18, 2018, 06:45:46 am »
I'm trying to make an object move along a rail. Physics does part of what I want, but I need to be able to retrieve data from tiles. How would I just get the data for a single collision point that's closest to the centre of my actor? Any thoughts?

11
Ask a Question / Re: Export to Chrome store + Flash not working
« on: May 17, 2018, 07:40:23 am »
I had a look and got this message:

"This application is not supported on this computer. The installation was disabled. The following problems were detected:
This application only runs in the Chrome OS."

12
Ask a Question / Re: Us
« on: May 16, 2018, 01:57:48 pm »
What you're trying to do is certainly possible. If you haven't done the crash course yet, I suggest that you do. It'll teach you enough for you to get started with Stencyl.

I can't think of any specific tutorials, but you might want to start with looking at recording text inputs, and drawing. You're also going to need to understands lists and maps.
See https://www.youtube.com/user/TheIndieStation to see what relevant tutorials he has available.

I see the difficult bit being then calculating trajectories and drawing them to screen. There is an extension called "Physics Tools" which may be  helpful.

13
Ask a Question / Re: Set date
« on: May 16, 2018, 04:32:33 am »
The date spinner (date picker) is part of the iOS UI.

https://developer.apple.com/documentation/uikit/uidatepicker

It should be possible through some custom code to open it.

14
Ask a Question / Re: ZX Spectrum colour effect around player sprite
« on: May 13, 2018, 04:15:06 pm »
What if you had the colours as a separate layer, and had your actors, backgrounds and tiles monochrome? The colour layer would sit at the front and use a blending mode.

Alternatively, I'm sure that you could do this with the Image API , but I'm not sure how to approach it.

15
Ask a Question / Re: Web safe fonts?
« on: May 13, 2018, 01:47:07 pm »
Just add it with the 'choose' button and it'll be bundled with your app.

Pages: 1 2 3 ... 112