Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / [DBP] Instant Replay example

Author
Message
Daygamer
14
Years of Service
User Offline
Joined: 16th Mar 2010
Location: United States
Posted: 8th Apr 2010 20:20
Hi all,

Sorry, I didn't make this code very breif. The part makes the instant replay work is from line 64-84 and from line 119 to 150.

And no, I did not try to make this program exactly 150. Anybody got any improvements or comments?



Have a nice day, God Bless You!
Daygamer
14
Years of Service
User Offline
Joined: 16th Mar 2010
Location: United States
Posted: 14th Apr 2010 05:54
I'm really sorry I didn't state that my program is for DBpro. I broke a big rule of the code snippet rules. Sorry all.

Have a nice day, God Bless You!
Softwizz
14
Years of Service
User Offline
Joined: 14th May 2009
Location: U.K.
Posted: 17th Apr 2010 22:29
That is pretty good.
I dont have time to mess with it at the moment but I did run the code and it worked perfectly.

Thanks

Nothing to see here, move along please.
TDK
Retired Moderator
21
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 29th Apr 2010 22:56
Quote: "and it worked perfectly"


...but it used Goto which makes it a very bad example for newcomers to learn from!

Remember kids... if you are offered Goto... JUST SAY NO!!!

http://forum.thegamecreators.com/?m=forum_view&t=96505&b=7

TDK

Daygamer
14
Years of Service
User Offline
Joined: 16th Mar 2010
Location: United States
Posted: 30th Apr 2010 03:48
lol, thanks TDK. I've never thought twice about using the goto command, but I read through you're tutorial, and I'm glad you steered me in the right direction. thanks!

I changed my program to use gosub. It doesn't have a the cool layout thing that you described in your tutorial, but at least it doesn't use the you-know-what command. haha. Now you got me scared to even talk about it!



Have a nice day, God Bless You!
TDK
Retired Moderator
21
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 30th Apr 2010 15:23
Yay - another conversion!!

TDK

Login to post a reply

Server time is: 2024-05-04 00:00:28
Your offset time is: 2024-05-04 00:00:28