Leading the way to the Future
Welcome Guest, Login!
28 Aug 2007 08:04:30 am by luby
Simply put, I was wrong.

This is so fast, I would Swear it uses xLib. now just for that annoying hit detection. Laughing
28 Aug 2007 10:02:51 am by tifreak8x
Quote:
Celtic? maybe Store it all in one or more program instead of strings and use Celtic to recall each line from the program.


That would slow down the overall map display drastically. The way I have it now is probably gonna be the fastest to do it.

Quote:
Neutral that looks awesome

only the white on the sides can be a bit confusing at times, maybe fill it with something.

this keeps looking less and less like RPG starters kit  Sad


Well, this is a test map, nothing more. I plan on remaking the map so it is more accurate, since the map segments are for each road and town, not as much as I have there.

Quote:
Simply put, I was wrong.

This is so fast, I would Swear it uses xLib. now just for that annoying hit detection.


Hehe, thanks luby. I do truly enjoy showing off BASIC, that it doesn't need all them there asm programs to get things done with speed. Wink I do appreciate the assistance that the few I use gives me though :)


For those that wish to look at the code, check here: http://tifreakware.net/tifreak8x/pokemon/scrollwalkzip.zip
28 Aug 2007 02:46:10 pm by Sage Orator
Looks really good, as usual. Good routine, is it the final? I can see a couple of things that might make it faster. Keep doing what you're doing.
28 Aug 2007 02:49:56 pm by luby
Tifreak wrote:
Sage Orator wrote:

Looks really good, as usual. Good routine, is it the final? I can see a couple of things that might make it faster. Keep doing what you're doing.
[post="111751"]<{POST_SNAPBACK}>[/post]

Well, this is a test map, nothing more


I also believe optimizations are happening as I post by Weregoose.
28 Aug 2007 04:02:51 pm by Weregoose
...which I have exhausted, with this routine being as simple as it is currently. A further-developed engine later on would be much more worthwhile to optimize.
28 Aug 2007 05:09:17 pm by Sage Orator
I believe map=/routine. I understood that statement to mean that the map was nothing like the one to be used in the game. I know that Weregoose could do a wonderful job but I also know that people are busy and I currently have a rare moment of free time.
29 Aug 2007 07:28:19 am by tifreak8x
Well, spent some time last night, a whopping 15 minutes, and implemented hit detection. I merely added to the equations that was in there, and it has slowed it down quite drastically. I believe I may regain my speed by going with If Then End blocks, so I am going to try that and see. And using them, I will be able to make it so it can move from map segment to map segment anyways, so it will work out better in the end. And I also have begun to work on the complexities of making the system dynamic. This should be so much fun... Razz
05 Sep 2007 08:04:59 am by tifreak8x
Hmm... Well, a lil bit of an update since the last post.

Moving to logical blocks brought the speed back up to where it was, I have implemented jumping ledges going downwards, The other ledges will be implemented as I get the maps made that far.

At the moment, the map to map linker is not being very cooperative. I cannot seem to get things to line up correclty value wise, though I am confident that with some patience, and some massive amounts of sugar, I can overcome this small problem. :)


Edit

Well, patience was all that was required, no sugar neccessary. :P

06 Sep 2007 07:45:54 am by elfprince13
AWESOME WORK!!!!!!
06 Sep 2007 10:14:14 am by vuurrobin
Neutral

awesome, this is going to be one of the greatest basic games made. Smile
06 Sep 2007 12:50:21 pm by tifreak8x
Tis what I am shooting for. ;)

Also, a bit of an update. I got Vermilion all in there, and loaded the map, and... BLAM! Failed at life. Took a look, and realized I had forgotten to tie it into the rest of the dynamic structure... :whistle: Now with that fixed, and the map working (from what I can tell) I can work on route 22 and see about getting it to move from left and right in map segments.
11 Sep 2007 12:15:38 pm by tifreak8x
Thanks to the help of luby and elfprince, the linker routines now allows left and right map movement. :D

Here is a screenie of this in action:
11 Sep 2007 01:51:59 pm by Iambian
It's looking better all the time. Keep up the good work!

btw, how long do you think it'll take to get a playable demo up and running? I mean, one that includes people in the town and trainer battles that you can get into?
11 Sep 2007 02:06:54 pm by tifreak8x
Well, as long as nothing bad happens any time soon, and I don't have too many problems with the map making process, maybe in a few months. Smile
19 Sep 2007 10:32:33 am by tifreak8x
Spent some time last night changing variables over to the ones the old system used, so when I send this to the 84+SE, it will not require much attention to make it work.

I also removed a couple rows of one of the map segments, and moved it to another, to make it look more correct. This caused a slight problem with location values, I will have to edit them to get it fixed, shouldn't take more than 5 minutes to do that though.

I also came up with a way to save thousands of bytes of RAM for the map system. Before, it would look at variables L and M and see which program to copy from Archive. Now, it looks for L and M, and stores a number to Str7. Then it is added to "0ZMA" and the Ans is used by Resource to copy the corresponding program to RAM to be used. Before, it was like this:

If max(M={1,2,3,4}) and max(M={1,2,3,4:Then
"0ZMA1
prgmZRS
prgmTEMP
"0
prgmZRS
End

As I am sure you can imagine, this would cause the sorting program to have been huge, and terribly slow. I am hoping that in this regard, this keeps this particular program down below 5k
19 Sep 2007 04:37:19 pm by Harrierfalcon
IIRC, you're using Celtic2. If I may politely suggest:

The loading program I'm using for Metroid Pi offers some great dynamics that might be helpful to you. I store each map something like this:
Code:
:
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOPause :Return.
You get the idea. Anyways, I use prgmZASSEMB1, a subroutine of OTBP Assembler that takes a program's name in Ans, and returns the entire program as a string, complete with newline tokens. The newline tokens behave a bit strangely, but can be manipulated with Celtic2 without any real problems. So what I did, is prefix every map with a 2-nibble ID code that notes its place--the first digit represents the row, the second, the column. I then use a bunch of sub('s and inString('s to extract the map, then the code. I write the code to a temp prog with Celtic2, and run it. That code will create anything it needs to, say, a path for an enemy, a special enemy subroutine, or something else.

Btw, the period at the end is not a typo, it's a termination indicator. I should use the newline token though...
19 Sep 2007 07:25:08 pm by tifreak8x
1. That sounds cool and horribly slow for what I need it for

2. I have spent a ton of time getting this current system going, and going fairly fast, don't really think I want to take the time to reprogram the maps yet again. >.<

Thanks for the suggestions though. At this point, gonna make all the maps, then gonna work on battle type stuff.
19 Sep 2007 07:48:09 pm by Harrierfalcon
No problem, just throwing ideas out there.

About what percentage of the maps do you have done?
24 Sep 2007 09:09:02 pm by tifreak8x


Just showing off the scrolling system some more, with another map. :)

http://tifreakware.net/tifreak8x/pokemon/scrollingbackup.gif

In ZGA, change L to 0 to play with more of the maps. ZGA, ZMA, ZRS and RESOURCE need to be unarchived to play around with it.
29 Sep 2007 07:55:45 am by tifreak8x
I finally have it set up so you can enter houses. Well, at the moment, just one house, but as more maps are created, and put in the calc, this will increase. :)

Anyways, the screenie:

If someone would like to help me out, I could really use a good map editor. It would have to ask how many rows and columns, and have all letters, numbers, and everything from http://www.ticalc.org/archives/files/fileinfo/384/38404.html If you would be willing to do that, that would be of tremendous help. And heck, you could even throw it on ticalc as the "official" RPGSK2 map editor. :P

Anyways, I might try for NPC interactions, and signs as a next step. Just thought I would throw this up here. Smile