CEMETECH
Leading The Way To The Future
Login [Register]
Username:
Password:
Autologin:

Don't have an account? Register now to chat, post, use our tools, and much more.
Latest Headlines
Online Users
There are 130 users online: 6 members, 99 guests and 25 bots.
Members: HOMER-16, Piguy-3.14, Tari.
Bots: Spinn3r (1), Magpie Crawler (6), VoilaBot (1), Googlebot (17).
RSS & Social Media
SAX
You must log in to view the SAX chat widget
    » Goto page 1, 2, 3, 4  Next
» View previous topic :: View next topic  
Author Message
rivereye


Future Admin


Joined: 16 Mar 2005
Posts: 5450
Location: Out Fishing

Posted: 12 Mar 2006 12:49:36 pm    Post subject: Latest RPG Development

http://www.rivereye.net/magic1.zip
_________________
I am the eye of the river
>(<')


Back to top
Radical Pi


Member


Joined: 22 Jan 2006
Posts: 137
Location: Here!

Posted: 12 Mar 2006 01:14:15 pm    Post subject:

I think I found some bugs with confused attacking. You need to kill the enemy, not the enemy itself, to win. It had -1 HP and I had to fight an extra round.
_________________
I need to learn Greek...
Back to top
rivereye


Future Admin


Joined: 16 Mar 2005
Posts: 5450
Location: Out Fishing

Posted: 12 Mar 2006 01:16:53 pm    Post subject:

thanks for the heads up. That is an easy fix
_________________
I am the eye of the river
>(<')


Back to top
Radical Pi


Member


Joined: 22 Jan 2006
Posts: 137
Location: Here!

Posted: 12 Mar 2006 01:31:03 pm    Post subject:

I also see a few simple optimizations, like storing zero changed to Delvar, and the second While loop in the battle engine can become a Repeat loop so you can get rid of the "0üK" and the "=0" after While can be truncated.

And you left an ending " in line 10 of RIVERA1.

Other than that it looks like a good RPG. Good Idea
_________________
I need to learn Greek...
Back to top
rivereye


Future Admin


Joined: 16 Mar 2005
Posts: 5450
Location: Out Fishing

Posted: 12 Mar 2006 01:38:20 pm    Post subject:

ok, thanks for those, will do
_________________
I am the eye of the river
>(<')


Back to top
Radical Pi


Member


Joined: 22 Jan 2006
Posts: 137
Location: Here!

Posted: 12 Mar 2006 01:44:32 pm    Post subject:

Neutral eh, I'll look through the whole thing. Razz

I beat both opponents! Very Happy

edit: After beating someone you can fight them again by pressing 2nd...
_________________
I need to learn Greek...
Back to top
rivereye


Future Admin


Joined: 16 Mar 2005
Posts: 5450
Location: Out Fishing

Posted: 12 Mar 2006 01:49:46 pm    Post subject:

ok, that is odd, let me look into that
_________________
I am the eye of the river
>(<')


Back to top
Radical Pi


Member


Joined: 22 Jan 2006
Posts: 137
Location: Here!

Posted: 12 Mar 2006 01:54:55 pm    Post subject:

I have nothing to back it up with, but it might have to do with your loop configuration. I noticed the character blink a little while trying to go through the walls, so I think because you let any keypress through the loop, the previous coordinates (the enemy coordinates) are re-registered.

Do I seem smarter than normal today? Laughing
_________________
I need to learn Greek...
Back to top
rivereye


Future Admin


Joined: 16 Mar 2005
Posts: 5450
Location: Out Fishing

Posted: 12 Mar 2006 01:59:14 pm    Post subject:

yeah, it may be a loop. I am still working on it.

Uploading to SC to see code easier
_________________
I am the eye of the river
>(<')


Back to top
KermMartian


Site Admin


Joined: 14 Mar 2005
Posts: 55879
Location: Earth, Sol, Milky Way

Posted: 12 Mar 2006 02:00:14 pm    Post subject:

Please. And post it up.
_________________


Back to top
rivereye


Future Admin


Joined: 16 Mar 2005
Posts: 5450
Location: Out Fishing

Posted: 12 Mar 2006 02:25:05 pm    Post subject:

ran it through, and then I found my bug. I have to wonder why I put in a while loop to do one thing. that didn't help. I fixed that bug, will fix a few of the others and then rezip and upload
_________________
I am the eye of the river
>(<')


Back to top
KermMartian


Site Admin


Joined: 14 Mar 2005
Posts: 55879
Location: Earth, Sol, Milky Way

Posted: 12 Mar 2006 02:27:07 pm    Post subject:

Are you going to post up the code here so we can oogle it?
_________________


Back to top
rivereye


Future Admin


Joined: 16 Mar 2005
Posts: 5450
Location: Out Fishing

Posted: 12 Mar 2006 02:34:41 pm    Post subject:

I can if you really want, but it is really long also.

Updated the zip, same link
_________________
I am the eye of the river
>(<')


Back to top
Kllrnohj


/=\ PH34R |\/|3


Joined: 24 May 2005
Posts: 8189

Posted: 12 Mar 2006 03:08:15 pm    Post subject:

Radical Pi wrote:
like storing zero changed to Delvar


you will save 1 or 2 bytes by doing that, but it is actually slower, so it isn't an optimization unless you are fighting to decrease the size
_________________
There are only two kinds of programming languages: those people always bitch about and those nobody uses. (Bjarne Stroustrup)
Back to top
KermMartian


Site Admin


Joined: 14 Mar 2005
Posts: 55879
Location: Earth, Sol, Milky Way

Posted: 12 Mar 2006 03:32:01 pm    Post subject:

It only adds about 1 millisecond. :/.
_________________


Back to top
rivereye


Future Admin


Joined: 16 Mar 2005
Posts: 5450
Location: Out Fishing

Posted: 12 Mar 2006 03:39:05 pm    Post subject:

it is one byte per thing I am doing, and the 0 makes sense to me
_________________
I am the eye of the river
>(<')


Back to top
Kllrnohj


/=\ PH34R |\/|3


Joined: 24 May 2005
Posts: 8189

Posted: 12 Mar 2006 04:46:02 pm    Post subject:

KermMartian wrote:
It only adds about 1 millisecond. :/.


still slower Razz
_________________
There are only two kinds of programming languages: those people always bitch about and those nobody uses. (Bjarne Stroustrup)
Back to top
rivereye


Future Admin


Joined: 16 Mar 2005
Posts: 5450
Location: Out Fishing

Posted: 12 Mar 2006 04:54:21 pm    Post subject:

can we get this back on the RPG?
_________________
I am the eye of the river
>(<')


Back to top
Radical Pi


Member


Joined: 22 Jan 2006
Posts: 137
Location: Here!

Posted: 12 Mar 2006 05:04:48 pm    Post subject:

Okay, so you wouldn't Delvar within the engine, just while it's setting up.
_________________
I need to learn Greek...
Back to top
rivereye


Future Admin


Joined: 16 Mar 2005
Posts: 5450
Location: Out Fishing

Posted: 12 Mar 2006 05:05:45 pm    Post subject:

setup is all ones
_________________
I am the eye of the river
>(<')


Back to top
Display posts from previous:   
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
    » Goto page 1, 2, 3, 4  Next
» View previous topic :: View next topic  
Page 1 of 4 » All times are GMT - 5 Hours

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© Copyright 2000-2013 Cemetech & Kerm Martian :: Page Execution Time: 0.038527 seconds.