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

Pages: 1 2
1
Ask a Question / Finite State Machines Tutorial?
« on: December 09, 2019, 04:20:36 pm »
Hello,
  In my struggles to learn how to make video games I came across the topic of Finite State Machines at this link here http://community.stencyl.com/index.php?topic=54586.0   But I can't find a tutorial, explanation, or set of instructions anywhere on how it works. Can some one please make a detailed tutorial on how to make a Finite State Machine for Stencyl and how it all works? This would be super helpful to beginners like myself to learn code logic and how to use stencyl.

Also if there is one already made can someone please direct me to the link?

2
Ask a Question / Re: Design Problem: More Animations or More Actors?
« on: December 03, 2019, 09:23:35 am »
You can set a boolean to true if the run key is held or not. Based on that boolean, you change the maximum speed your can move horizontaly, and change to the walking or running animation on your movement code.

I have a resource pack with a platforming movement behavior that covers this. You can get it here. Either use it as is, or study it to see one way to do it.

Thank you!

3
Ask a Question / Re: [TIS] Can't Use Admob with Mobile Game Kit
« on: December 03, 2019, 07:37:09 am »
I have a question. Is it necessary to have the Stencyl upgrade in order to test stuff with Admobs for iOS?

4
Ask a Question / Re: Actor Not Appearing on Scene Screen
« on: November 30, 2019, 12:53:36 pm »
I found out why the actor wasn't showing up on the screen. I had attached the "virtual button behavior" to it by accident. And it was somehow hiding my actor. I discovered this by systematically deactivating different behaviors until I found the one that was causing it.

5
Ask a Question / Re: Running Behavior Not Working
« on: November 29, 2019, 06:51:47 pm »
Avoid saying "it doesn't work" or variations of that. Explain what you want to happen, explain what is happening instead, and post a screen shot of your code. If you open your behavior, you'll see a camera icon at the bottom right corner of the screen. Click that, and attach the generated file here. For (I assume) the majority of people that is a better alternative than posting the behavior's preview code.

I'm sorry but what is happening now is different from what was happening when I first started this topic. I think I need to start a new topic. But I'll go ahead and post the code for the running behavior just in case.

6
Ask a Question / Re: Running Behavior Not Working
« on: November 29, 2019, 10:04:38 am »
I fixed my code so that my player finally shows up on the screen now, but I'm not getting any errors even though things aren't working properly. I've tried everything i can think of so I'm just going to upload my game file and hope that someone is able to help me and see what is wrong. Thank you in advance for any help given.

7
Ask a Question / Re: Actor Not Appearing on Scene Screen
« on: November 28, 2019, 05:09:14 am »

This will print in the log viewer. Click the button next to "Settings" at the top bar to open the log viewer.

I found that block, but the issue is I don't know how to print X and also Y positions at the same time? Should I use an "and" block?

8
Ask a Question / Re: Actor Not Appearing on Scene Screen
« on: November 27, 2019, 08:10:53 pm »
Logs are only useful if your game crashes, you have an error on the toolkit or you get an error message in general.

Your actor not loading could be a lot of things: something is killing it, something is hiding it, it is falling off-screen due to gravity before you can see it, it's moving or something else is moving it off-screen before you can see it.

Try placing a print block, printing the X and Y positions of it in an update event, along with a "make actor active always" block. If it is constantly printing, the actor is there and you can check where it is. If it's not printing, something killed the actor.

I'm sorry but I don't understand what you mean by create a print block... Can you walk me through it please?

9
Ask a Question / Re: Running Behavior Not Working
« on: November 27, 2019, 08:06:08 pm »
Actually, there are no errors showing, but now the problem is that the "player" is not showing on the screen when the game loads. I'm attaching my new code for the running behavior (because I think this it is the problem, but i'm not sure).

10
Ask a Question / Re: Actor Not Appearing on Scene Screen
« on: November 27, 2019, 07:06:33 pm »
Thank you for the information. I will look into the things you mentioned and see what I can do.

11
Ask a Question / Actor Not Appearing on Scene Screen
« on: November 27, 2019, 06:39:21 pm »
Hello,
 I my actor doesn't appear on the scene screen when I load the game. I looked around but cant find a solution. I think my problem is specific to me. Here are my logs I attached them. I would appreciate any help. Thank you so much for what you guys do!

12
Ask a Question / Re: Running Behavior Not Working
« on: November 27, 2019, 06:35:49 pm »
Hello, I  think I fixed the running behavior. I was using the Custom Block from the walking behavior and forgot to make a new one for the Running Behavior.

13
Ask a Question / Running Behavior Not Working
« on: November 27, 2019, 08:41:20 am »
Hello,

 I am  trying to recreate the sample game "Jump and Run Kit" from this website "http://www.stencyl.com/developers/samples" in a new game. I have replicated most of it but I have a couple errors showing up. I am going to attach a screen pic of the errors and the code from the logic blocks i'm using. I'm not a very good programmer but I can understand a little bit from the logic blocks. I'm attaching the code so that you can see what is going on. I would very much appreciate any help I can get with this. I'm trying to learn.

14
Ask a Question / Re: [TIS] Can't Use Admob with Mobile Game Kit
« on: November 26, 2019, 07:46:25 am »
I just wanted to thank you all for the help so far. Its so hard to find specific help for this sort of thing. I'll keep trying and get back with you guys.

15
Ask a Question / Re: [TIS] Can't Use Admob with Mobile Game Kit
« on: November 26, 2019, 07:44:49 am »

Look in your screenshot of the error.. on the top... says failed to build flash.. means you tested on flash?
Am I correct? Did you hit test on flash.. if so.. itll make your game crash.  Unless you use the block above.. and select mobile instead of flash.. and place ADMOB code blocks in there... is your ios device attached and ready to test on?  Have you tested before on a device before putting in admob...
We need more info to help you


I have clicked Test Scene and also Test Game. I have not done test on flash. I have not tested using my iOS device i'm just using my desktop computer. I thought I could test it on my computer before testing on a iOS device. I'll try putting the code from the 3 error messages in the wrapper you suggested and see if it works.

Pages: 1 2