From ages long past, I created 2 little kits meant to help BASIC programmers work with moving a character around a screen between map segments, and then one to show off how to make a scrolling map style of game. These can be found here (Surprisingly not on Cemetech, will have to fix that at some point):

https://www.ticalc.org/archives/files/fileinfo/364/36409.html (Loads map screen by screen)

https://www.ticalc.org/archives/files/fileinfo/403/40345.html (Loads a large map, map scrolls around character like Pokemon Red/Blue)

I realized with the newer calculators, these projects don't really fit, due to the much wider screen size that our newer tech has. So my intentions (read: as I have the time and energy) are to see about making these work on the CE, either via full screen or partial screen. Mostly out of idle curiosity to see how it will work and look, but also to get myself back to programming something that I should be mildly confident in building.
This is a great idea tifreak! How long do you think it will take to get some things ported over?
I think the biggest obstacle is creating maps to take advantage of the larger screen. The scrolling screen of RPGSK2 pads the sides a bit so it doesn't error out, so I might try to simply redo the map display a bit so it only takes up a portion of the screen space first. Otherwise, it will drastically increase the map data, as we are going from an 8x16 screen to a 10x26. From there, it shouldn't be too hard to handle hit detection/walking, depending if I create new map data or just use the older data. Plenty of ways one can take this 🙂
I think the windowed map makes a lot of sense here. With the bigger screen, people will likely want to use a portion of it for UI stuff, so showing right away how to handle windowing would be useful--and full-screen is just a special case of windowed anyway.
Indeed, UI stuff was a consideration as well. And with the CE's processor being faster, it might not have too much lag of display with splitting up the string data to show in a smaller area 🙂 That's what I'm hoping to test out, see what does better!
https://x.com/tifreak8x/status/1902756059292258382

Sadly don't have easy access to my server space to upload pictures, I need to find a good source that can just post pictures from..

Anyways, down time at work, giving me some time to play with making the more static map/engine. I realized after posting I put marks where there shouldn't be. Fixed now. Using a spreadsheet with column widths of .17" seems to work decently well as a replacement of grid paper to map out.. Maps.
Another update, we had some big down time at work today, decided to get some solid progress going for this project.

Added in 4 panels of map data
Added in basic walking mechanics around the screen

Still needs moving map panels
Still needs map object interactions

https://x.com/tifreak8x/status/1914418287280083135

Disappointingly, the animated screenshot I made doesn't show up on twitter properly, possibly because it's png? Will work on that this evening, if I remember.
Still haven't found a good image hosting site yet.

Hit another quiet patch at work, managed to re-write the code for movement and screen shift transition. I toyed with the idea of having the screens slide, but that seems like a lot of un-needed work out of a BASIC template project.

Things remaining:

"Replace" the bridge behind character as it moves.
Add interactions to the map.
I've managed to get the last items checked off my to do list for this version of the project.

Current features:

Basic 2x2 panel map
Walking with map item hit detection
Moving from panel to panel from edge of screen
Screen interactions detected
-Modular placement of character from interaction screen
3 characters used to indicate direction of movement
Map items you walk over without interaction replaces as you walk past

Will try to get this packed up and set for release shortly.

Edit 1: File pending review 🙂

Going to begin planning out the CE version of the RPGSK2.

Edit 2:

File accepted in the archives! https://www.cemetech.net/downloads/files/2639/x3401
Ya know, I have to stop getting distracted or put into a constant state of exhaustion from working nearly 60 hour weeks and trying to build a streaming community.. The itch to program is strong. I've been trying to come up with some ideas and plans utilizing this RPG SK as a base for now. I promise I haven't forgotten everything, just a bit difficult surviving all of life's challenges on my own. 🙂

I had played around with making the Pokemon Purple engine work on the CE, but the initial results were not great. I need to toy around with the code more to see what I might be able to change to speed things up.
Excited where this goes! I might use this for a future project!
This looks cool!
Indeed, it does. I actually once used such a program for one of my RPGs
P.S. I lost it, so I can't share it. This was probably like two years ago.
P.P.S. It wasnt yours my friend made me one.
Spent some time today working on getting the RPGSK situated for the Evo. The CE allows for 26 characters across the screen where the Evo allows for 31. This required a bit of a rewrite of the map data, and make changes to the main engine of the game, especially where it came to the math for the character placement.

All that's left is fixing the ~ because Sourcecoder turns them into (-) (negative) symbols with not adding the | before each one. (I personally think |- for the negative symbol would have been better, but that's neither here nor there). Will try to get this project ready to be posted sometime tomorrow.

Edit:
I attempted to fix it real quick, since I wasn't sure how it would pop back in tomorrow. Apparently it just turned |~ into |- on the map :< Going to report that bug, and just have - signs for water for now.
So the RPGSK for the Evo is fully functional, full hit detection on map items, screen transitions, etc.

Currently working on the level editor, in the planning phase.
My idea is to have the 10x31 area marked off on the screen, F1-F5 keys to store a character for quick access, bounce into the Charz program essentially to see the special characters which might also use the graphscreen, letters on keyboard access those characters for the editor. Hopefully I can pack it full of features that are useful without bloating the size of the program.

Edit
http://tifreakware.net/tifreak8x/images/leveledit1.png

So I'm thinking this will be the "window" ish for creating your levels. I might drop it down a couple of lines and over to the right to fully encompass it into a box. I love how small it looks using Text( 🙂
Also took me like 20 minutes to figure out the log in stuff for Filezilla. Nice to have access to that once again.

Edit again, never mind, even though the file is where it should be, it won't show up here. I think technology is taking a dislike to me this evening.
Hey guys, level editor update:

https://x.com/tifreak8x/status/2070184340730908869

I'm getting it close to how I want it to look, working on how I want to display the selectable characters (numbers, alphabet, and everything in the Charz project). Thinking to the right of the screen might be the starting menu. Options for New and Load, saving will be done when exiting the program.

Will update when I get things more solidified.

Edit
Quick programming question, was there a good way to determine if a Str variable existed without damaging the data of the Str? Been pouring over old notes, feel like there was a way to do that but I can't remember, like using SetUpEditor with lists.

Edit2
Decided to go with the SetUpEditor approach. First time the program is run, it'll generate the String size needed. After that, there is the possibility of an error if they delete that string or fail to load the data to it.
SourceCoder 3 (RPGSKLE) wrote:
:ClrDraw:AxesOff:GridOff
:BackgroundOff
:TextColor(BLACK
:0->Xmin:0->Ymin
:1->DeltaX:1->DeltaY
:SetUpEditor |LRPGLE
:5->dim(|LRPGLE
:" ->Str9
:For(A,1,30
: Str9+sub(Str9,1,10->Str9
:End
:If |LRPGLE(1)=0:Then
: Str9->Str0:1->|LRPGLE(1
:End
:1->W:1->theta
:" ->Str8
:"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZtheta=!=>>=<<=+-*/(),.:?ÁÀÂÄáàâäÉÈÊËéèêëÌÎÏíìîïÓÒÔÖóòôöÚÙÛÜúùûüÇçÑñ^^'^^`^^:|?|!alphabetagammaDeltadeltaepsilonlambdamurhoSigmaPhiOmega[phat]chi[|F]abcdefghijklmnopqrstuvwxyzsigmatauÍ|~\'@#$&`;|_%...|<sharps^^x^^Tsmall0small1small2small3small4small5small6small7small8small9[<|][|>]uparrowdownarrowxmarkintegral🡅🡇squareroot⌸"->Str1
:Line(0,206,0,84,BLACK
:Line(2,208,252,208,12
:Line(2,84,252,84,BLACK
:Line(252,206,252,84,BLACK
:
:Line(0,16,318,16,12
:Line(50,16,50,0,12
:Line(120,16,120,0,12
:Line(195,16,195,0,12
:Line(268,16,268,0,12
:
:Text(0,265,"RPGSK
:Text(12,265,"LEVEL
:Text(24,262,"EDITOR
:Text(40,264,"1.NEW
:Text(52,262,"2.LOAD
:Text(64,274,"Str0
:
:While W=1
: getKey->K
: If K=93:Then
: If length(Str0)!=310:Then
: Text(80,260,"NO DATA
: Repeat getKey
: End
: For(F,260,300,8
: Text(80,F,"
: End:End:End
: If K=92:2.3->W
:End:"W=1
:
:While iPart(W)=2
:
: If fPart(W)>0:10fPart(W->W
:
: Text(194,18,sub(Str8,1,1
: Text(194,82,sub(Str8,2,1
: Text(194,155,sub(Str8,3,1
: Text(194,228,sub(Str8,4,1
: Text(194,290,sub(Str8,5,1
:
:
: While W=3
:
:
: "For(A,60,252,32
: "Text(173,A,A
: "End
: Text(173,40,"[<|]"
: Text(173,270,"[|>]"
: Text(160,155,"🡇"
:
: Text(173,60,sub(Str1,((theta>3)(theta-3)+(theta<4)(theta+180)),1
: Text(173,92,sub(Str1,((theta>2)(theta-2)+(theta<3)(theta+181)),1
: Text(173,124,sub(Str1,((theta>1)(theta-1)+(theta<2)(theta+182)),1
:
: Text(173,156,sub(Str1,theta,1
:
: Text(173,188,sub(Str1,((theta>179)(theta-182)+(theta<181)(theta+1)),1
: Text(173,220,sub(Str1,((theta>180)(theta-181)+(theta<182)(theta+2)),1
: Text(173,252,sub(Str1,((theta>181)(theta-180)+(theta<183)(theta+3)),1
: getKey->K
: theta-1(((theta>=0)(K=24))-((theta<185)(K=26->theta
: If theta=0:183->theta
: If theta=184:1->theta
: End:"W=3
:
:End:"W=2


So I've been working on getting the character display to scroll back and forth. When theta=1, it displays fine. If I press right it scrolls and displays just fine, but if I try to go backwards, the last set of Text( commands errors out. I am struggling with the conditions needed to get things to properly display as a wrap around.
Can find a screenshot here: https://x.com/tifreak8x/status/2071590768838365216

Edit: Was finally able to change:

Text(173,188,sub(Str1,((theta>179)(theta-182)+(theta<181)(theta+1)),1

to

Text(173,188,sub(Str1,((183<(theta+1))(theta-182)+((theta+1)<184)(theta+1)),1

And that stopped erroring out (at least for the additional movement). Going to modify the other two Text( commands to be similar and hope things work correctly.

Edit2:
That worked, just had to adjust the theta+? values, and the theta-X value for each new Text( line. Now that those characters work, time to move on to selecting characters, storing them to the tool bar, and begin making the map editable.
https://x.com/tifreak8x/status/2072048143986745359 <- Screenshot here!

Now have the list of characters scrolling back and forth properly and fully selectable to be put into the tool bar. Next step I need to add in some basic directions below the window for what button does what, move from character selection to map editing and back, and add some code for placing the characters in the appropriate places into the string!
https://x.com/tifreak8x/status/2072505602887045167

A few screenshots for those curious.

Level Editor now lets you generate a new map segment, will load a map segment from another Str variable, lets you choose your character, adds 5 characters to a tool bar to apply to the map, lets you edit your map segment, and exports the map to a string to be dropped in your Map data program.

I need to generate a Readme file and pack it for release 😁

Pending Kerm doesn't go and break it while testing 🙂
https://www.cemetech.net/downloads/files/3011/x4050

File posted to the archives. I hope to see some good projects come of it!
  
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
Page 1 of 2
» All times are UTC - 5 Hours
 
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

 

Advertisement