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

Pages: 1 2 3
1
Ask a Question / How to implement Parent-Child system in objects?
« on: July 21, 2015, 03:33:53 am »
Hello all,

I am working on a game that may require an actor to be attached with another actor (it is like a tank with chasis and turret). I need the turret to follow the tank wherever it goes, but with additional controls for rotating and firing the turret. I have done this in other game development frameworks but not sure how to implement this in stencyl.

Help would be appreciated,
thanks.

2
Ask a Question / Asteroid movement doesn't work in simple physics engine.
« on: January 07, 2015, 03:15:21 am »

Hello, i am working on a flash/android game, in which most of the actors have little to no collision (they are just sensors) and those who do have collisions have very basic movements.

Only the player actor will have significant movements/transformations which require asteroid movement behavior. So naturally I thought simple physics engine is the way to go here, as box-2D may consume more resource and slow down the game.

The problem is that asteroid movement behavior doesn't work properly with simple physics. The actor rotates, but doesn't go ahead when I press the forward button ( I think it has something to do with the "push" command that the behavior contains).

Is there someway to get around this and use simple physics engine or do I really have to use box 2D just for this thing?

would be grateful for your input.

3
Thanks for the input.

Invisible tile idea sounds great.

4
Hello everyone.

I need to know is there a difference in ways that stencyl handles collisions in terrain vs the way it handles it in tiles?

The problem is that there are two ways I can make my top-down 2D puzzle/strategy  game levels:

1) The default way for most stencyl games would be to directly create a level within stencyl with tiles.

2) The other way is that I design a level in image editing or illustration software, import it in stencyl as background and add collisions manually through terrain feature.

In first way,  it would take up to 4 layers to just get the background graphics right (the land, water, foliage, green areas etc). In second way. In second way, it would take one layer of background plus another layer of terrain to get everything ready. Plus with the second way, my graphics would be better as photoshop gives me the ease of designing that stencyl can't (not stencyl's fault, its a game authoring tool, not an image editing tool).

I just need to know whether using the second method would have any effect on the performance of the game.  Intended platforms are Flash and Android.

5
Ask a Question / Re: How to import tiles from stencyl into photoshop
« on: September 18, 2014, 11:38:32 am »
@Liberado

Thanks a lot

6
Ask a Question / How to import tiles from stencyl into photoshop
« on: September 18, 2014, 11:13:11 am »
I downloaded tiles from stencyl forge that were labelled "public domain". If im not wrong, that means anyone can use and possibly modify them at will. That is what I intend to do, edit them slightly in order to make them fit more into my game.

I need a way to import the entire tileset into photoshop, any idea how to do that? When you download the tiles, which folder are they saved in?

7
Ask a Question / Re: water textures?
« on: August 11, 2014, 12:43:30 pm »
@sdieters Fail, I don't have Javascript enabled so it didn't work :p

And secondly i knew that a smartass would come up with it, so I underlined the word "GOOD" in it. I can't find any good ones or animated ones in google >.<

8
Ask a Question / Re: Help needed with Health Bars
« on: August 11, 2014, 12:39:14 pm »
There is no behavior to kill the health actor. I only created code to create the actor and anchor/attach it to the main actor somehow and I am already experiencing it :s

9
Ask a Question / Help needed with Health Bars
« on: August 10, 2014, 04:57:47 am »
Hello everyone, im working on a game and what I basically want is for each actor to have its own health bar displayed on top of the actor itself. But health bar only appears for like 1 second and then disappears again.

I have attached the code I am using for it.

10
Ask a Question / Re: Help needed with explosions
« on: August 08, 2014, 04:34:33 am »
No its not in the same group. Explosion belongs to "Actors" group

11
Ask a Question / Help needed with explosions
« on: August 08, 2014, 03:51:59 am »
Im trying to make a code where bullet hits the actor, bullet gets killed and explosion occurs on the actor which got hit.

The problem is, when bullet gets killed, the explosion too dies instantly on that frame, instead of completing its animation cycle.
Any idea what am I doing wrong?

12
Ask a Question / water textures?
« on: August 07, 2014, 10:22:55 am »
Hello everyone, does anyone has any idea where can I get good , seamless water tiles for a top down game? preferably animated.

Thanks in advance.

13
Ask a Question / What image formats are the best for stencyl?
« on: August 06, 2014, 08:17:50 am »
Hello everyone, I was wondering what image formats are the best for stencyl. By default I was going with PNGs for transparent images(such as actors) and JPEG for background. But im interested in knowing if there are other, better options available for it. My last game didn't turn out to be very smooth despite being very simple, and I still haven't been able to know what caused it lag, so im wondering what if it had something to do with the image formats I was using.

I have the characters as 3D models, which I will render from top(its a top down game) and import them in my game.

cheers.

14
Ask a Question / Re: Region not following actor as it should.
« on: July 23, 2014, 11:38:05 am »
Here is the code I am using for it now, can't seem to know where the problem is.

15
Ask a Question / Region not following actor as it should.
« on: July 23, 2014, 11:32:18 am »
Working on a game where I have created a region and an actor, and made region follow actor. It is following actor but its kinda misplaced. What I want is the center of the region to be the same as center of the actor, but instead the center of the region region is somehow bound to the down left of actor.

Attaching screenshits of what I am getting and what I want for your convenience.

Pages: 1 2 3