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

Pages: 1 2 3 4 ... 15
16
Ask a Question / Re: How to NOT click 2 objects at once?
« on: June 12, 2012, 07:06:16 am »
But I`m using circular collision shape, but it registers clicks even out side of the objects collision shape, it registers clicks on whole sprite image.

17
Ask a Question / How to NOT click 2 objects at once?
« on: June 11, 2012, 11:53:47 am »
Hi, I found a bug in my early phase game, there are round objects on the scene you can click on them drag and release button to shoot them, but when there are 2 objects really close to each other you can click them at once... Ahh my english is a bit weird these days... Look at the picture...

18
Ask a Question / Re: Damping with no gravity or any other forces
« on: June 09, 2012, 04:19:34 am »
Thank you it was helpful!

19
Ask a Question / Re: Damping with no gravity or any other forces
« on: June 09, 2012, 02:47:12 am »
Actors have physics, but scene has no gravity etc.
Edit: I`ll redo this using your method.
Edit2: "push self towards (direction of movement - 180) at force x" pushes them to the left, it just applies force that I calculate from their speed, even if force is 0 it causes them to move.

20
Ask a Question / Re: Damping with no gravity or any other forces
« on: June 09, 2012, 02:28:06 am »
How exactly do you do this? Simple set x speed to x-speed * 3/4 and same with y-speed should work.
If you use it in update event, your objects will slow down (1/4 of their speed every frame, this is very, very fast, they will almost instantly stop).
Yep that was the first idea but You right it`s too fast, so I made this
Set x speed to x speed*0.985 and same to the y axis. But it`s a bit hard to configure...

21
Ask a Question / Re: Damping with no gravity or any other forces
« on: June 09, 2012, 01:53:21 am »
I set this to max and it`s still not enough, objects are a bit too slippery.

22
Ask a Question / Damping with no gravity or any other forces
« on: June 08, 2012, 01:36:34 pm »
Hi I`m creating game "secret" and I need to slow down some objects, eg if my objects is moving to the left with speed of 5 then it should apply counter force equal to speed/4. Unfortunately my objects keep flying into one direction.  There are no forces, no gravity, objects are only colliding with each other. Please help me!

23
Ask a Question / Re: Tanks - need some help with maths
« on: May 13, 2012, 12:28:47 pm »
I`ll check.
Edit: I`m looking for sin and cos instead of atan.

24
Ask a Question / Tanks - need some help with maths
« on: May 13, 2012, 12:15:48 pm »
Hi I`m ending midschool but I don`t know trigonometry like sinuses etc, yet...
So I want to create tank with cannon rotating around specific point on tanks armor.
I know it can be easilly achieved by sin and cos but...
Sorry for bad english.

25
Ask a Question / Re: Messed up tile`s collision boxes?
« on: May 13, 2012, 11:30:03 am »
Any way to fix it?

26
Ask a Question / Re: Messed up tile`s collision boxes?
« on: May 13, 2012, 12:32:24 am »
Thanks Cole!

27
Ask a Question / Re: Messed up tile`s collision boxes?
« on: May 12, 2012, 12:23:44 am »
Still does not work. The tile`s sprite is 20x20 I double checked all and they should be 20x20.
Well I don`t know if it matters but this game is converted from old stencyl to 2.0.0. I didn`t had any problem before I converted it.

Edit: I found the cause, its tile`s API it`s messing up the collision boxes. Just look at the ss, the upper ones are placed on scene designer, and the lower ones are placed by map generator(basic version).

28
Ask a Question / Messed up tile`s collision boxes?
« on: May 11, 2012, 02:43:40 pm »
Just look on the ss, I want them to be 20x20, but something is wrong and tiles semms to be bugged.
They are placed using tile`s API, through code.

29
Ask a Question / Re: Can I publish games to android?
« on: May 11, 2012, 08:40:32 am »
Thats bad.

30
Ask a Question / Can I publish games to android?
« on: May 11, 2012, 08:24:48 am »
Like in title.

Pages: 1 2 3 4 ... 15