|
Trek
Nov 16, 2020 1:19:44 GMT -6
Post by johnno56 on Nov 16, 2020 1:19:44 GMT -6
Ok. Time to move this project out of 'help'. The game can run but it's not 'playable'. I am seeking the answer to some questions and advice for improvements. The coding is sloppy at best but functions... kind of... I have been working on Windows and Canvases with limited success. Ok. Question #1. When the main window and canvas are set to 'full' screen I can see the game "frame" and the displays in each canvas. But when I change the window and canvas to 'normal' screen only the 'frame' is displayed and all the other canvases are blank. Curious to know why? Related to 'full' screen; question #2. Regardless of the font I use (monospace or normal), when displayed on 'full' screen, the font is 'deformed' slightly but still legible. Am I doing something wrong? Perhaps the wrong font... www.dropbox.com/s/8d5hfdzhl15frrw/trek3b.zip?dl=0I am still working on the command buttons. SRS, LRS, CHA, HEL seem to be ok. All others should end the program. Appreciate feedback. J
|
|
|
Trek
Nov 16, 2020 6:02:54 GMT -6
Post by n00b on Nov 16, 2020 6:02:54 GMT -6
This is pretty cool. I wasn't able to do anything once I got to the actual game. Most of the commands just end the game and the ones that didn't I couldn't figure out how to do anything. I will go through the doc and try again later.
As for your questions:
#1 - Keep your canvas transparent ( basically keep the last parameter in CanvasOpen set to 1 ).
#2 - Everything is displayed just fine for me
|
|
|
Trek
Nov 16, 2020 15:25:01 GMT -6
Post by johnno56 on Nov 16, 2020 15:25:01 GMT -6
The posting of the "game" was to incite feedback in reference to some minor problems. Canvases and fonts. So, apart from the "passive" commands (those that I mentioned earlier), there isn't much to do. To find out more information about Helm Commands just click 'HEL'. Either a 'list' or full explanation of the commands will be listed. I know the output is legible, but to me anyway, the text just doesn't look right... Not a 'deal breaker'. Just prefer a 'neater' looking display... lol When I get some "fun stuff" converted I will post another version... lol J ps: I also have a coloured version of the "frame"....
|
|
|
Trek
Nov 17, 2020 0:55:25 GMT -6
Post by n00b on Nov 17, 2020 0:55:25 GMT -6
I am looking forward to you getting all the commands working. I really like the presentation on this so far.
|
|
|
Trek
Nov 17, 2020 4:26:11 GMT -6
Post by johnno56 on Nov 17, 2020 4:26:11 GMT -6
... as am I.. as am I... lol
|
|
|
Trek
Nov 18, 2020 20:20:10 GMT -6
Post by tbird on Nov 18, 2020 20:20:10 GMT -6
Looks great, the font is also quite ok on my screen. It's gonna be good!
|
|
|
Trek
Nov 25, 2020 13:07:42 GMT -6
Post by tbird on Nov 25, 2020 13:07:42 GMT -6
johnno56 How is the project going? We are eager to try! Lol, no pressure, just looks like a fun project.
|
|
|
Trek
Nov 25, 2020 16:12:10 GMT -6
Post by johnno56 on Nov 25, 2020 16:12:10 GMT -6
NAV function is kind of working... Yes. Movement around the 'map' works. I have used the "login" method to key in directions. Oh. New feature. A simple calculator-type pad for entering directions and warp speeds. Have not added mouse yet. (This works for NAV - PHA, PHO, SHE and COM are yet to be done).
There are the usual messages that are displayed, after each command, that still need to be done...
There are those on this site that are single-minded game builders (by my estimation) that can produce results far quicker than I. I have decades of being naturally "distracted" to contend with... lol. "No pressure", at the moment, is an interesting concept. Just about everything I do has 'self imposed' pressure already 'built in'. But I appreciate the intent.
The "map" is not quite 'populating' as it should. I originally converted a Basic256 version to SDLBasic and now to RCBasic. I have learned that RND() - or RAND() - can be a little different at times. RND could be a number from 0 to .999999. RND(x) could be either a number from 1 to x or 0 to x or 0 to x-1. All depends on the "basic" that is used. As Trek uses random generators in most of the functions, selecting the 'right' one can, for me anyway, be quite a challenge... For example: I move to a quadrant, that the 'map' says there are Klingons and the SRS displays a Klingon, it isn't actually there, because the 'warning' - both visual and audible - do not present themselves... This is going to be fun...
Just think... This is a 'cut down' version of the original '78 Star Trek....
I will try to get NAV completed today... cross fingers...
J
|
|
|
Trek
Nov 25, 2020 17:15:31 GMT -6
Post by johnno56 on Nov 25, 2020 17:15:31 GMT -6
Update:
Modified 'setupgame' and 'loadsector'... As luck would have it.. The first modification seems to have worked. Navigated to a quadrant that contained a Klingon and was immediately fired upon... Nuts! Now I have to work on PHA and PHO... Small victories can be addictive... Back to the keyboard...
|
|
|
Trek
Nov 26, 2020 8:20:06 GMT -6
Post by tbird on Nov 26, 2020 8:20:06 GMT -6
Nice, battles already, is there any visual cues in the battle or all text not a concern just wondering?
|
|
|
Trek
Nov 26, 2020 16:19:27 GMT -6
Post by johnno56 on Nov 26, 2020 16:19:27 GMT -6
The original '78 trek, as you probably already know, was pure ascii... The Basic256 version was also ascii. The sdlbasic version made use of crude windows and graphics. The RCBasic version is a little bit more... Although I enjoyed playing the 'text' version, wishing there were graphics and sound, was just that - a wish.
Simple sprites, primitives and minimal audio, are on the menu for this version. Nothing flash. Just 'not' pure text... lol
Battles. Let me see. Yes. An audio warning when entering a quadrant with Klingons. The Klingons will always fire first... Audio for Klingon phasers (no torpedoes yet), Enterprise phasers and torpedoes. Explosions (audio only at the moment). The usual reporting as well... There is no actual visible representation of phasers and torpedoes yet. All versions of trek did not have that feature. (Would be a nice addition if I knew how to do it... lol)
Figuring out the positioning of the computer's responses is a continuous nightmare... I think I may have NAV sorted out. Inputs and outputs seem to be behaving themselves. Once the commands are actually working properly, I still need to modify the game, so as not to use the keyboard. Eventually try to get it to run on a tablet?
I will work on PHAsers and PHOton torpedoes. I will post a link if I can get them to work properly... Warning: I move, what's the phrase you guys use?, slower than molasses in January.... lol
J
|
|
|
Trek
Nov 26, 2020 17:27:58 GMT -6
Post by johnno56 on Nov 26, 2020 17:27:58 GMT -6
Update.
PHA and PHO seems to work (maybe buggy) but, unless you want to fire up, down, left or right, PHA and PHO will require the COM command. Computer console. Which will controls Targeting and Routing... another hurdle... Time for more coffee...
|
|
|
Trek
Nov 27, 2020 13:24:49 GMT -6
Post by tbird on Nov 27, 2020 13:24:49 GMT -6
Sounding pretty in depth, I think if there are some graphics that would be awesome, I mean for the actual firing.
|
|
|
Trek
Nov 28, 2020 14:17:14 GMT -6
Post by johnno56 on Nov 28, 2020 14:17:14 GMT -6
"In depth" you say? At times it feels like "Out of my depth"... lol
I agree. A graphical representation of Phasers and Photons (with associated explosions) would be cool. I am always open to suggestions.
But first... I have more bugs than a garbage pile... lol Maybe coffee will help? Who am I kidding! Of course coffee will help!
J
|
|
|
Trek
Nov 28, 2020 15:03:17 GMT -6
Post by n00b on Nov 28, 2020 15:03:17 GMT -6
When in doubt, coffee.
|
|