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

Pages: 1 ... 428 429 430 431 432
6436
Ask a Question / Re: How to specify collision actor?
« on: November 03, 2011, 03:30:30 pm »
My guess is to use the "group for colliding shape" block and have the coin and the player in different collision groups.

6437
Ask a Question / Re: Having trouble with High-Scores. (Kongregate)
« on: November 03, 2011, 02:48:15 pm »
i thought you have to use a block to setup a connection with Kongregate first ???

"In my starting scene, I have a behavior with just the "Start Kongregate API" in the when created box."

 ::)

6438
Ask a Question / Re: How to specify collision actor?
« on: November 03, 2011, 02:46:30 pm »
Will coin ever collide with something other than the player?  If not, then you don't really need to specify the actor.

6439
Resolved Questions / Re: I Need Help With A Character Select Screen
« on: November 03, 2011, 02:44:00 pm »
Hmm, you can't use a game attribute of "actortype", but you can use game attributes of "number" combined with "if" statements to tell the scenes which actor to create.  For example, if the character chosen is guy1, set the game attribute to 1 and in each scene say "if the game attribute is 1, create guy1."

6440
Ask a Question / Re: How to set a cetain amount of bullets
« on: November 03, 2011, 12:09:39 pm »
Does this image help?

6441
Windows / Mac / Flash / HTML5 / Re: Escape from planet X
« on: November 03, 2011, 07:34:58 am »
If the pig's speed is constant you don't need to set it every frame.  Put that inside the when created block.  Also I'm wondering if the actors for the scene are created as the pig runs along or when the scene starts.  If it's the latter, then that needs to be fixed by creating the actors as the pig moves (harder) or by splitting up the scene into more scenes (easier).

6442
Resolved Questions / Re: I Need Help With A Character Select Screen
« on: November 03, 2011, 07:09:50 am »
Yeah, just make an "actortype" attribute to replace the coin.

6443
Resolved Questions / Re: I Need Help With A Character Select Screen
« on: November 02, 2011, 11:44:29 pm »
After looking at your image again I found the problem.  Move your "otherwise if" statement below the first "if" statement, not inside it.

6444
Resolved Questions / Re: I Need Help With A Character Select Screen
« on: November 02, 2011, 11:11:43 pm »
The only other difference I see is that your attribute is not hidden, but I don't know if that will change anything.

6445
Resolved Questions / Re: I Need Help With A Character Select Screen
« on: November 02, 2011, 11:00:03 pm »
I made a couple actors to test this and it works just fine.  Is it an actor behavior attached to the character?  Also, if you aren't seeing anything at all it could mean the coin is being drawn behind the character.

6446
Ask a Question / Re: Projectile weapon behavior help?
« on: November 02, 2011, 08:24:39 pm »
I think it would be easier to move the shooting (if control is pressed, etc.) to a behavior attached to the ship rather than the laser and have that behavior create the laser and set the velocity.  Also, assuming you want to autofire when the button is down, make sure to add a boolean attribute to stop the weapon from firing every frame.

6447
Windows / Mac / Flash / HTML5 / Re: Escape from planet X
« on: November 02, 2011, 08:08:55 pm »
I don't know to what extent scene size affects performance.  If you already defined all the attributes and don't see any problems looking through your behaviors then post some screenshots of them and maybe someone can spot the problem.

6448
Windows / Mac / Flash / HTML5 / Re: Escape from planet X
« on: November 02, 2011, 05:43:54 pm »
The game runs under 20 fps for me.  Make sure there are no empty attributes and look under the "always" block to check for things you can stop from executing every frame.

6449
Resolved Questions / Re: I Need Help With A Character Select Screen
« on: November 02, 2011, 03:25:29 pm »
I'm guessing the coin doesn't go away because your game freezes from spamming actors onto the screen every frame.  When using the always block you want to make sure things that should not actually happen in every frame aren't by controlling them with boolean attributes.  Example attached.

6450
Ask a Question / Re: Getting animation list
« on: November 02, 2011, 03:11:28 pm »
When editing an actor you can add more animations.  Then when the actor is created, you can set an attribute to a random number between 1 and x where x is your total number of animations.  Make if statements for each number of the attribute and set the animation based on that.

Pages: 1 ... 428 429 430 431 432