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

Pages: 1 2 3
Dialog Extension / [BUG] Dialog base with Stencyl 4.0.2
« on: March 24, 2020, 12:13:27 pm »
Making  a dialog base and assigning it any window will make it throw an error upon closing the game. It will also refuse to print any text at all if game is tested. Any workaround will be appreciated ,and this happens on both 32 bit and 64 bit version of stencyl

Here is a video of me recreating the bug on a blank game:

As you can see, I'm able to assign a font to the base dialog but any window will make it bug out. I tested various images and all of them didn't work

Ask a Question / Re: Need Help with a 360 degree gun
« on: December 06, 2017, 05:29:35 pm »
This is what I use.

Those lines of code could work but I'm having a hard time fitting the "+ X of Self" and "+ Y of Self" in that formula. Leaving it just like that causes bulets to just spawn in the 0,0 area with slight ajustments depending on the rotation.

Ask a Question / Need Help with a 360 degree gun [SOLVED]
« on: December 06, 2017, 01:07:14 pm »
So, I want to make a arena type game where the player gets swarmed with enemies to defeat. But I'm having a hard time getting bullets fired to actually come from the tip of the gun since rotation doesn't actually change X and Y values. How do I make bullets come from the actual gun? (BTW, the game looks very crappy but it's beacuse it's only using test assets to this point)


Edit: Thanks JeffreyDriver for leading me in the right direction! I eventually managed to get it to work by using this behaviour.
Also, a great thank you to Majora64 for attempting to solve my problem.

Ask a Question / Re: Simple Physics going crazy
« on: November 23, 2017, 05:09:05 pm »
There's no way the Box2D stuff is lagging behind. There's barely anything going on in the screen. At the times of those screenshots, the hearts had no collision box neither the tiles behind them. The game algo goes at full 60 fps too. And yes, all the hitboxes were just rectangles, nothing advanced

That advanced tab I was talking about was the global settings for the whole game, not just for individual actors. And for that reason, the "Enable Debug drawing" option doesnt do anything at all.

Ask a Question / Simple Physics going crazy
« on: November 21, 2017, 04:12:39 pm »
Ok, so for some reason collisions don't seem to occur properly when "Simple Physics" mode in the advanced configurations tab is turned on. Its best explained by the pictures attached to this post. Sure, I could just turn on "Box2D" and fix this right away but the framerate would take a huge hit rendering the game almost unplayable. Any help would be greatly appreciated!


Ask a Question / How to make good turret AI?
« on: November 16, 2016, 05:58:02 pm »
So, in a top-down shooter, what can be the decent way to code a turret? I tried to make a radar-type thing with a line rotating over that turret .When that line collides with a player, the turret will shoot there, but then the turret will shoot the walls if the player is detected on the other side of the wall. Any way to prevent this?


Ask a Question / Re: Changing project resolution
« on: November 14, 2016, 06:16:37 pm »
On top of the dashboard, there's the "Create New..., Save Game, Import, Settings, ..." icons. Click the setting one and then look in the top part for the smaller icons reading "Main, Display, Advanced." Hit display and modify to your heart's content

Ask a Question / Re: Why doesn't this work?
« on: November 14, 2016, 03:27:48 pm »
This error may be somewhat tricky to explain with words so here's a video I made showcasing what I'm talking about

Ask a Question / Why doesn't this work?
« on: November 13, 2016, 07:27:30 pm »
So, I'm making a multiplayer shooter game. I just copy-pasted the behavior for Player 1 and the Player 1's projectile into Player 2 and Player 2's projectile. One of such behaviors didn't want to work for some reason and I can't figure out why if it works on Player 1.

When the circled requirement is met, the bullet fails to spawn altogether. No, its not colliding with anything and yes I have tried to replace the blocks with the same ones but that didn't work. Weirdest part is when I replace the "W is down" block with a boolean set to true, it actually works fine. 1st pic is the bullet behavior and 2nd is the Player behavior. Any advice would be appreciated.


Edit: Rip I forgot to circle the behavior, it was the "Otherwise if W is down" block inside "If Q is down" block on the first picture in the "when Created" part.

Abandoned Bugs / Can't Upload a Game
« on: January 20, 2016, 06:51:52 pm »
It keeps saying its larger than 16 Mb when I try to post it on Stencyl forge. What doesn't make any sense is that in a flash file, the game barely reaches 8Mb (Its 7554Kb). On the folder, It's 11.1 Mb. Need some help here  :-\


Ask a Question / Sand
« on: January 29, 2015, 02:44:57 pm »
I want to make an actor that behaves like sand ,but when I tried to make a 1 pixel block, The game went into 0fps when I spawned 30 or more of this kind of actor. Trying simple physics didn't work because it wasn't affected by gravity. I need serious help here.


Ask a Question / Simple actor
« on: January 27, 2015, 04:08:36 pm »
I have a big problem here. I have an actor that is as big as 1 pixel. I want it to behave like sand ,but the problem is that when I spawn 30 or more of this actor, the game goes into 0 fps. Trying simple physics didn't work because it was not affected by gravity. If anyone can help me, I would appreciate it.


Ask a Question / Splitscreen
« on: October 04, 2014, 11:25:33 am »
I just wanted to ask if splitscreen is possible in stencyl for local multiplayer and those kinds of things.


Ask a Question / Re: sound code
« on: June 05, 2014, 06:39:09 pm »
i created a video about how to tackle this >>
the music part starts around 20 minutes.

Good Luck!
Thanks! you really helped me a LOT.

Ask a Question / sound code
« on: June 03, 2014, 12:19:49 pm »
Hi guys, I just wanted to see if someone would tell me something I need. Is there a way to make a code in music that does not make the music start whenever the player enters the scene? I know I could just do this:

When created
Stop all sounds
play town music on channel 7

But that will make the music start from the beggining which could be annoying to the player. This might be a no-brainer ,but I can't figure it out. If someone could help me, that would be greatly appreciated.

Pages: 1 2 3