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

Pages: 1 2 3 4
Ask a Question / [Solved] Jump sound effect only while on ground
« on: December 20, 2018, 10:06:54 pm »
Just in case anyone is interested:

I figured out a much more simple solution than regions or collisions. I got to thinking that I would end up using way too many regions if I went with my previous solution, and I couldn't quite get collisions working, so I started thinking about actor Y speed. Here's what I came up with (it works great):

("On Ground" is a boolean game attribute)

When Scene is drawn
   If Y speed of Actor = 0
      Set On Ground to True

When Scene is updated
   If On Ground = True
      If Enter is pressed
         Play sound
         Set On Ground to False

Real simple. Still, thank you very much Luyren.

Ask a Question / Is publish for web automatically html5?
« on: December 20, 2018, 10:03:51 am »
When I click “Publish” in Stencyl, for web I have 2 choices, not including Chrome Web Store. I can publish to Flash or I can publish to html5. Let's say I want to put my game on a web site, but I don't want people to be forced to download the swf file, put it on their computer, then click it, only to have it open in their default web browser. It seems most people don't have a stand alone Flash player, so swf files on their computers open in web browsers.

I seem to be having problems with html5. Please consider this html5 game:

When I play it in Google Chrome it works perfectly. When I try to play it in Firefox, I get the message to update Flash to the latest version, even though I just got done doing so. When I try to play it in Microsoft Edge, it loads then disappears, then Edge goes back to the page I tried to play it from.

Now please consider this html5 game that I uploaded:

When I try to play it in any of the 3 aforementioned browsers, it appears to load to 100%, but then just sits there without actually opening the game.

For the swf file already on my computer, the same stuff happens when I open it with browsers, but it works perfectly when I open it with a stand alone Flash player. This would indicate there is a problem with all 3 of my browsers, but I can't know for sure since I can't get anyone else to check it for me. Could someone please take a look and let me know?

1) If I want people to be able to play the game directly from a web site, is my only option to publish in html5?
2) If my browser plays an html5 game from a web site, is it playing an actual swf file, or is it playing lines of code in the hypertext mark up language only?
3) Does my game (My Foot) on gamejolt work in your browser?

Thank you for your time.

Thank you, that is very helpful.

Windows / Mac / Flash / HTML5 / Re: Here's the start of My Foot
« on: December 19, 2018, 06:36:48 pm »
Since I coudn't get past the intro scene, I removed it and uploaded again. Still no luck for me. Tried 3 browsers and made sure my version of Flash for browsers was the latest. Please let me know whether or not it works for you. Maybe this is why html5  is experimental in Stencyl.

Windows / Mac / Flash / HTML5 / Re: Here's the start of My Foot
« on: December 19, 2018, 05:29:41 pm »
Ok, I converted all my sounds and uploaded a browser version. In my browser, the game won't go past the intro scene. Please let me know if it does or doesn't work for you. (stand alone version works great.)

Windows / Mac / Flash / HTML5 / Here's the start of My Foot
« on: December 19, 2018, 04:19:58 pm »

Please let me know what you think so far. Be sure to try and get out of the two traps before the checkpoint, to see what happens.

The game page says it's for Windows, but it's just an swf file. I'll wager there's an app for that for Mac OS as well.

Seems like these are pretty popular:

I went with gamejolt

I still want to know which sites people prefer, and perhaps more importantly, why.

It's 31 MB. I'll look at Gamejolt. Thank you.

My first project is coming along, but I'd like some comments and suggestions. The swf file is too big for attachments. Does anybody have a suggestion for a good (free) place to upload it to, so I can share it with fellow Stencylers?

Ask a Question / Re: Jump sound effect only while on ground
« on: December 17, 2018, 08:56:02 pm »
I tried for several hours to do it the right way. I was almost successful several times, but just when I thought I was going to get it, parts of my blocks would turn red (meaning "this ain't going to work"). I'm sure the problem is my inexperience rather than bad advice. Anyways, I finally gave up and went with using regions. It works perfectly. The only problem I can see that in huge scenes there would be many regions. For what I'm doing now though, it's fine. It looks like this:

Ask a Question / Re: Jump sound effect only while on ground
« on: December 17, 2018, 04:53:49 pm »
For the record: On Ground and Touching Ground in the image I posted are two boolean attributes, you have to create them in your behavior.

Ah yes. I get it. Thanks again.

Ask a Question / Re: Jump sound effect only while on ground
« on: December 17, 2018, 02:15:03 pm »
Oh man people, I am so sorry. It's so simple and obvious, as I expected. I should have done more research and practice. There is no option to choose specific regions in actor events, but there is in scene events.

Ask a Question / Re: Jump sound effect only while on ground
« on: December 17, 2018, 02:03:17 pm »

Where did "Choose Region" and "Choose Actor" go? :c,46151.msg256878.html#msg256878

Ask a Question / Re: Jump sound effect only while on ground
« on: December 17, 2018, 01:42:53 pm »
By the way, how do I choose specific regions when the only choices are "region" and "last created region"? Shouldn't there be a "choose region" option? (Not for this issue, but for my learning in general.)

Ask a Question / Re: Jump sound effect only while on ground
« on: December 17, 2018, 01:33:50 pm »
Luyren, thank you very much for the suggestions. I see a couple things I didn't know existed, like "if on ground". Sounds like exactly what I need. I'll try this a little later when I have some time. I actually did think of a collision event, but for some reason I dismissed it. I feel bad for my lack of knowledge and wasting your time. I thought I'd done enough tutorials, practicing, and research to earn the right to post this question, but maybe not.

I also thought of something while I was sleeping last night. I assume I can record the y position of the actor as soon as jump is pressed, then deactivate the sound when the actor is not at that y position. Anyway, this is an enjoyable learning process, and I will definitely try your suggestion first.

Pages: 1 2 3 4