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

Pages: 1 2
1
Ask a Question / Re: Region Collision Not Being Detected
« on: May 05, 2012, 10:14:01 pm »
When you say nothing happens, does that mean the rock doesn't appear or does the rock appear but it just doesn't move.

If it doesn't move it might be because you don't have gravity set.

2
News / Re: Plans for Stencyl 2.1 - A Better Scene Designer
« on: May 05, 2012, 07:35:36 pm »
Does the inspector allow you to modify things like the actor's animation? That way you could give a "floor actor" multiple animations and change the animation in the designer and have a single floor actor.

3
Ask a Question / Re: Create actor Question
« on: May 04, 2012, 07:03:35 pm »
You need to use some basic trigonometry.

http://www.mathsisfun.com/geometry/unit-circle.html

cosine of Theta and sine of Theta are the x and y components we need.

4
What you can do is create an actor that will trigger the scene change when your car collides with it.

5
I can do artwork, too. I'm pretty busy on the programming front with several things but I'll be free eventually.

6
Ask a Question / Re: Why is the mouse so laggy?
« on: May 03, 2012, 04:16:33 pm »
This is what I did. I gave an actor a random start speed and place a bunch of this actor in the scene. Got 60 FPS.

Kept adding more and more until the FPS went to 30 FPS.

Went back into my actor. Went to Physics>Advanced>Disable Physics set to Yes

Tested and FPS is back up to 60.

7
Resolved Questions / Re: Acces to Actors on Stage
« on: May 03, 2012, 11:48:04 am »
Try wrapping it around 'for each actor of type'

8
Old Questions (from 1.x/2.x) / Re: Repel actors on screen touch.
« on: May 03, 2012, 09:49:16 am »
In the 'Motions & Forces' article, I would recommend using

For the angle, instead of using 90 degrees use the angle between your actor position and the mouse position.

To figure that out you need to find the arctangent of the difference between the two points:


Don't forget to convert this to degrees because it returns a radian value.

For the force, you want it to be relative to the distance between the position of the actor and the position of the mouse.

I am not aware of a built-in way of calculating this but the formula is pretty easy: https://www.google.com/search?sourceid=chrome&ie=UTF-8&q=distance+formula


9
Ask a Question / Re: How to send an actor to the necessary layer?
« on: May 03, 2012, 08:14:24 am »
What is the intended behavior? What are the steps you have taken?

From my understanding you are trying to move an actor from its current layer to the desired layer.

10
Ask a Question / Re: How to send an actor to the necessary layer?
« on: May 03, 2012, 07:47:35 am »
Search 'layer'

You'll find something that says: send <self> to layer <0>
You use index numbers for the layer

You can find out which layer you need to set to in the scene editor where the list of layers is located should have the layer name and the id number: [ID: 0]
Use the id number.

11
Chit-Chat / Re: Getting Frustrated...
« on: May 03, 2012, 06:25:05 am »
I would highly recommend that you take your time to familiarize yourself with Stencyl with the great documentation provided: http://www.stencyl.com/help/view/motion-and-forces/

It may take some time but it is worth it.

Here's a real world example. I had zero experience on a C++ framework that I used for http://kingdomisland.com (an online multiplayer game for the iOS). Let me remind you, I was working with C++. It took about a week of messing around to get from truthfully zero experience to feel comfortable with using it to make any game I can think of.

The key is to utilize the documentation. For those of you that are new to programming, documentation and google is your friend. You'll be a pro at Stencyl in no time.

I've just started working with Stencyl yesterday and I feel comfortable with using it to make any game I can think of.

So the next time you feel like skipping the idea of reading a wall of text (aka great documentation), think of this.

12
Chit-Chat / Re: Introduction: GeniusBear
« on: May 03, 2012, 06:16:37 am »
Welcome to the community. I am a new Stencyl user, too, since yesterday.

13
Ask a Question / Re: Is Stencyl future proof?
« on: May 03, 2012, 05:09:54 am »
How simple Stencyl makes it to share stuff is a really really big step. Think about how many people use the Internet Explorer browser just because it's the one installed, or how large a marketshare Windows has because it's preinstalled on most computers.

14
Ask a Question / Re: Collision groups not really changing
« on: May 03, 2012, 05:07:34 am »
I'm not quite sure what you mean by "already killed" I'm assuming you mean disabling the collision at run-time vs "killing" the object with the kill command, but check this out: http://community.stencyl.com/index.php/topic,7943.0.html

15
I'd be interested in collaborating with you primarily as a programmer, but I could probably help you with some art work if you need some help with that as well.

Please PM me so that we may further discuss things.

Pages: 1 2