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

Pages: 1 2 3
Ask a Question / Selecting a random actor on screen
« on: November 10, 2016, 04:25:56 am »
I have an 8x8 grid like pattern of actors on screen. I would like to select 3 of them at random every 5 seconds to change their animation. Whats the best way to do this? Would it be using a list or something else? Im having trouble selecting them at random.. Thanks in advance, you guys are always helpful!

Ask a Question / Pre-Made Rooms that are generated in random order
« on: August 29, 2016, 12:53:45 am »
So the subject kind of says it all but to give you more of a description. I want to create a challenging platformer where you get a point for each room/stage completed. Each room/stage is always the same size and the end of each one is a pipe that takes you down a floor to the next. How would I be able to design the rooms but have them generated at random/in a random order vertically down below eachother?

Ask a Question / Saving multiple actors as variables?
« on: May 15, 2015, 06:00:47 am »
I have a scene in which actors spawn randomly

after 3 seconds; actor1 spawns
after 6 seconds; actor1 spawns
after 4 seconds; actor3 spawns
after 7 seconds; actor2 spawns

it completely random what actor spawns, when they spawn and where they spawn.

I have it set so that when an actor is created it increases a variables value by one and when an actor is killed it decreases a variables value by one.
The main variables are all of number form and are called;
Actor1 on screen
Actor2 on screen
Actor3 on screen

I have it set to save on the creation of an actor and to load on the creation of the scene.

I have then made it so that when the scene is created a loop is created that repeats for the amount of actors of each type that where on screen last session. (eg a loop for actor1, a loop for actor2 and a loop for actor3, all on after another)

I dont understand why the actors arent spawning on the creation of the scene? Can anyone help me?

I have been trying to find an answer to  this for about a week now but am yet to be successful in resolving the issue. I am using the drag and drop behavior on a screen where multiple actors wander around. It works fine except for when you try and drag overlapping actors, it will pick up all overlapping actors. I have posted this issue before and was told to try using the custom behaviour 'Mouse Even on Collision Shape'. I tried using the custom behavior 'Mouse Event on Collision Shape' but it seemed to do nothing. Does anyone know how to use this custom behavior effectively or how to manually make the drag and drop behavior only move one actor at a time. Thankyou in advance to anyone who takes the time to help, I am working on a deadline atm.

Is there a way to make the drag and drop behaviour just drag the top actor in a pile and not everything overlapping?

I have a scene where actors of 3 different kinds spawn periodically.

after 5 - 10 seconds.
create random number between 1 and 3
If random number = 1: spawns actor1
If random number = 2: spawn actor2
If random number = 3: spawn actor3

This continues for the entire scene until the number of actors on scene = the actor cap I have created (16)

I have everything working fine, but if I close the game and open it, all my actors are gone. I have no idea how to save all of their positions and actor types? Thankyou to anyone who takes the time to help :)

Ask a Question / Saving a scene with multiple actor positions
« on: May 09, 2015, 08:12:38 am »
Hello, I have a game I made that is mainly contained in one scene, only one other scene exists and it is the upgrade store. The main scene works like a breeding app, animals spawn (let's say cats for the ease of explaining it) and when to cats have spawne you drag one into another and they both disappear to be replaced with a new kind of cat. This continues until you have some absurd monster cat. Everything is working fine but I can't figure out how to make the app save the position of the actors (cats) in the scene and what kind of actors they are (normal cats, level 2 cats, giant mutant max level cats)

Just to reiterate the scene starts with no actors on it and things spawn. I need to save what has spawned and where of possible

I have a stack of actors eg. Cards, and want to be able to drag the off one by one. The drop and drag behaviour unfortunately picks them all up at once. Is there a way I can Change this to only pick up one at a time?

Ask a Question / Sensing collisions without producing a collision?
« on: May 08, 2015, 07:53:11 am »
Hello. I am creating an app in which you drag an actor into another actor and a new actor is created. I am having trouble making the collision work the way I need it to.  My scene is blocked off by terrain boxes also.. If that makes a difference. I have created a custom group called monster and set my first actor into that group. Only issue is this custom group won't collide with terrain? Is there a way to fix this?

Secondly I would also like to know if you can creat a group, for example 'monster', and set it to collide with nothing, would you still be able to sense a collision if you manually called for it? I need to know this cause I want to drag one actor from the monster group onto another actor of the monster group and have them check if it's colliding with one another, if it is, kill it and create a new monster. If I have collision on the monster group, I can't hover one monster over another though? Is there a way around this?

Hopefully that made sense but if you don't understand I am happy to try and explain it a bit better

Ask a Question / How does app monetization work
« on: May 07, 2015, 08:00:10 am »
I know this isn't the correct forum for a question like this but I'm having trouble getting an answer and the DK I used was stencyl.

I am working on an app with a friend. He does art and I do the rest. We were talking about how we would split the money and I wanted to know if you could set it up so that profit from the AppStore could be split 50/50 an each half be put in a separate account

Ask a Question / Monetising your stencyl app?
« on: May 06, 2015, 06:53:21 pm »
I want to ad banner ads to an app I'm making at the bottom of the screen. It is correct to assume I still use iAds and do I need to manually clear the space where the ad will be or will the ad push up and squeeze the screen so it's a bit shorter?

Ask a Question / What is stencyl actually capable of?
« on: April 04, 2015, 01:35:30 am »
I have something ive been wanting to make for quite some time know that uses a few features from Shopping Cart Hero. So to address my question the most effective way...

Could one recreate shopping cart hero in Stencyl? And how difficult would it be?

Of course this isnt my intent, just the easiest way to get an answer that will help my situation

Ask a Question / My games collision feels wrong!!!
« on: February 18, 2015, 12:33:01 am »
Ok so I made this game a while ago and left it cause it didnt feel smooth but I recently opened it and decided to try and fix it. Does anyone have any idea of what might be the issue? like when you press space you dont jump sometimes and when you land you 'hit' the side sometimes but you dont feel like you hit the side

Ask a Question / How to rotate actor
« on: February 14, 2015, 12:53:12 am »
I am working on a game that has a rotation mechanic. Pretty much you press the left of the screen, you lean back and you press right you lean forward. Kind of like jelly car or line rider if you have ever played those :) How would this best be achieved? I have a few ideas but I feel like I need a nudge in the right direction

Ask a Question / Collision not working?!
« on: February 13, 2015, 09:57:17 am »
Ok so I have a really simple endless/randomly generated game in which you (the player/actor) stays in place and floor is generated of screen and moves towards the player. The player is constantly in running animation as to simulate he is moving forward. But I have one issue

The game requires the player to rotate the actor by pressing left or right key. The issue is when I rotate it just rotates and seems to forget about the collision. At genuinely goes through the floor and just spins in the assigned direction at the assigned speed.

I used the on key press > set rotation speed to x

(Substituting x for a value of either 35 or -35)

It just doesnt seemt o be working, how would you achieve this?

(For more info on the game, imaging you are riding a unicycle while floor is coming towards you)

Pages: 1 2 3