You are not logged in.
Lost Password?


Register To Post



 Bottom   Previous Topic   Next Topic

#1
Chrono Trigger Run Demo
Posted on: 2008/12/20 5:08
Newbie
Joined 2008/12/20
4 Posts
CoderHOTY09 EntryLong Time User (10 Years)
Hey this is my first attempt at peeking and poking around with coding for the virtual boy. Simple demo which renders a running sprite of Chrono from Chrono Trigger. Allows him to face in all four directions with animations for each direction and actually mimics pretty well his running behavior from the original. Special thanks to Grim for creating the awesome sprite set i used and all the others he has created over on the sprite database ( http://sdb.drshnaps.com/SpritesSNES.htm ) and to RPack and DogP for the many questions they have answered and problems they have helped me address. Anyway without further aiedu here is Chrono Trigger Run Demo for the Virtual Boy.

Attach file:


rar ChronoRunDemo.rar Size: 10.10 KB; Hits: 217
Top

#2
Re: Chrono Trigger Run Demo
Posted on: 2008/12/20 5:36
PVB Elite
Joined 2003/7/26
USA
1465 Posts
PVBCC EntryCoderContributorSpecial AchievementTop10 PosterHOTY09 EntryLong Time User (15 Years) App Coder20+ Game RatingsPVBCC 2013 Entry
Woot! I'm the first to download, and first to post!

But, seriously, good job, MrSparkle!

Keep us updated!
Top

#3
Re: Chrono Trigger Run Demo
Posted on: 2008/12/21 2:39
Virtual Freak
Joined 2008/10/14
91 Posts
Long Time User (11 Years)
Wow that is real cool great work keep us updated!
Top

#4
Re: Chrono Trigger Run Demo
Posted on: 2008/12/21 6:36
PVB Elite
Joined 2003/7/25
USA
1507 Posts
PVBCC 1stCoderContributor#3 PosterHOTY09 EntryLong Time User (15 Years) App CoderPVBCC 2010 EntryPVBCC 2013 Entry
Nice job... it's great to see you're getting the hang of it.

DogP
Top

#5
Re: Chrono Trigger Run Demo
Posted on: 2008/12/22 11:02
Nintendoid!
Joined 2005/10/25
Great Britain
123 Posts
Long Time User (14 Years)
Looks good :) So I'm guessing this was just an exercise to get you used to drawing animating sprites and isn't a hint that maybe you'll port Chrono Trigger to VB? Just kidding
Top

#6
Re: Chrono Trigger Run Demo
Posted on: 2009/1/2 21:02
Newbie
Joined 2008/12/20
4 Posts
CoderHOTY09 EntryLong Time User (10 Years)
Ive been playing around with this a little bit more and actually came up with a slightly revised version later the night of the first which ill post now. Adds in idle animations so our hero isn't always forced to run in place after all with all that time traveling and stuff he must be pretty tired as it is. Other than this I've been converting various CT backgrounds and trying to create a decent way to a) tile much larger than 512x512 areas together into something that smoothly scrolls and b) come up with some kind of background array to set terrain as passable or impassable which is proving to be a little tricky given the fact that the game seemingly runs on very small tiles. Think i might move to something a little easier to start like legend of Zelda (but not legend of Zelda don't want to steal any ones project ;). Anyway here is Chrono Trigger Run Demo 2 (which implements none of the things i was talking about).

Attach file:


rar demo.rar Size: 10.91 KB; Hits: 181
Top

#7
Re: Chrono Trigger Run Demo
Posted on: 2009/1/10 8:26
Newbie
Joined 2008/12/20
4 Posts
CoderHOTY09 EntryLong Time User (10 Years)
Hey decided to throw the source up for a few reasons:

a) there isn't too much vb source out there it would seem so i figure every bit helps for someone starting out looking to pour through some stuff

b) so you can criticize my vb programming techniques

c) so you can criticize my general c programming techniques

so here it is guys take a look let me know if you want the source bitmaps i used to generate the graphical data or anything else.

Attach file:


rar Chrono_Source.rar Size: 10.42 KB; Hits: 197
Top

#8
Re: Chrono Trigger Run Demo
Posted on: 2009/1/12 8:13
PVB Elite
Joined 2003/7/26
USA
1465 Posts
PVBCC EntryCoderContributorSpecial AchievementTop10 PosterHOTY09 EntryLong Time User (15 Years) App Coder20+ Game RatingsPVBCC 2013 Entry
Thanks, Mr. Sparkle!

I was going to suggest you release it for just that reason (the first one ).

I'll take a look and maybe address those other two reasons (Don't worry, I don't have much room to make fun of others' coding practices; VB or otherwise...)

P.S.
Top

#9
Re: Chrono Trigger Run Demo
Posted on: 2009/1/25 1:06
VB Gamer
Joined 2009/1/3
USA
22 Posts
Long Time User (10 Years)
Thank you very much for putting up the source code for your demonstration. The style is good and gives me ideas about where it could be taken.

One thing I would like to ask about is the size of the sprite, is that the actual size of what it was on the SNES or a reduced resolution made to make some things easier? My poor eyesight cannot even make Chrono out on the screen.

As far as your C coding style, I'd like to give a few tips. First this depends wholly on how you approached the program, if you decided just to do it quick and dirty because it's a simple demo, then my tips may not apply too much.

The first thing I noticed is that you have a very large main() function, you may want to break up the operations into discreet functions that can be re-used as needed. This helps from a readability standpoint as well as or identifying and fixing problems. It is difficult to fix a problem if you have identical code in multiple places.

Secondly, you may wish to consider using fewer multiplies if you can avoid them. Replace them with bit shifts (if multiplying or dividing by a power of two) or by adding to an accumulator with each loop iteration. The Virtual Boy is a low power device. Multiply instructions are extremely expensive when compared with addition, so if you can get away with an add instead, do it.
Edited by fobbio on 2009/1/25 1:46
Edited by fobbio on 2009/1/25 1:50
Edited by fobbio on 2009/1/28 19:19
Edited by fobbio on 2009/1/28 19:32
Top

#10
Re: Chrono Trigger Run Demo
Posted on: 2009/2/7 7:35
VB Gamer
Joined 2008/9/23
37 Posts
Long Time User (11 Years)
Nice job!
Top

 Top   Previous Topic   Next Topic


Register To Post