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.


Topics - chanpod

Pages: [1]
1
Help, Errors, FAQ / Best way to handle multiple "collectbles"
« on: 2013-03-15, 10:58:44 AM »
So I'm going to have multiple collectables. Some will do various things other than add points. So I want to group them by type. I thought I would keep all the point based collectables in one Tile Category but I can't seem to get a proper nested if statement to work

The logic is obviously

If TouchTile == TileCategory I want
     
      if TileCategory.Index == X //Not sure how to get this part to work? I'm trying to use tilecategory touched but that doesn't seem to work
          Play sound
          Update Score
          Remove tile X
      If TileCategory.Index == Y
          play sound
          update Score
          remove tile

That's my desired approach. My working approach is to create a different Tile Category for each collectable. This doesn't seem to be efficient.

2
Help, Errors, FAQ / Implementing Game Score (Via timer)
« on: 2013-03-13, 11:07:23 AM »
Ok, so I can create the timer in C# but I'm not so sure how to implement it in sgdk. I've just started using this so I still have no idea how everything fits together. I've done the basic tutorial, but that's it. So,

1. How do I implement C# code into sgdk (I know how to import it, but how do I USE it?)

2. Once the timer is running, I don't want to display the timer, I want to display the score based on time elapsed.

3. How do I display text based counters?

Thanks, if this information is out there, I apologize. I searched around but couldn't find the thing I was looking for.

Pages: [1]