Game Development Community

Ryan Jones's Forum Posts

Thread Post Date Posted
PSK AI Turn On Spawn (I am pretty new to this) To flip an actor, EnemyName.owner.Direction.X *= -1; EnemyName.owner.Direction.X = 0; So as s... read more 07/25/2011 (7:41 am)
Spawning enemies on level start Make your spawn max point a really high number!... read more 07/25/2011 (7:05 am)
DuckSlide animation. Playermethods.cs, you can modify speeds for things such as if you want the character to say punch an... read more 07/25/2011 (6:59 am)
Health Bar That's fine, to me it's super easy to understand. If you ever want to try and implement this I will... read more 07/25/2011 (6:56 am)
Basic enemy tutorial not working? The only time the game has ever crashed for me is when I didn't have an animation for the enemy, dou... read more 07/25/2011 (6:05 am)
DuckSlide animation. Dunno if this is helpful but you can modify speeds on the fly. So you could essentially do: [c... read more 07/25/2011 (6:03 am)
Press Down + Jump error (Solved) Try the following [code] // Down key if ( %keyDown $= "Down" ) { if ... read more 07/25/2011 (5:52 am)
Health Bar [code] %HealthCount = (( %this.Health / %this.MaxHealth) * 10); if (%HealthCount < 1) ... read more 07/25/2011 (5:30 am)
Health Bar Get your animations ready, I'm going to say you have 10 animations for a particular amount of health... read more 07/25/2011 (5:28 am)
Health Bar I know how to do an animated health bar now, haha!... read more 07/24/2011 (9:42 pm)
Enemy Attack Animation Here's an example of code from my game [code] //////////////////////////////////////////////////... read more 07/24/2011 (9:01 pm)
Cannot buy PSK Pro Version (Fixed) You should probably contact them directly instead of forum, I'm sure they want your money. http... read more 07/24/2011 (8:58 pm)
Press Down + Jump error (Solved) What if you make the platforms one way platforms? Then you can't jump down then.... read more 07/24/2011 (8:56 pm)
View Limit with 2D PSK Actor [Solved] So, actually it was much easier then I thought it was. I have no clue if the code was in the origio... read more 07/24/2011 (8:50 pm)
Mouse Input not working. Upon further review, once you load sceneWindow2D then you can start loading events with t2dSceneWind... read more 07/22/2011 (8:24 pm)
Mouse Input not working. Hey Phillip Mouse input works in MainMenuGuiSceneWindow which is where I made my custom main opti... read more 06/03/2011 (11:26 am)
GUI question You can see the code for Health within Playermethods.cs, all they're doing pretty much is when healt... read more 06/03/2011 (8:42 am)
Able to change camera view through code? [Solved] Okay, here was the issue! I edited the games usual start up routine, so what was loaded was MainMenu... read more 04/22/2011 (12:43 pm)
Able to change camera view through code? [Solved] I'm actually designing an interactive gui with a character within a scene and what's loaded is mainM... read more 04/22/2011 (11:49 am)
Able to change camera view through code? [Solved] I tried it again, but it didn't work. Any number I enter doesn't work at all. For what I'm tryin... read more 04/21/2011 (2:30 pm)
Able to change camera view through code? [Solved] My camera within the editor is currently step to 214.000 160.500, when I use getcurrentCameraArea() ... read more 04/18/2011 (12:18 pm)
A way to determine keyboard input [Solved] Great idea, it worked! Thank you much. I'm a bit ashamed I didn't think of this. Edit: The behav... read more 03/20/2011 (8:51 pm)
Blank Mac Build You have to build the Mac version in Mac OSX, can't do it in Windows. Why that option is there? So... read more 07/30/2010 (4:29 am)
Modifying the PSK actors "ControllerBehavior.cs" Hmm, that weird, it should work. Change it back to Space again, then back to P. Also check the con... read more 07/14/2010 (6:03 pm)
Make non-pushable entities Just gotta turn off the collisions. For example, lays say your character is on layer 2 and collisio... read more 07/11/2010 (9:20 pm)
Only shoot after the shoot animation has completed [code] function MyPlayer::executeShootAnimationState(%this) { if ( !%this.Alive ) { ... read more 07/09/2010 (1:28 pm)
Disable flipx within PSK Another question. When I use %this.updatedirection = 0; When the player moves right (since my de... read more 06/27/2010 (7:54 pm)
How to get the enemy to fire a projectile? Okay figured it out. I always gotta post up a question on the forums because it seems to make my br... read more 06/27/2010 (1:00 pm)
How to get the enemy to fire a projectile? Yeah correct, it blows up before it spawns too close but the enemy still will only fire only firebal... read more 06/27/2010 (6:49 am)
New AI Characters There's probably a call somewhere you have to do because normally you can only move vertical if you'... read more 06/24/2010 (10:52 am)
New AI Characters Work fine for me, at the top of PlayerMethods.cs I have the following: $currentPLAYER = %this; ... read more 06/23/2010 (5:50 pm)
New AI Characters Also try adding... [code] // This turns off gravity %this.Gravity = "0.0 0.0"... read more 06/23/2010 (8:48 am)
New AI Characters I'm sure there will be questions, ask away. Comically, if you jump on the enemy's head, it wont k... read more 06/22/2010 (10:59 am)
New AI Characters part 3 of 3 Now within (gamefolder)/game/gameScripts/GameMethods.cs [code] ... exec ( &quo... read more 06/22/2010 (10:45 am)
New AI Characters part 2 of 3 Within this same folder, create LogicBombMethods.cs Once again, if you don't underst... read more 06/22/2010 (10:43 am)
New AI Characters This question pops up often.. this is how to make a standard enemy with an attack. I wont go into t... read more 06/22/2010 (10:41 am)
New AI Characters With the code I gave you, you don't need that behavior, because the only thing that behavior does is... read more 06/22/2010 (7:32 am)
Spawn point variable to actor Ahhh, how to spawn something through code! [code] %targetPosition = "335.000 -45.000";... read more 06/22/2010 (6:43 am)
New AI Characters [code] function Enemy::searchtarget( %this ) { // Within PlayerMethods.cs I have $currentPlayer =... read more 06/22/2010 (6:37 am)
continue jumping as long as jump key is held I've done what you did by accident trying to create an air dash. I basically just had gravity turne... read more 06/22/2010 (6:25 am)
Animation seems to be stuck I always do: Spawn Idle Run (cycle) Fall At the minimum. Even if you're just using the s... read more 06/21/2010 (6:27 am)
Pushable Platforms (Crates)? Couldn't you just create an enemy (box) with no AI? Also turn off the enemy collide in script. The... read more 06/21/2010 (6:23 am)
Animation merging with custom states So what you're trying to say is... You have a run animation of 10 frames. You want it so that if... read more 06/21/2010 (6:20 am)
Editing the PSK assets. You made Kratos run around, but do you actually understand why it's working?... read more 06/04/2010 (4:30 pm)
Editing the PSK assets. You're really making thing more complex than they are here. Plus mix and matching PSK elements with... read more 06/04/2010 (3:27 pm)
Editing the PSK assets. Errr, for now just remove that collision from your code and we'll tackle any new issues you have one... read more 06/03/2010 (10:00 am)
Editing the PSK assets. Yes, remove it. Just make sure that the enemies and Kratos are not on the same layer and whatever... read more 06/03/2010 (8:46 am)
Editing the PSK assets. I'm assuming you're pulling from KratosMethods.cs and you have the following line active. [code] f... read more 06/03/2010 (8:34 am)
Editing the PSK assets. Try messing with the gravity values actually. Just plug in different numbers but make them either r... read more 06/03/2010 (8:07 am)
Editing the PSK assets. That's the default value, did you try changing them? Jumpforce = 5; They go into the datablock as ... read more 06/03/2010 (7:55 am)