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

Pages: 1 2 3
1
Ask a Question / Re: Linear Gravity?
« on: October 08, 2015, 04:28:50 am »
Thanks for your reply, I tried that but for some reason my left and right movements don't work, I attached my code below, not sure what is wrong?

2
Ask a Question / Linear Gravity?
« on: October 07, 2015, 03:42:12 pm »
Hi,

I want to make a game where I can easily flip like gravity duck...however I want to make the player move faster when gravity flips, If I use the in-built gravity function, the actor moves up from slow to fast, is there any way I could make this linear, so he moves up at a constant rate?

Thanks,

Sunny

3
Hi, I used an extension to grow/shrink actors.
I want to make an actor which grows while the mouse is pressed on it

I have the following code for the actor, sometimes when i run the program it works fine sometimes it works a bit then doesn't then works again.
Is there something wrong with my code?

I used the Scaling Utilities extension (http://community.stencyl.com/index.php/topic,34277.0.html)

Thanks!

4
Extensions / Re: Scaling Utilites (Optimize Pixel Art and More!)
« on: October 05, 2015, 09:12:43 am »
Thanks for trying guys, I don't really know either, might make a forum post see if others can help, maybe its bad programming technique :P

5
Extensions / Re: Scaling Utilites (Optimize Pixel Art and More!)
« on: October 05, 2015, 07:41:00 am »
Hey thanks for making this! It seems to work but seems glitchy, not sure what I did wrong here, could someone help me check?

I have spawned two of these actors on the scene, and I want them to expand if the mouse is pressed on them:
It only works sometimes and i'm not sure why

It seems to work when I only have one actor on the screen though

6
Ask a Question / Re: How to Make an actor like this
« on: February 22, 2015, 03:05:36 pm »
Also, how would i go about making a sort of endless scene? With the actor free to move top, down, left or right?

Any help would be appreciated!

7
Ask a Question / How to Make an actor like this
« on: February 22, 2015, 02:41:03 pm »
Hey, how do i make an actor behave like the spaceship in this game:

https://www.youtube.com/watch?v=KXrpp774ADU

Say I use keyboard left and right keys to turn the actor left and right

Thanks,
Sunny

8
Ask a Question / Spaceship Controls Help
« on: February 22, 2015, 12:58:29 pm »
Hi, this is probably an easily solvable issue but I'm not sure how to do it:

I have a spaceship actor moving around the scene, it moves at a constant speed, initially upwards,
and when the user presses the right side of the screen, the actor will turn right, and if the left side is pressed, it will turn left.

The camera follows the actor around a large space

I am not sure how to make this in stencyl

Thanks,
Sunny

9
Ask a Question / Re: Endless Game Methods
« on: February 22, 2015, 11:29:10 am »
Ah okay I may try that! Thanks!

10
Ask a Question / Re: Endless Game Methods
« on: February 22, 2015, 09:12:52 am »
Hmm, that would make the game run slow wouldn't it? Haven't tried it though

11
Ask a Question / Endless Game Methods
« on: February 22, 2015, 06:40:56 am »
I want to create an endless game(portrait) where the player continues to move up. However, I want to incorporate some features which would make it difficult to use the standard template for a endless (with the actor fixed at the bottom, and obstacles moving down).

Is  it possible, to have a scene in which the actor is actually moving up, with the camera following, and the parts of the scene be removed when it exits the bottom of the screen?

If someone could help me think of a way to design the game I could provide more details, but i'd prefer to do it in private

Thanks
Sunny

12
Resolved Questions / Re: Swiping actor up or down
« on: February 07, 2015, 09:00:06 am »
Thank you! It works!  :D

13
Resolved Questions / [FIXED]Swiping actor up or down
« on: February 07, 2015, 05:58:10 am »
Hey, I am trying to make a behaviour for an actor which causes the actor to move up or down a certain y value if the user swipes the actor up or down.

I currently have this code which does not work
There will be multiple actors on the screen, so it is important the user swipes from the actor it wants to move

Any help will be appreciated!

14
Sweet! That works, I believe the "if mouse is down" is redundant as well? This code seems to work:

15
I replaced it with an IF, however, the actor only moves slightly when I click, it does not do anything after even when my mouse is still clicked.
I attached my code

EDIT: Does "mouse was pressed on self" mean pressed down and released? or just pressed down? because I think I am looking for IF mouse is pressed down, and while the mouse is still pressed (doesn't have to be on actor anymore) then follow mouse's y

Pages: 1 2 3