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

Pages: 1
1
Ask a Question / Changing the speed of a scrolling background
« on: July 04, 2012, 02:26:26 pm »
Hey,

Working on a game that has a constantly moving background (with several layers). During the course of the game the scene will pick up speed (everything moves faster), which requires the backgrounds to speed up scrolling.

 I have read through this: http://www.stencyl.com/help/view/backgrounds-and-foregrounds/ and cannot see anything relating to adjusting the speed of the backgrounds on the fly. Is there a block that I am missing? If not, is there any piece of code I can run that would change or update the scrolling speeds of background/foreground layers?

Any help on this is much appreciated.

Thanks.

2
Ask a Question / Using "visit URL and then do..."
« on: October 31, 2011, 05:11:38 am »
I am trying to create something that can accept custom information and then re-post it with more detail further on.

That is, embedding a game on a website which has login information and keeps track of the number of times played. Now I don't know a great deal about web design but I am guessing it is possible to have this data available to read from a URL somehow, and so using "visit URL and then do..." is the best option in Stencyl for importing outside variables.

The problem I am having is the help files covering the usage of these blocks is very limited and doesn't help to explain how to retrieve data or what format the the data has to be in to be received or even an example URL. At the moment I am clueless about how to even start using this function or what is involved to get it working with a website.

Has anyone used this functionality before that could provide an example?
Does anyone know how this works with websites?
What does the website have to do to send data?
What does a get request url even look like?
Is this even the best way to communicate variables like player ID from an outside website source?

3
Ask a Question / How would you go about creating a drawing game?
« on: August 06, 2011, 04:24:19 am »
I'm working on a project, that requires the player to trace over a shape. The trace does not have to be completed in one movement, it can be as many strokes as needed with a timer between each (example 3 seconds inactive = fail/retry).
 All of these are just requirements the game its the actual tracing part i'm interested in knowing how you would go about it. The trace should also be visible, that is you can see the lines being drawn.

Approaches ive considered:

Checkpoints, the shape has a somewhat-large number of checkpoints covering it, hitting them in the right order produces a correct response. This approach does not cover the visual element.

Creating lots of actors, Creating a new circle shaped actor every 0.2 seconds or thereabouts. Cons: VERY memory heavy and will slow the game down easily.

Drawing Lines between key spots, Lines are less memory eating but they do not create a fluid motion, circles and curves will look jagged.

Any thoughts on this? Is there a drawing function I have overlooked in Stencyl?

Pages: 1