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.


Topics - Edge123

Pages: 1 2
1
Ask a Question / Why Does My Actor Double Jump?
« on: March 01, 2020, 09:18:39 pm »
So I'm trying to figure out why this code is making my Actor double jump. This code ended up working out for my game, but can anyone explain why it is making my actor have a double jump?

https://imgur.com/a/5xOMy6Y

2
Ask a Question / Actor Goes Out of Scene [Solved]
« on: November 26, 2019, 09:31:09 pm »
Alright so lets refer to the actor I'm having a problem with as actor 1 and the actor that has no problems as actor 2

I've been using this code to keep actor 1 in a scene:
if x < 0
set x to 0 for self
if x of self > scene width (pixels) - width of self
set x to scene width (pixels) - width of self
For some reason it works for when the actor's x < 0 but not for when the actor is out of bounds on the other side of the scene. I have this exact code for actor 2 and it works for them. Any idea as to why actor 1 is not working with me?

3
Ask a Question / Randomizing when actors spawn [Solved]
« on: October 18, 2019, 10:09:57 pm »
I've been trying to make an actor spawn obstacles at random times, but it keeps choosing a specific timed pattern rather then having a randomized timed pattern. This is the code I have for the actor:

https://imgur.com/a/KbgIXKT

How do I make it so spawning the actors have random timed patterns?

4
Ask a Question / Executing a block of code once [Solved]
« on: September 25, 2019, 08:26:03 pm »
The title is a bit confusing, but what I'm trying to say is, is that in my "updating" code, I want to execute a chunk of code only once, but have a code inside that chunk constantly updated so it can meet my true or false statements.

https://imgur.com/a/0Sqlevf

The true or false statements I am talking about is inside the "do every 1.4 seconds" block. What can I do to make it so its constantly checking in that block of code so "get current frame = 4" and "shoot = false" can become a true statement?

5
Ask a Question / Switching animations after finishing an animation [Solved]
« on: September 20, 2019, 08:41:55 pm »
I've been trying to figure out how to switch animations after one animation is finished, but I can't figure out the proper blocks for that to happen. This is the code I have so far.

https://imgur.com/a/ooYysAV

6
Ask a Question / Getting an Actor to Switch Animations Then Start Shooting
« on: September 16, 2019, 07:27:17 pm »
Lately I've been trying to make a code where when the player gets close enough to the enemy, the enemy will switch to a surprise animation, and after the surprise animation is done, depending on where the player is, the enemy will start shooting a projectile at the player. I've only gotten the enemy to get to the surprise animation and then the animation keeps on repeating until the player isn't close to the enemy anymore. This is the code I have.

https://imgur.com/a/PBJbgv5

7
Ask a Question / Sounds Effects Break the Music [Solved]
« on: September 14, 2019, 04:22:31 pm »
So I figured out that when I use a sound effect in a level, sometimes the music won't reload on creation of the scene if the player dies so it will just stay silent. When I remove the sound effect from the level, if the player dies, it will 100% of the time reload the music successfully. Is there something wrong with my sound effect file or could it be something else?

8
I've been trying to figure out how to make it so when the player gets close enough to an enemy, the enemy will start shooting at the player. How exactly do I execute this?

9
I've been having problems with my music being unable to play sometimes after the player dies or restarts a scene. Another problem is during the boss fight, the boss is suppose to shoot projectiles at the player, but when the player dies during the fight, it restarts to the projectiles being created and staying where it was created. This goes for the player as well since they are suppose to shoot at the boss. This is the code I have if it's helpful.

https://imgur.com/RsJE2kj
This is when the player gets killed by any dangers. The code is the same for all dangers.
https://imgur.com/FFYx0b3
How a scene is created.
https://imgur.com/mPUDRLe
When the projectile is created by the boss.
https://imgur.com/YUlpXkl
When the projectile is created by the player.

10
Ask a Question / Uninstalling Stencyl Potential Problems
« on: May 29, 2019, 09:32:17 pm »
I wanted to ask that if I wanted to update to a new Stencyl version, would uninstalling Stencyl delete my Appdata folder and therefore, delete the games I have on Stencyl?

11
Ask a Question / Transferring Stencyl Data to a New PC [Solved]
« on: October 30, 2018, 04:48:16 pm »
I was wondering what files I need in order to transfer all my Stencyl data to a new PC since I plan on selling my current PC.

12
Ask a Question / Bullet goes towards certain actor (Solved)
« on: August 04, 2018, 02:26:45 pm »
What is a way to make a bullet go towards a certain actor's position when spawned?

13
Ask a Question / Actor shoots on a certain frame of animation [Solved]
« on: August 03, 2018, 01:02:36 pm »
I'm trying to figure out how to make an actor shoot on a certain frame of it's animation but I can't seem to figure it out. The "every second" block doesn't work since the more time the actor is alive, the more the shooting doesn't line up with the frame I want it to shoot.

14
Ask a Question / Actor shoots on a certain frame of animation
« on: March 31, 2018, 07:33:46 pm »
Is there anyway to get an actor to try to shoot on the frame of animation you want? I've tried doing the " do every "" seconds" block, but the longer you play with the actor on screen, the more it doesn't line up with the animation.

15
So what I'm trying to do is use bullets, and whenever it hits a ball, it would kill both the bullet and ball on contact. It takes a few shots to kill the ball, but for some reason, whenever the ball dies, the last bullet to hit it keeps moving, usually at a slow speed. Is there anyway to kill the last bullet that touched the ball?

Pages: 1 2