Scrolling Game Development Kit Forum
SGDK Version 2 => Help, Errors, FAQ => Topic started by: Gohst on 2008-03-03, 05:40:47 PM
-
Hello everyone.
Just started re-using SGDK (very impressed with BenMarty for the latest version) and have been having trouble getting back in "the groove". I tried to find an included tutorial similar to the SGDK1 tut, but couldn't. I found this (http://sgdk2.sourceforge.net/Documentation/Tutorial1.html), however and have been going at it, but step "10, d, i" states:
Select "Do" from the first dropdown and "CalculateRotatedState" from the second dropdown.
But there doesn't seem to actually be a CalculatedRotateState available.
It isn't that big of a deal, since my project will use left-right states only, but I thought I'd ought to bring this up for future users who might get stuck there.
-
Have you followed the tutorial exactly? The contents of the list may depend on other things (including whether you've selected "Do" in the first box). If there are errors listed at the bottom of the window, then the list will probably be almost empty.
-
I tried again from scratch, but ended up at the same place. I think it has something to do with the way they all seem to belong to the first rule. I clicked 'new' a few more times after this, but they all combined. In a fresh project with nothing else in it, they all started seperate, but joined together.
(http://mybrain.ej.am/sgdk.JPG)
-
What version are you using?
-
Scrolling Game Development Kit 2.0.0 - same one available from the site.
-
But it's not the final release version -- check the About dialog... something must be there after the 2.0.0. I think you need to get the final release version. It's not the same one available from the web site.
-
Turns out when I installed the latest version, it didn't override the previous version. So a complete uninstall followed by a new re-install updated the program
But now, following the same tutorial from above, on step "13, b"
it says:
Select the star tile in the bottom pane and notice that its frameset index is #2 in the status bar.
but its not in the bottom pane. its in the top. Then "13, c" says:
In order to replace this tile with one that has a background, we'll override tile number 2: Select "New Tile" from the Tileset menu or the toolbar next to the "Mapped Tiles" dropdown box.
But there is no tileset menu. There is one called Tiles, but it doesn't have a New Tile option. Not only that, but there is no toolbar or Mapped Tiles dropdown bar. I'm afraid this step has me more than well and truly stumped.
-
Ya gotta read carefully ;)... did it occur to you that if the screen looks totally different, you might be on the wrong screen? :educated: It seems like you clicked on a tile category instead of a tileset.
-
Yep, that was the problem. I had all of the... branches extended (?)
Now this is just a general help topic:
I have a map which is 75 tiles wide and 380 tiles tall (the tiles are 32x32 like the tutorial) but I can't keep the player on screen. Especially during vertical scrolls. I start at the top of the map and drop, it takes a while but eventually the screen has an epileptic fit (but scrolls) but its all jerky and horrible, not to mention the player is some several kilometres below vision. The horizontal scrolling is fine, but the vertical scrolling has me beyond stumped.
-
1) You have to make sure that the entire area your scrolling through has an opaque background, otherwise there's nothing new to draw, and it will just flip through buffers of old graphics.
2) Make sure your map's ScrollableSize property is set properly. You might want to use the wizard in the map manager dialog.
3) Make sure your scroll margins aren't too big. Set them all to 32 if you're not sure, just to see if it makes a difference.
-
For some reason everything I tried refused to co-operate. But it worked just fine when I loaded it up this morning.
OK, here's where we're at now... I want to make a platform game, like SHFL. But I can't figure out how to make the character like Mario. Its probably obvious, but I'm stumped, again! I've tried everything I can think of.
-
While I'm here (or, actually, up there - I can't see an edit button) I might aswell ask for everything I'm thinking of. The character will go left and right and hit things. When he's hitting, he will be deadly, but will get hurt when normal. While I'm here I might want to have him blink for a minute and be invincible when hurt, for a brief moment.
Yeah, its a bit much, but I'm on a tight schedule and it was years since I last used SGDK.
-
One of the downloads for SGDK2 in the Library at Sourceforge (Link (http://sourceforge.net/project/showfiles.php?group_id=152001&package_id=245192)) is the "Sample Projects" which contains one called "TVSGDK2.sgdk2" or something like that. It shows how to have a sprite flash and be invincible for a short time after being hit.