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

Pages: 1 2
1
Ask a Question / Re: Friction Problem with Radial Gravity
« on: April 03, 2015, 04:19:00 pm »
Sorry for the delay, they actually stay upright but slide to the left or rather, counter-clockwise around the "planet".  I'll double check my behavior to see if the actor's x and y points are central, I know the planets are but that's a good idea.

Edit: Upon review I am using the central x and y coordinates for both the planet and the actor.

2
Ask a Question / Friction Problem with Radial Gravity
« on: April 02, 2015, 06:36:07 pm »
I know you all have seen questions about radial gravity a million times but this is a bit different and is regarding friction.  Or the lack thereof.

I have a planet, it pulls on actors and everything is great.  The issue is if I don't move the player he will slowly start moving around the planet on his own.  This is annoying but not as big of a problem as the player never stopping if they land back on the planet, they just spin around the planet forever.

I have tried enabling physics on the planet actor so I can use friction but I can't seem to keep the planet from moving.  I have tried making the planet not able to move and using the code blocks to enable friction on the player colliding with the planet.  I tried reducing the velocity of the actor upon collision which didn't work and, admittedly, probably did wrong.

I have seen plenty of examples of radial gravity without this issue so I feel I must be doing something wrong that is very simple to correct.

Any help would be appreciated.  Thanks!

3
Ask a Question / Re: How do you make power ups?
« on: November 12, 2011, 08:58:34 am »
I played around with making a power up in the demo Jump and Run game.  Modified the health pack item.

First thing you'll need to do is have behaviors that specify how much health an enemy has and how much damage your character does to it by default.  You'll want those to be variables.

When you collect a damage power for example, you'll want to increase the damage variable by however much you want the power up to be.

I made it so when you hit the health pack you scaled up to 1.5 times normal size and your dmg doubled.  Just put the code in a "Do For x Seconds" loop and when the loop exits return your dmg and other variables to the normal amount.

I found it easier for testing to draw the variables on the screen somewhere so you could see if they are increasing correctly or not.

4
Ask a Question / Re: Adding music to the game
« on: November 12, 2011, 08:50:57 am »
I have an mp3 song that i uploaded, but i dont know how to add it to the game. I want the song to play while the game is being played. Please Help!!

Follow this youtube video http://www.youtube.com/watch?v=1S8NbtfCOQk to put the sounds in your game then make a scene behavior and add these blocks and then attach it to your scene.

5
Ask a Question / Re: Upload Game to Stencyl
« on: November 11, 2011, 06:44:48 pm »
Hey All,

My first Stencyl game is up now at: http://www.stencyl.com/game/play/9101

Thank you to all that helped with my questions in the "Ask a Question" forum, I appreciate it!

It's a very simple game but it's my first ever and I was figuring out how the program works.

Use the Arrow Keys to move
Up to Jump
Hold Shift to Run

You can jump twice before you have to land again (double jump).

Try to collect all the stars to move on to the next level.  Only 6 levels so it's a short game.

Thanks!

6
Windows / Mac / Flash / HTML5 / The Star Journey
« on: November 11, 2011, 06:41:48 pm »
Hey All,

My first Stencyl game is up now at: http://www.stencyl.com/game/play/9101

Thank you to all that helped with my questions in the "Ask a Question" forum, I appreciate it!

It's a very simple game but it's my first ever and I was figuring out how the program works.

Use the Arrow Keys to move
Up to Jump
Hold Shift to Run

You can jump twice before you have to land again (double jump).

Try to collect all the stars to move on to the next level.  Only 6 levels so it's a short game.

Thanks!

7
Ask a Question / Re: Upload Game to Stencyl
« on: November 11, 2011, 01:29:33 pm »
Thanks guys I see the option in Stencylworks now, I didn't realize you had to do it from within the program itself.  /facepalm   :p

8
Ask a Question / Upload Game to Stencyl
« on: November 11, 2011, 01:16:51 pm »
Well, I feel like an idiot for having to ask this but I have looked all over the place including my own profile and I cannot for the life of me find where to click to upload my own game?

I click on other user's and it shows they have however many games.  My profile say 0 but doesn't have an option for me to add or upload one?

So confused.  I just added Mochi Adds to it and I was going to upload here for the test url first to make sure it works before distributing elsewhere.

Thanks!

9
Ask a Question / Re: Killing Enemy!
« on: November 08, 2011, 02:31:08 pm »
Try attaching this to your bullet actor.

10
Ask a Question / Re: How to fire a gun in the actor's facing direction
« on: November 07, 2011, 01:58:26 pm »
Not sure how to do this exactly but a good place to start might be the "Run and Gun Example" that comes with StencylWorks.  The actor in it "Flying Combat" has a behavior called "Enemy Fire Projectile" that does similar to what you're looking for I think.

11
Resolved Questions / Re: Increase speed on each collision
« on: November 07, 2011, 10:30:16 am »
Hmm, can you post a screenshot of the behavior?

12
Resolved Questions / Re: Increase speed on each collision
« on: November 07, 2011, 10:02:16 am »
Did you check the collision groups for the actors?

13
Ask a Question / Re: cannot open StencylWorks
« on: November 07, 2011, 07:26:44 am »
Try right clicking the .exe and choose run as Administrator.

14
Resolved Questions / Re: Scene Problem
« on: November 07, 2011, 07:19:16 am »
Well something I noticed is your first "IF" doesn't check for a condition.  It has the variable "not told yet?" in the if statement but there is nothing checking if the condition is true or false.

EDIT:  Sweet, thanks Cole, didn't know that!

15
Ask a Question / Re: Making text problem
« on: November 07, 2011, 07:05:07 am »
Is that behavior called at a certain time depending on a variable or is it meant to show up constantly?

Pages: 1 2