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

Pages: 1 ... 7 8 9
121
Ask a Question / Re: How can I upload my game to Stencyl
« on: March 20, 2013, 05:00:33 pm »
Publish -> Stencyl -> Stencyl Arcade.

- Tobben

122
Resolved Questions / Re: Repeat custom event
« on: March 19, 2013, 06:29:54 pm »
I figured it. It was something wrong with the cooldown in the custom event. ^^ Thx for answer :) Made me take an extra look at the behavior :D

- Tobben

123
Resolved Questions / Repeat custom event[Solved]
« on: March 19, 2013, 05:44:09 pm »
Hmm, idk why I have a hard time repeating a custom event. The enemy AI works just fine If I have it in updated. But I am working on learning how to use custom event. Make sense that it will make  the game run better.

When the enemy spotted me(If I am 300pixel away from it), then the custom event triggers. But even if I am still 300pixel away from it, it only shoot me once. How can I repeat the custom event to keep on shooting?

124
Ask a Question / Re: How to make a region push the player
« on: March 19, 2013, 04:26:54 am »
Not sure, but what about making a boolean.

When [Player] [enters] [Region 0]
If teleport(boolean) is false
Set teleport to true
Disable behavior 4way movement
Push [Player] [sharply] toward [270] degrees at [50] force   
Do after 0.20sec
Set teleport to false
Enable behavior 4way movement.

Haven't done something similar before. But if 4way movement is the problem. U can prob temp disable it. And enable it again.

125
Ask a Question / Re: Problem with actors and tiles
« on: March 19, 2013, 04:14:57 am »
Your actor collision is not set as sensor?

126
Resolved Questions / Re: Understanding use of coordinates
« on: March 16, 2013, 06:00:19 am »
Thank you very much, rahulmartin ! Sorry for late replay, red your answerer 4am so had to sleep ;P I understand how to use them now :) And it went well with the Y-axis too. So now I can fix more interesting AI with sword, gunshot etc. using coordinates and ofc chasing. 

Last time I tried regions, I didn’t know that much about attributes. I can't remember but it is possible that all regions was on the whole time. I guess I can trigger it with coordinates. :) But I do remember a bug with regions. If the player was close the same pixel at the start/beginning of the region, it stopped(that should happen when you left the region, but the animation was still in “agro mode”(as you was inside) I red about other ppl having the same problem. But it is possible that it is working properly now.

I am so glad I finally understand coordinates!:) Thank you again;>

t4u: Hmm, I didn’t think about that option. But I like it :) I will keep it in mind. Thx for the suggestion!:)

- Tobben

127
Resolved Questions / Understanding use of coordinates[Solved]
« on: March 15, 2013, 06:43:14 pm »
The biggest problem so far for me in Stencyl is to understand use of coordinates. I am just totally stuck on that contents. Not sure how many hours spent on this, lost count. So I was thinking about reset everything, start from scratch/fresh start.

I understand how to track your own X and Y. I understand that as you move down the screen, Y gets bigger and smaller as you move up. For X it's get bigger as you move right and smaller as you move left. I know that you for example compare your X with the enemy like this:

If Player X(game attributes) <= x of self
Do something

Still I don't get it/can't figure out how to use them . I really need that eye opener and I feel that I am somewhat close.

I am trying to figure out how to use coordinates for enemy AI. For example if the player is 100pixel left from the enemy, it will see you. And if your are more then 100pixel from the  enemy(left side), it won't see you. Same with the right side. If you jump over it from the left side, to it's right side. It will change animation to right as you are over it. At the same time if you walk under the enemy or very far over the enemy, it won't spot you. So kinda like making a huge rectangle around the enemy where it can spot you. I know you can use region. But the fps drop was to high, so not worth using. But there is other situation then enemy AI where understanding coordinates is important. So really want to learn this :)

Sorry for my terrible English and I know that I am asking for a lot. But it would mean a lot for me, to understanding this. If somebody have time to explain a bit or maybe show some of the code using for this and explain why they did use those blocks etc. I would hopefully gets it and can figure rest of it! :) Hopefully ppl understand what I am talking about, or I have to use my “awesome” paint skills and draw some stick-man to explain it with more details ;P

Thank you for your time! :)

- Tobben

128
Resolved Questions / Re: Mouse on actor movement.
« on: March 15, 2013, 07:00:29 am »
Tyvm, Hectate :)

129
Resolved Questions / Mouse on actor movement[Solved]
« on: March 15, 2013, 06:21:31 am »
Hi

I was wondering about how to move an actor with mouse clicks. For example if I click on the right side of the actor, it will do something, and if I click on the left side of the same actor, it will do something else. First time working with mouse click movement. Any suggestion how to do this? :)

- Tobben

130
Actor behavior:
http://puu.sh/25l4v
Scene behavior:
http://puu.sh/25l6u

^Something like this

- Tobben

131
Ask a Question / Re: Reset lvl button stuck + particles effect
« on: November 14, 2012, 03:05:35 am »
Almost forgot this topic :o Thanks, it worked :)

Yes Innes, it was so easy to fix ^^ Will spend more time reading Stencylpedia =)

- Tobben

132
Ask a Question / Re: Unlock levels
« on: November 14, 2012, 03:00:38 am »
Thank you very much :))))

*Sending milk and cookies in the mail*

- Tobben

133
Ask a Question / Unlock levels
« on: November 13, 2012, 02:48:40 pm »

Hey!

How can you unlock levels? For example after lvl 1 you unlock lvl 2, at the same time you can play lvl 1 again if you wish. Thereafter, you play lvl 2, and unlock lvl 3, at the same time you can play lvl 1 and 2 again if you wish. I've been searching around the forum and found alot of posts regarding this, but I am still very confused. I've seen sunrisekingodm's video guide, but it did not help either. I've also read http://www.emanueleferonato.com/2011/12/27/manage-saved-games-with-stencylworks/, but still it is very confusing for me. Is it anything you can download from StencylForge that makes the process easier? I have searched for it, but have not found anythin in particular yet.  I have probably used around 20 hours on this project, but still to no avail.

Cookies and milk to whomever that can make an easy step by step guide for me on how to achieve the unlock-system I'm after.

- Tobben

134
Ask a Question / Reset lvl button stuck + particles effect
« on: November 10, 2012, 12:48:52 pm »
Hello my first topic on stencyl forum :)

I'm working on my first game, I'm obviously not that good yet, but working on it :)

I have two major problems:

1. reset button info:
http://puu.sh/1oG9R


How can I get the reset button (top right corner) to follow the camera. Camera follows only after the main character and reset button stuck on top right corner.

Camera info:
http://puu.sh/1oGct

2. The main character in my game is a bomb. I want particles effect (coming out of the fuse, in the form of red, orange / fire-like particles) bomb rolls around in  motion so position on the fuse will change. How can I get 3 different type (color) particles out of the fuse?

Remember I'm a newbie :D

Thank you in advance for your reply :)

- Tobben

Pages: 1 ... 7 8 9