CodeWalrus

Development => Calculators => Calc Projects, Programming & Tutorials => Topic started by: 123outerme on March 30, 2015, 10:04:00 PM

Title: [CSE Hybrid Basic] CSE Hybrid Basic - Solius
Post by: 123outerme on March 30, 2015, 10:04:00 PM
I've begun work on a roguelike for the CSE using XLibC and Celtic 2 CSE, with a color scheme similar to (read: the same as) the DOS Command Prompt. Therefore, it requires Doors CSE 8.0 or greater to run! It includes a turn-based battle system, open world with randomly generated features (towns, treasure chests, etc.) and much more. If you want to see the complete Todo (there's a lot), visit the GitHub repo (https://github.com/TildaCubed/solius).

Download is attached.
[spoiler=Some of the Todo:]
*maybe add ability to name character
[/spoiler]
[spoiler=Images:]
v1.1:
(http://i.imgur.com/cQfvXQw.gif)
[spoiler=Old Images:]
v0.5b:
(http://i.imgur.com/4Bx7AF7.gif)
v0.3b:
(http://i.imgur.com/kVpJUum.gif)
v0.2b:
(http://i.imgur.com/Yvg7tNo.gif)
v0.1b:
(http://i.imgur.com/Rs1swY5.gif)
[/spoiler]
[/spoiler]
Title: Re: CSE Hybrid Basic - Solius
Post by: Dream of Omnimaga on March 31, 2015, 12:03:23 AM
I like it so far. Do you plan to add some colors for later levels or some enemies or will it be mostly white text? Also I like how it's similar in style to FFMF launch, but I guess since that's the main trick to get rid of the busy indicator while still using 320x240 mode, it's fine :P
Title: Re: CSE Hybrid Basic - Solius
Post by: Duke "Tape" Eiyeron on March 31, 2015, 12:10:05 PM
Have fun in this project ! I love roguelikes, so I hope you'll get to finish it soon.
Title: Re: CSE Hybrid Basic - Solius
Post by: 123outerme on March 31, 2015, 02:29:37 PM
Quote from: DJ Omnimaga on March 31, 2015, 12:03:23 AM
I like it so far. Do you plan to add some colors for later levels or some enemies or will it be mostly white text? Also I like how it's similar in style to FFMF launch, but I guess since that's the main trick to get rid of the busy indicator while still using 320x240 mode, it's fine :P
Yeah, it is the main way, but I also took the idea from your thread :P
Quote from: Duke "Tape" Eiyeron on March 31, 2015, 12:10:05 PM
Have fun in this project ! I love roguelikes, so I hope you'll get to finish it soon.
Thanks! I know this project will be fun.
Title: Re: CSE Hybrid Basic - Solius
Post by: Dream of Omnimaga on March 31, 2015, 11:38:33 PM
I am curious about how random dungeons will be generated by the way. This posed issues to former Rogue-like project authors before, due to speed. In your case the maps seems Mana Force-like, so maybe it won't take that long to generate dungeons, but I was wondering.
Title: Re: CSE Hybrid Basic - Solius
Post by: 123outerme on March 31, 2015, 11:59:16 PM
Quote from: DJ Omnimaga on March 31, 2015, 11:38:33 PM
I am curious about how random dungeons will be generated by the way. This posed issues to former Rogue-like project authors before, due to speed. In your case the maps seems Mana Force-like, so maybe it won't take that long to generate dungeons, but I was wondering.
I might add structures that act as physical obstacles, but I was thinking more along the lines of having an open, plain landscape to find towns, treasure, etc.
For the generating of the random worlds, I was thinking to either have a set number of objects randomly placed somewhere in the X*X square plot then a coordinate in that plot, or have preset worlds and I'll just generate 1 number and it'll use that number to determine where every object is located at. The latter will be reduce the save file size and be easier to code, but also very predictable.

For example, if the number generated for the preset was a 3 or something, it would place a certain object in the plot 1,2. If it was, say, a 2, the same object would be at plot 4,3.
Title: Re : CSE Hybrid Basic - Solius
Post by: Dream of Omnimaga on April 01, 2015, 06:21:13 AM
Aah that could actually work. Just make sure that dungeons are not just grids of wide-open room, as in having every room have exits in all 4 directions. Some mazes would help making the game so that it's not repetitive. You could generate dungeon maps from presets too, though (eg a cross-shaped dungeon, a maze-like one, a wide-open one, and so on)

You could maybe even add wall colors but only select colors from a limited color pool, so that you could also generate dungeon names with two words (eg Green/Fire/Ice/Dark, followed by Woods/Forest/Cavern/Dungeon/Temple) to spice the game up
Title: Re : Re : CSE Hybrid Basic - Solius
Post by: 123outerme on April 01, 2015, 04:48:44 PM
Quote from: DJ Omnimaga on April 01, 2015, 06:21:13 AM
Aah that could actually work. Just make sure that dungeons are not just grids of wide-open room, as in having every room have exits in all 4 directions. Some mazes would help making the game so that it's not repetitive. You could generate dungeon maps from presets too, though (eg a cross-shaped dungeon, a maze-like one, a wide-open one, and so on)

You could maybe even add wall colors but only select colors from a limited color pool, so that you could also generate dungeon names with two words (eg Green/Fire/Ice/Dark, followed by Woods/Forest/Cavern/Dungeon/Temple) to spice the game up
Yeah, I could. I'll definitely have to think about how or to what extent I want to implement dungeons and physical obstacles. I was thinking kind of like Zelda I, where iirc you could only reach the top row of map grids through certain entry points. For this game, that would mean a giant wall blocking the border to a grid above so that you'd have to go up and around to reach that grid, and the game would reward you for that.
I was also thinking of using Zelda II's encounter system (like I said in IRC). I'm not sure how it would be effective, since you and the enemies would run at the same speed, or have the enemies "teleport" around. I guess they could gang up and corner you, also like in Zelda II.
Title: Re : CSE Hybrid Basic - Solius
Post by: Dream of Omnimaga on April 02, 2015, 06:18:53 AM
For enemies, if you have two enemies at once in the screen, you could make them so only 1 move at a time. They would move twice slower than you. Zelda II encounter style seems like a nice idea, but would you have the battle screen separate and 2D like in Zelda II?
Title: Re : Re : CSE Hybrid Basic - Solius
Post by: 123outerme on April 02, 2015, 06:57:11 PM
Quote from: DJ Omnimaga on April 02, 2015, 06:18:53 AM
For enemies, if you have two enemies at once in the screen, you could make them so only 1 move at a time. They would move twice slower than you. Zelda II encounter style seems like a nice idea, but would you have the battle screen separate and 2D like in Zelda II?
I'd probably have a seperate battle screen, but it would be turn based. For now, the battle perspective is in 2D, but it's just you, the enemy, and a couple of menus.
Speaking of, I've updated the image in the OP. Now, there are turn based battles. The encounters aren't *random* per say, but that's probably the easiest part of the whole battling system.
Title: Re: CSE Hybrid Basic - Solius
Post by: Dream of Omnimaga on April 03, 2015, 02:54:34 AM
Do you plan to have a floor like in Illusiat 8, 9, 11, 12 and 13? I kinda prefer when RPG battle layouts have both the enemy and your character in the same section, not separated like in the first Final Fantasy game on the NES.
Title: Re: CSE Hybrid Basic - Solius
Post by: 123outerme on April 03, 2015, 04:43:29 PM
Quote from: DJ Omnimaga on April 03, 2015, 02:54:34 AM
Do you plan to have a floor like in Illusiat 8, 9, 11, 12 and 13? I kinda prefer when RPG battle layouts have both the enemy and your character in the same section, not separated like in the first Final Fantasy game on the NES.
By floor, do you mean like the battles taking place in (what looks like) a real place?
Also, I do have a line of "/" dividing your space from the enemy's, but I can take it out. I kinda like it, though, so I'll ponder on it.
Title: Re: CSE Hybrid Basic - Solius
Post by: Dream of Omnimaga on April 03, 2015, 04:55:05 PM
Yeah I mean like in Illusiat 13 battles.
Title: Re: CSE Hybrid Basic - Solius
Post by: 123outerme on April 03, 2015, 05:06:42 PM
Quote from: DJ Omnimaga on April 03, 2015, 04:55:05 PM
Yeah I mean like in Illusiat 13 battles.
Oh. I see what you mean. I might do that, or I might do something like this:

o     /   m
---   /  ---

Where you are the o and both have platforms below them, but they cut off before the / divides the two sides of the screen. Again, I might remove the divide later.
Title: Re: [CSE Hybrid Basic] CSE Hybrid Basic - Solius
Post by: Snektron on April 03, 2015, 09:03:44 PM
Oeh, looks quite interesting. Can't wait to see how this develops :)
Title: Re: CSE Hybrid Basic - Solius
Post by: Duke "Tape" Eiyeron on April 04, 2015, 05:56:42 AM
So one more RPG. Do we have to create a new RPG headquarter? :p
Title: Re: CSE Hybrid Basic - Solius
Post by: Dream of Omnimaga on April 04, 2015, 06:42:19 AM
Quote from: 123outerme on April 03, 2015, 05:06:42 PM
Quote from: DJ Omnimaga on April 03, 2015, 04:55:05 PM
Yeah I mean like in Illusiat 13 battles.
Oh. I see what you mean. I might do that, or I might do something like this:

o     /   m
---   /  ---

Where you are the o and both have platforms below them, but they cut off before the / divides the two sides of the screen. Again, I might remove the divide later.
Yeah that's what I mean. Just without the divide. But it's up to you if you decide to remove the divide or not.

Quote from: Duke "Tape" Eiyeron on April 04, 2015, 05:56:42 AM
So one more RPG. Do we have to create a new RPG headquarter? :p
The RPG headquarter refered to OMnimaga file downloads section back when it only accepted RPGs and programming tools. Back then, ticalc.org BASIC games section was just 1 single folder filled with 3000 crappy games, most of which were guessing games or menu-based RPGs. Omni RPG headquarter was intended to make it easier for people to find the best calc RPGs available. It was obsoleted when ticalc started splitting their directories, hence why at one point it was replaced with an user-contributed download section that allows any game genre.
Title: Re: [CSE Hybrid Basic] CSE Hybrid Basic - Solius
Post by: 123outerme on April 04, 2015, 03:37:33 PM
That's interesting! I didn't know about the "Omni RPG headquarters" thing.
And about the divide line, I did remove it. I didn't remove it because you asked, but because I added a few things to the battlescreen, and some of the text would've broken through the line. I think it does look better, now that I removed it.
I did a lot of balancing and added a few features.
[spoiler=Changelog:]
*Added map screen finally
*Added heal spell to battles (takes away Exp)
*Added new enemies that appear as you leave the area around the starting town
*Balanced the game so that fights are not impossible but you can still die at any level, and so that you are able to one-shot enemies at higher levels that you can't at lower levels to add actual progression
*Added ability to customize world size
*Added visual indicator (changing to a big O, again...) that you can heal and that town has healed you (changing to a ^)
*Added random chance that running will fail. Chance gets larger the tougher enemy you're fighting.
*Changed around battle UI
[/spoiler]
Image updated in OP.
Title: Re: CSE Hybrid Basic - Solius
Post by: Dream of Omnimaga on April 05, 2015, 05:56:01 AM
OOh I like the new layout better. Maybe you could link both floors together, though?  Also the screen stretching for a bit before entering the menu kinda looks strange, but maybe that's just me?
Title: Re: CSE Hybrid Basic - Solius
Post by: Duke "Tape" Eiyeron on April 05, 2015, 08:06:35 AM
NIce start! Will you add colored text? It would rock with some colors, when having a status or having low HP! :p
Title: Re: [CSE Hybrid Basic] CSE Hybrid Basic - Solius
Post by: Snektron on April 05, 2015, 08:40:41 AM
Yeah, and maybe add a Walrii too :P
Title: Re: CSE Hybrid Basic - Solius
Post by: Duke "Tape" Eiyeron on April 05, 2015, 08:45:03 AM
Slap a Walrii on everything, they said. It'll be fun, they said.
Title: Re: [CSE Hybrid Basic] CSE Hybrid Basic - Solius
Post by: Snektron on April 05, 2015, 08:50:07 AM
it's true though
Title: Re: CSE Hybrid Basic - Solius
Post by: 123outerme on April 05, 2015, 02:17:39 PM
Quote from: DJ Omnimaga on April 05, 2015, 05:56:01 AM
OOh I like the new layout better. Maybe you could link both floors together, though?  Also the screen stretching for a bit before entering the menu kinda looks strange, but maybe that's just me?
I dunno about the menu. I kind of like how it differentiates from the screen being cleared normally, but I can see how it would look weird. I'll try it without and see how it looks.

Quote from: Duke "Tape" Eiyeron on April 05, 2015, 08:06:35 AM
NIce start! Will you add colored text? It would rock with some colors, when having a status or having low HP! :p
That's actually a good idea. Not adding color to add color, but to signify low HP. I like it. I'll experiment some with it. My only worry with it is that it'll break the DOS command prompt theme, but I think it's worth it.

Quote from: Cumred_Snektron on April 05, 2015, 08:40:41 AM
Yeah, and maybe add a Walrii too :P
It might be helpful if I got the Celtic II sprite data from DJ :P
Title: Re: [CSE Hybrid Basic] CSE Hybrid Basic - Solius
Post by: 123outerme on April 06, 2015, 12:07:09 AM
I am almost completely finished! I need some testers to give feedback on Solius. If you are interested, please PM me or post a reply. I'm not too picky on who I want to test, just as long as you have a CSE!
Title: Re: CSE Hybrid Basic - Solius
Post by: Dream of Omnimaga on April 07, 2015, 06:38:35 AM
Ooh awesome. Did you add some of the color stuff I suggested earlier? :D

As for Walrii the Celtic data is 00000333000000000000000000003BBB30330000000000000003BBBBC3BB300000000000003CC33C3CBBB30000000000003C399333BBBB330000000000339993993BBB3E30000000003399939993BC3DD300000003EE39939993C3EED300000003EEE33E393C3EEEED30000033F3EEEEE333EEEEED3000003D333EE3EEEEEEEEED3000003CC3D333EEEEEEEEEED300003BB3CBC3EEEEEEEEEED300003BB3BBB3EEEEEEEEEEE300003CC3BBB3EEEEEEEEEEE300003C33CBC3EEEEEEEEEEE300003D333C3EEE3EEEEEEEDD30003D303D3EE3EEE3EEEEED33003D333D3EEEEEDD3EEEEEE330033E3D3EEEEEEDD3EE3ED300033DE3EEE3EEEED3EE3EED3003EEEE333F3EEEEE3FE3EEE303EE330003333EEE33303330033300000000033330000000
Title: Re: [CSE Hybrid Basic] CSE Hybrid Basic - Solius
Post by: Snektron on April 07, 2015, 09:25:52 AM
Now i see why it was 630 bytes bigger <_<
Title: Re: CSE Hybrid Basic - Solius
Post by: 123outerme on April 07, 2015, 11:00:26 PM
Quote from: DJ Omnimaga on April 07, 2015, 06:38:35 AM
Ooh awesome. Did you add some of the color stuff I suggested earlier? :D

As for Walrii the Celtic data is 00000333000000000000000000003BBB30330000000000000003BBBBC3BB300000000000003CC33C3CBBB30000000000003C399333BBBB330000000000339993993BBB3E30000000003399939993BC3DD300000003EE39939993C3EED300000003EEE33E393C3EEEED30000033F3EEEEE333EEEEED3000003D333EE3EEEEEEEEED3000003CC3D333EEEEEEEEEED300003BB3CBC3EEEEEEEEEED300003BB3BBB3EEEEEEEEEEE300003CC3BBB3EEEEEEEEEEE300003C33CBC3EEEEEEEEEEE300003D333C3EEE3EEEEEEEDD30003D303D3EE3EEE3EEEEED33003D333D3EEEEEDD3EEEEEE330033E3D3EEEEEEDD3EE3ED300033DE3EEE3EEEED3EE3EED3003EEEE333F3EEEEE3FE3EEE303EE330003333EEE33303330033300000000033330000000
I added color and also made the treasure chest respawn and nerfed the amount of Exp it gives, to encourage travelling around. I also added a visual indicator if a chest leveled you up ("+"). I also changed the level at which the two weakest enemies (t is the weakest and m the second weakest) disappear. As a third change, I removed the little +5 HP bonus whenever you defeat an enemy.
Title: Re: CSE Hybrid Basic - Solius
Post by: Dream of Omnimaga on April 07, 2015, 11:14:25 PM
Awesome. As for treasure chests giving exp this reminds me more recent RPGs like Star Ocean 4 and Borderlands. Back then, only MMORPGs gave experience for quests or treasures, but nowadays most single-player RPGs do it as well.


How are stats btw? (as in how much HP do you start with and how many levels, HP, etc, do you finish with?)
Title: Re: CSE Hybrid Basic - Solius
Post by: 123outerme on April 07, 2015, 11:31:38 PM
Quote from: DJ Omnimaga on April 07, 2015, 11:14:25 PM
Awesome. As for treasure chests giving exp this reminds me more recent RPGs like Star Ocean 4 and Borderlands. Back then, only MMORPGs gave experience for quests or treasures, but nowadays most single-player RPGs do it as well.


How are stats btw? (as in how much HP do you start with and how many levels, HP, etc, do you finish with?)
You always have 100 HP. Every 2 levels, your Defense goes up by one point, and that reduces 2 damage done to you per Defense point. You damage output is directly related to your level, meaning no Attack stat in between. You also heal by as much HP as you do to other enemies.You start at Level 1 with 1 Defense point, and the max HP and Defense is 20 and 11, respectively. Exp given by enemies fluxuates based on your level and enemy type, so a tough enemy may drop 30 Exp at Level 1, but only 26 at Level 2, and so on. You can never actually get negative Exp, though. Chests always give you 10 Exp.

Also just for future reference, there is a secret in this game already. I'll give you a hint:
You have to press a certain key when starting a new file. Not saying when in the new file process, or what key to press. It lets you start out with 50 exp instead of 10.
Title: Re: CSE Hybrid Basic - Solius
Post by: Duke "Tape" Eiyeron on April 08, 2015, 05:14:58 AM
Borderlands' chests doesn't give XP! If they gave some, you could just farm them without confronting any enemy! :p

They just makes the challenges advances. In the one these challenges gave you an XP bonus (but you had to open craploads of them to have like 3k xp) and in the following games these just give you badass points.
Title: Re: CSE Hybrid Basic - Solius
Post by: Dream of Omnimaga on April 08, 2015, 05:15:42 AM
Oh right, but didn't quest completion give some XP?
Title: Re: CSE Hybrid Basic - Solius
Post by: Duke "Tape" Eiyeron on April 08, 2015, 05:22:15 AM
Quest completion does and in fact is one of the most important xp source. You could do quests for hours but once you progress in the scenario, you directly confront harder enemies and gain more xp.
Title: Re: CSE Hybrid Basic - Solius
Post by: Dream of Omnimaga on April 08, 2015, 05:51:41 AM
I always saw quest XP more as a way to lure causal RPG fans into MMORPGs and vice-versa :P

I personally don't have plans to ever implement that in my games except if it's a quest that gives more power, else it kinda feels weird if you suddenly become stronger just for delivering a letter to the former queen or something. :P But to each his own I guess. I don't mind playing games with such stuff.

That said, two of my RPGs actually had some form of quest exp/gold reward: If you beat the secret boss in Illusiat 3 complete one of the Illusiat 6 arena challenge, you are rewarded with maxed out inventory and level. :P (Although maybe the Illusiat 3 thing might not count, but the experience is acquired after you exited the fight, not at the end of it)
Title: Re: CSE Hybrid Basic - Solius
Post by: Duke "Tape" Eiyeron on April 08, 2015, 12:51:13 PM
S'like Spore and its gift when you reach the galaxy's center, it's like a post-ending gift, then, right?

Why not doing a second walkthrough? THe same places and enemies, but otugher and starting at a level you expect the palyer to be when he finishes the game?
Title: Re: CSE Hybrid Basic - Solius
Post by: Dream of Omnimaga on April 08, 2015, 04:37:30 PM
Do you mean unlocking a new difficulty?
Title: Re: CSE Hybrid Basic - Solius
Post by: Duke "Tape" Eiyeron on April 08, 2015, 04:41:14 PM
Some sort of, yeah.
Title: Re: [CSE Hybrid Basic] CSE Hybrid Basic - Solius
Post by: Snektron on April 08, 2015, 05:24:50 PM
Or you could just save the players level maybe?
Title: Re: CSE Hybrid Basic - Solius
Post by: Dream of Omnimaga on April 09, 2015, 06:50:47 PM
That could work too. It would be a bit like New Game + in Chrono Trigger. But it's best to give people a reason to replay the game really.
Title: Re: CSE Hybrid Basic - Solius
Post by: Dream of Omnimaga on April 21, 2015, 11:59:35 PM
By the way how is this progressing? IIRC it was mostly complete but you didn't want to release it until First Fantasy was out, but I forgot.
Title: Re: CSE Hybrid Basic - Solius
Post by: 123outerme on April 26, 2015, 09:25:25 PM
Quote from: DJ Omnimaga on April 21, 2015, 11:59:35 PM
By the way how is this progressing? IIRC it was mostly complete but you didn't want to release it until First Fantasy was out, but I forgot.
It's going good! I've added a name to each of the encounters so now you know if you're fighting the final boss and stuff. I just didn't want Solius to be overshadowed by quite frankly a better game (as I've played it, and it's really fun). That doesn't mean that Solius is a bad game, because I certainly have fun playing. And I might add different worlds and stuff with different encounters to fight, once you beat the game.
Title: Re: CSE Hybrid Basic - Solius
Post by: Dream of Omnimaga on April 26, 2015, 09:59:49 PM
Ooh nice new stuff getting added. I was worried you forgot about this game and to release it after it was completed lol. And glad you like FF. I can't wait to play Solius. :)
Title: Re: CSE Hybrid Basic - Solius
Post by: Unicorn on April 27, 2015, 07:32:04 AM
Outerme, I haven't really foun time to check for difficulty lately, but so far it seems that the 4x4 and 5x5 maps are hard, but beatable. Which is good, in my opinion. Anyways, yeah I haven't really found time so I might be  able to get some testing in before the release but who knows.
Title: Re: [CSE Hybrid Basic] CSE Hybrid Basic - Solius
Post by: 123outerme on May 20, 2015, 03:01:10 PM
I've been away for a long time, but I've finally released Solius! Check the OP for the download.
Title: Re: CSE Hybrid Basic - Solius
Post by: Dream of Omnimaga on May 20, 2015, 03:55:56 PM
Heya, nice to see you again. I'm gonna try the game soon. Can't wait for new games from you. :)

EDIT: I downloaded it and it looks kinda nice, but how do you beat monsters? The first enemy I ran into (about 6 rooms later) caused 52 damage while I only caused 12 and I died in 2 hits ???
Title: Re: CSE Hybrid Basic - Solius
Post by: 123outerme on May 21, 2015, 08:38:23 PM
Quote from: DJ Omnimaga on May 20, 2015, 03:55:56 PM
Heya, nice to see you again. I'm gonna try the game soon. Can't wait for new games from you. :)

EDIT: I downloaded it and it looks kinda nice, but how do you beat monsters? The first enemy I ran into (about 6 rooms later) caused 52 damage while I only caused 12 and I died in 2 hits ???
You're supposed to level up in the weaker areas. Enemies get stronger as you go through the "rooms". It's not really a traditional dungeon crawler.
By the way, as always, I'll be updating and changing everything when I see fit. That includes the emptiness of the map, which I'll try to fix.
Title: Re: CSE Hybrid Basic - Solius
Post by: Dream of Omnimaga on May 22, 2015, 06:16:43 AM
Aah ok, I wasn't sure because I didn't encounter any enemy until the 7th room. Maybe the encounter rate could be increased since we have to stay in the same room for a while to level up?

And good idea to add new features to the map. Also in the future it would be cool if there was an option to enable colors, so that there could be some magic animations in color. :)
Title: Re: CSE Hybrid Basic - Solius
Post by: 123outerme on May 23, 2015, 02:10:20 PM
Quote from: DJ Omnimaga on May 22, 2015, 06:16:43 AM
Aah ok, I wasn't sure because I didn't encounter any enemy until the 7th room. Maybe the encounter rate could be increased since we have to stay in the same room for a while to level up?

And good idea to add new features to the map. Also in the future it would be cool if there was an option to enable colors, so that there could be some magic animations in color. :)
I'll increase the encounter rate, and enabling colors is definitely doable! I'll get to work on it.
Title: Re: CSE Hybrid Basic - Solius
Post by: Dream of Omnimaga on May 23, 2015, 03:30:44 PM
Cool to hear. :D Also you should put the game in the downloads section and the first post when you have a chance, as well as ticalc.org :)