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

Pages: [1]
1
Help, Errors, FAQ / Re: Setting sprite parameters in Plan rules
« on: 2007-11-17, 07:02:15 PM »
Ok, I see.  How did you know about the "lastCreatedSprite" variable?  It doesn't show up in dropdown lists or anything and I didn't see it in the documentation.  I'm wondering if there other such variables I might want to use.  Is there any documentation for them somewhere or do you just have to "know" about them (maybe by looking at the generated code?).  Another example of such a variable is "state", which is a member of Sprite.

2
Help, Errors, FAQ / .NET IDE (or maybe just a better editor)
« on: 2007-11-17, 05:00:31 PM »
I'm new to the .NET and Windows world.  Can someone point me to a good (and free) IDE?  Or at least a decent editor (I'm just using Notepad)

3
Help, Errors, FAQ / Setting sprite parameters in Plan rules
« on: 2007-11-17, 04:38:59 PM »
Let's say I'm defining a plan for a layer.  Under certain conditions the plan will add a new enemy sprite using AddSpriteAtPlan.  I would like to then set certain Parameters on the sprite.  And I would like to do so in the rules for the plan (not the rules for the sprite).  So after calling AddSpriteAtPlan, I think I want to call SelectTargetSprite.  But what value do I give for the "Index"?

 

4
Help, Errors, FAQ / Re: Deleting sprite parameters
« on: 2007-11-12, 09:07:21 PM »
Pressing the "Delete" keyboard button while the entire row for the property is selected did the trick.  Thanks! 

5
Help, Errors, FAQ / Controlling the size of the game window
« on: 2007-11-12, 06:55:18 AM »
Is it possible to set the size of the game window?  If so, where do I do that?  Also, is it possible to make the generated game run in full-screen mode?    Thanks.

6
Help, Errors, FAQ / Deleting sprite parameters
« on: 2007-11-12, 06:50:58 AM »
I added some parameters to a sprite, then realized I did not need them.  But there does not appear to be any way to delete them.  Anyone know how?  I was also wondering why sgdk2 doesn't let you specify an initial value for the parameter.  Do they all start out as zero?  Would also be nice if you could move a parameter up/down in the list.

7
Help, Errors, FAQ / Re: Newbie question - how to move a sprite
« on: 2007-11-06, 07:51:24 AM »
Hmm, very strange.  I tried adding in all those rules again this morning and now it works as expected.  Don't know why, but I'm happy now.  As for what led me to SGDK2, I used to make games in high school (early 80's).  Back then we didn't use graphics yet - it was all done with creative use of special ASCII characters.  Sounds lame but it was a lot of fun and the games were pretty fun to play.  I've always wanted to go back and do that again but with modern graphics, sound etc.  Building a game directly on top of DirectX was more than I wanted to bite off however, so I started looking for a framework or development kit of some kind.  Googled for "Game Development Kit" and voila, found your program.  It is exactly what I was looking for.  Glad to see so much activity on this site too.  Thanks for doing this!

8
Help, Errors, FAQ / Newbie question - how to move a sprite
« on: 2007-11-05, 08:43:12 PM »
Sorry in advance for what is probably such a simple question.  I stumbled on SGDK2 a week or so, have done the tutorial, read all the help and perused some of the postings here.  Looks like a great framework, but having trouble getting off the ground.  I created a simple project that has a rotating sprite and that was straightforward, but now I would like to make it move across the screen on its own (i.e. not due to user input).  Try as I might I cannot get my sprite to move.  I added sprite rules for AlterXVelocity, AlterYVelocity, PolarAcceleration, MoveByVelocity, AccelerateByInputs and LimitVelocity.  Nothing has worked.   Any help would be greatly appreciated!

Pages: [1]