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

Pages: 1 2 3 ... 7
1
If it is a non-consumable IAP you need to be able to restore it or your app will be rejected from the apple app store.

2
Stencyl Jam 14 / Re: Dungeon Roguelike Adventure Castle
« on: May 03, 2014, 09:44:23 am »
Yeah enemies etc. are randomly generated.  The layout of forest and castle is random too.

Sprites are from www.oryxdesignlab.com

3
Ask a Question / Re: The game is lagging on Android
« on: April 17, 2014, 02:48:29 am »
I doubt this will make a difference, but you should use:

 if  (x of self) + (width of self) < 0

then kill self

therefore it will wait until the whole actor is off the screen until the kill self code is triggered.

You're problem might be that you are creating and destroying too many actors (though this problem was meant to be solved with Stencyl 3.0). If this is the case, rather than kill the actors you might have to move them to the start and reuse them. SO rather than creating and destroying 100's you only actually use about 10.

4
Ask a Question / Re: Disabling specific features of box2d
« on: April 11, 2014, 05:08:18 pm »
Well it sounds like you don't need the bullets to do any physics at all. So you are actually wanting to use them as sensors.

As for the tiles... Just set the bullet to kill self after colliding with a member of tiles, it is one line of code... (under collide with member of group)


5
Stencyl Jam 14 / Re: Monkey Cannon, hopfully works this time?
« on: April 11, 2014, 10:31:10 am »
Won't open on my mac....

6
Ask a Question / Re: Disabling specific features of box2d
« on: April 11, 2014, 05:02:34 am »
Have you tried using sensors?

7
Ask a Question / Re: How can I add time only once?
« on: March 29, 2014, 01:06:33 pm »
how about:

IF score is mod 20 AND does not equal saved current time that it was incremented

I think that might work. If not post a pic of your behaviour with that change you described in your last post, I think we are not too far away from getting it working!

8
Ask a Question / Re: How can I add time only once?
« on: March 29, 2014, 12:02:25 pm »
Use a second if statement that checks that the score has changed from the first time you added time.

9
Stencyl Jam 14 / Re: Dungeon Roguelike Adventure Castle
« on: March 29, 2014, 04:20:07 am »
For anyone that has played the game, what do you think about not giving the player a weapon to start off with?

I did this so there is a choice, go straight to the castle entrance where you are guaranteed a weapon or explore the forest first which is risky (as you might not find one straight away) but has its own rewards?

I am just wondering if it puts people off?

10
Ask a Question / Re: How can I add time only once?
« on: March 28, 2014, 05:01:06 pm »
Use a boolean.

Set it to true or false depending on what you want it to do.

Then set the timer to increase only when its true?

11
Ask a Question / Re: Behaviours randomly not functioning?
« on: March 28, 2014, 04:55:05 pm »
When a scene is created you have no control over the order in which the behaviours are initialised.

Therefore, if you reference an attribute from another behaviour in a behaviour's "when created" part, it might not be initialised, and will return value you don't expect.

So best practice, if you want to grab another behaviours attribute as soon as you can, add in a small delay or do it with a boolean that is true once within an always wrapper.

That is why I think you are seeing random things in your game.

Game attributes should be able to be grabbed straight away as long as you ain't trying to change them in another behaviour.

12
Ask a Question / Re: Behaviours randomly not functioning?
« on: March 28, 2014, 04:12:11 pm »
In your "when created" parts of code are you trying to grab attributes from other behaviours?

13
Ask a Question / Re: Collides with only TOP of the tiles???
« on: March 28, 2014, 04:09:21 pm »
There are plenty of topics of this on the forum

http://community.stencyl.com/index.php?topic=6738.0

is one!

If that doesn't help just try googling "stencyl jumping through platforms" or something similar. There might even be a behaviour on stencyl forge. Just try searching. Hope that helped :)

14
Got my game uploaded last night after the initial hiccup of whatever was stopping it over on newgrounds!

Stencyl Arcade: http://www.stencyl.com/game/play/25433

Newgrounds: http://www.newgrounds.com/portal/view/636463

15
Ask a Question / Re: How many Global Attributes can a game handle
« on: March 28, 2014, 04:51:41 am »
To draw a number in a list as 0 instead of 0.0 -

Place the list item in an "anything as number" wrapper then place that in a "anything as text" wrapper, then place that in the bit of code used for drawing text.

That has worked for me.

As for your second question, that should have work... would need to see the code to give anymore advice!

Pages: 1 2 3 ... 7