Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => Topic started by: Reo on February 22, 2012, 07:12:01 pm

Title: [PRIZM & nspire] Work-in-progress RPG
Post by: Reo on February 22, 2012, 07:12:01 pm
I'm trying to get into PRIZM programming (and C programming in general), and with the help of libfxcg I've made some progress on a small RPG.

I designed a mock-up HUD to see how I could fill the screen, which could and will change eventually.

(http://i.imgur.com/aJK8N.png)

(http://i.imgur.com/X8P36.png)

Here's me testing both map-drawing and collision-detection.
Title: Re: Work-in-progress RPG
Post by: thydowulays on February 22, 2012, 07:13:25 pm
Wow, this looks really nice! May I ask how you figured out the Prizm system calls and such? I know C and have the compiler set up, but I don't know how to make stuff for the prizm
Title: Re: Work-in-progress RPG
Post by: Reo on February 22, 2012, 07:19:28 pm
Cemetech (http://www.cemetech.net/forum/viewforum.php?f=68) has a small but active Prizm dev community with a lot of useful information. The mini-SDK also comes with a library that contains access to whatever syscalls are known, as well as some other useful functions.
Title: Re: Work-in-progress RPG
Post by: saintrunner on February 22, 2012, 07:32:17 pm
it didn't let me access the mini-SDK?
Title: Re: Work-in-progress RPG
Post by: thydowulays on February 22, 2012, 07:32:25 pm
Yeah I'm on Cemetech... Anyways this is really nice! I am going to have to learn Prizm C
Title: Re: Work-in-progress RPG
Post by: DJ Omnimaga on February 23, 2012, 01:55:48 am
Looks nice so far. Glad you joined Prizm development. I assume to the right you will have HP, MP, LV like in Illusiat 6 and 7? Also would it be turn-based like FF or more action-based like Zelda?
Title: Re: Work-in-progress RPG
Post by: Reo on February 23, 2012, 06:29:29 am
I was thinking of Ultima IV when doing the HUD:

(http://i.imgur.com/HgopZ.png)

but with more info to fit the screen. It's very possible that it'll be turn-based, but I don't know if it'll be on a separate battle screen or not.

My idea concerning the inventory is that keys on the keypad will correspond to items in the boxes like so:

7 8 9
4 5 6
1 2 3
0 . (EXP)

So you can hit one of those to quickly select an item; I could then make other buttons on the keypad as use, wear, drop, etc. keys.
Title: Re: Work-in-progress RPG
Post by: TIfanx1999 on February 23, 2012, 10:51:13 am
Ultima was the first thing that came to mind when your screenie loaded up. It looks really old school. ^^
Title: Re: Work-in-progress RPG
Post by: Jonius7 on February 26, 2012, 08:15:16 am
That looks quite nice for a calculator. I think it has lots of potential. You can formulate a great story with multiple tiers of great items to buy and sell and etc. And the graphics would be great!
Title: Re: Work-in-progress RPG
Post by: DJ Omnimaga on February 26, 2012, 07:07:42 pm
The Ultima style HUD would be nice indeed. As for Nemesiat AKA Illusiat 6 this is what I meant by the way (first image):

(http://z3.ifrm.com/23/12/0/p7960/ghg.bmp)

The second one was a mockup of a possible Nemesiat xLIB remake back in 2008, but the HUD was much smaller.
Title: Re: Work-in-progress RPG
Post by: Reo on February 27, 2012, 02:04:30 am
Using (abusing) the C pre-processor, the source code now compiles for the Nspire CX:

(http://i.imgur.com/eESuG.png)
Title: Re: Work-in-progress RPG
Post by: DJ Omnimaga on February 27, 2012, 05:34:14 am
Good to hear, keep up the good work. :)
Title: Re: Work-in-progress RPG
Post by: turiqwalrus on February 27, 2012, 12:01:30 pm
good to see more prizm-based development!
this looks like it will turn out well :thumbsup:
Title: Re: Work-in-progress RPG
Post by: Reo on February 28, 2012, 12:46:50 am
Added scrolling

(http://i.imgur.com/YL0WL.png)

(http://i.imgur.com/ZwiQ5.png)

I can probably attempt the battle-system now.
Title: Re: Work-in-progress RPG
Post by: DJ Omnimaga on February 28, 2012, 12:52:55 am
Awesome. Glad to see more progress. :) What is the bottom area btw? Will the first be for example info messages+NPC convos and the second to enter commands?

Also moved out of sub-forum per your request.
Title: Re: Work-in-progress RPG
Post by: Reo on February 28, 2012, 12:55:25 am
Awesome. Glad to see more progress. :) What is the bottom area btw? Will the first be for example info messages+NPC convos and the second to enter commands?
I actually just moved the health/mana bars from the Prizm HUD, since the Nspire has more vertical space than the Prizm but less horizontal space. I moved what may become the dialogue/battle screen/menu box where the health/mana bars used to be.
Title: Re: [PRIZM & nspire] Work-in-progress RPG
Post by: DJ Omnimaga on February 28, 2012, 01:00:20 am
Oh ok it will be an health bar. Seems nice. Actually now that I look at it it seems to remind me more and more of Ys, aside from the fact there's also the items on the side.

(http://www.rpgfan.com/reviews/ys1&2/ys1&2-1.jpg)
Title: Re: [PRIZM & nspire] Work-in-progress RPG
Post by: Reo on February 29, 2012, 01:40:24 am
Attempted to increase the quality of ingame graphics.

(http://i.imgur.com/Eooc1.png)
Title: Re: [PRIZM & nspire] Work-in-progress RPG
Post by: Jim Bauwens on February 29, 2012, 06:46:48 am
Look's very nice :)
Title: Re: [PRIZM & nspire] Work-in-progress RPG
Post by: saintrunner on February 29, 2012, 08:27:58 am
Hey Reo, what language is this in? C I am assuming? This is looking very nice!
Title: Re: [PRIZM & nspire] Work-in-progress RPG
Post by: Reo on March 01, 2012, 09:43:36 pm
Hey Reo, what language is this in? C I am assuming? This is looking very nice!
Yeah, I'm writing this in C.


I've done some more to the HUD. The PRIZM version is also all thought out.

(http://i.imgur.com/zPeA6.png)
Title: Re: [PRIZM & nspire] Work-in-progress RPG
Post by: krazylegodrummer56 on March 02, 2012, 12:01:18 am
Character looks cool in latest shot. ;D Not so fond of the stick figure.
Title: Re: [PRIZM & nspire] Work-in-progress RPG
Post by: Jim Bauwens on March 02, 2012, 05:36:28 am
Do you use partly the same code for both devices?
Title: Re: [PRIZM & nspire] Work-in-progress RPG
Post by: Hayleia on March 02, 2012, 06:26:31 am
Do you use partly the same code for both devices?
Using (abusing) the C pre-processor, the source code now compiles for the Nspire CX:
So yes (I guess) ;)
Title: Re: [PRIZM & nspire] Work-in-progress RPG
Post by: TIfanx1999 on March 02, 2012, 07:37:06 am
The old graphic style wasn't bad, (they had a nice retro feel) but the new shiny ones look really good too. :D
Title: Re: [PRIZM & nspire] Work-in-progress RPG
Post by: krazylegodrummer56 on March 02, 2012, 04:16:15 pm
The old graphic style wasn't bad, (they had a nice retro feel) but the new shiny ones look really good too. :D
true. Stick figures are kinda cool andI wouldn't mind it but the character in the second shot still looks cool.
Title: Re: [PRIZM & nspire] Work-in-progress RPG
Post by: Reo on March 03, 2012, 07:32:19 pm
Switched the tilemap from one-dimension to two-dimensions. And then I did this:

(http://i.imgur.com/kzBeW.png)

(http://i.imgur.com/zLqPa.png)
Title: Re: [PRIZM & nspire] Work-in-progress RPG
Post by: DJ Omnimaga on March 07, 2012, 03:59:17 pm
Wow looks nice, getting better and better, and I'm loving the layout more and more now. plus you even added fog of war like in Joltima O.O O.O
Title: Re: [PRIZM & nspire] Work-in-progress RPG
Post by: krazylegodrummer56 on March 29, 2012, 05:15:52 pm
any release date yet?
Title: Re: [PRIZM & nspire] Work-in-progress RPG
Post by: DJ Omnimaga on March 29, 2012, 09:47:24 pm
I doubt there are any, since he seemed busy lately (he didn't post much in a while and that's what he told me last night). Hopefully he can work again on it soon, though.

Also yeah as I said the last time on IRC, I would recommend adding some sort of HUD texture, kinda like the one in Warcraft II. :D
Title: Re: [PRIZM & nspire] Work-in-progress RPG
Post by: Reo on April 05, 2012, 01:47:36 pm
I really don't have a planned release date, since my speed on this project isn't consistent.

I haven't added a HUD texture (will soon), but I wrote a string-drawing function which should easily lead to other good things. I've also added tabs for the item window so that it can show stats and maps (though now I'm wondering if I should replace that with out-of-battle magic and make the map an item)

(http://i.imgur.com/3RU8W.png)
Title: Re: [PRIZM & nspire] Work-in-progress RPG
Post by: DJ Omnimaga on April 05, 2012, 10:43:23 pm
Ooh that looks better and better. I like your icons so far by the way! :) The grass texture looks nice too, same for the walls. It kinda reminds me Dragon Warrior, actually.

By the way for the texture what I really think is that the item slots and such stuff could be kinda translucent, showing the texture behind, but much lighter. Not sure if this would make your icons hard to see, though...

Anyway glad to see more updates and that you still come around :)
Title: Re: [PRIZM & nspire] Work-in-progress RPG
Post by: shmibs on April 05, 2012, 11:15:32 pm
this does look pretty great =)
you should increase the contrast in your graphics, though.
(http://www.vizzed.com/videogames/nes/screenshot/Dragon%20Warrior%20III-2.png) vs. (http://i.imgur.com/3RU8W.png)

also, how did you manage to make it cross-compatible? i bet there are a lot of people who would be interested in that =)
Title: Re: [PRIZM & nspire] Work-in-progress RPG
Post by: Reo on April 05, 2012, 11:21:38 pm
also, how did you manage to make it cross-compatible? i bet there are a lot of people who would be interested in that =)
Since most of the code is broken down into functions, I can easily specify for all or part of a function to be platform-specific using the C pre-processor. So there are multiple version of some functions, written to behave similarly.
I usually test on my Nspire, so I often break Prism compatibility for a while when writing platform-specific code until I feel like working on the Prism-half, which I've done today.
EDIT: Here's some shots of the Prizm version that I posted at Cemetech. It also shows off the stats page.
(http://i.imgur.com/Ms1IP.png)
(http://i.imgur.com/SiAZx.png)
Title: Re: [PRIZM & nspire] Work-in-progress RPG
Post by: DJ Omnimaga on April 06, 2012, 12:46:57 am
Reo, once you finish this or manage to get a demo out, would you mind writing a quick tutorial on how to make developing games for both PRIZM and TI-Nspire CX at once? It would be great, especially that a lot of people here code or coded for the TI-Nspire and might be interested into porting their games to the other platform. :)

Also I like how the Prizm version looks like :)

EDIT By the way I was bored and I decided to try doing a quick mockup of how it could look like with a background, although the background might need to be different (although some rocky bg might fit well IMHO)
Title: Re: [PRIZM & nspire] Work-in-progress RPG
Post by: Reo on April 07, 2012, 06:05:29 pm
I've also made a mockup:

(http://i.imgur.com/MNjMG.png)

In other news, I've implemented an object system. This makes the game less like a walking demo with a HUD and more like something playable. (I still haven't made the battle system yet though)

Ignore the crappy rock tiles, they're a placeholder for something else. So are the box sprites.

I have a switch, and a door that looks like a box.

(http://i.imgur.com/hQ9Y9.png)

When I flip the switch, the door opens.

(http://i.imgur.com/Zm9va.png)

I can have multiple door-and-switch combos in the same map, but I haven't allowed multiple switches to control the same door.

(http://i.imgur.com/4aPar.png)

The box on the bottom is able to be pushed.

(http://i.imgur.com/7QOje.png)

The two boxes on top are functioning chests without working sprites.

(http://i.imgur.com/fQbhm.png)

Edit: I've committed to the changes to the HUD.

(http://i.imgur.com/y7gOZ.png)
Title: Re: [PRIZM & nspire] Work-in-progress RPG
Post by: DJ Omnimaga on April 07, 2012, 08:54:43 pm
Wow looking better and better. :D Also I assume for battles the empty box will be the logs of the battle chronology like in Dragon Quest?

Also I think it would be nice if the walls looked more 3D-ish, so they look less flat. It was quickly done, though, and maybe it could be done differently, but this is what I mean in the attached pic below. Basically it looks more 3D-ish like in Final Fantasy 2 through 6.
Title: Re: [PRIZM & nspire] Work-in-progress RPG
Post by: AzNg0d1030 on April 07, 2012, 09:22:06 pm
I'm just wondering, this seems to be created for PRIZM, but will it be created for the nspire like the title suggests?
Nvm, I wasn't paying attention.  Good job and keep it up :P
Title: Re: [PRIZM & nspire] Work-in-progress RPG
Post by: DJ Omnimaga on April 07, 2012, 09:46:39 pm
I wish there were more Nspire games ported to the PRIZM :D
Title: Re: [PRIZM & nspire] Work-in-progress RPG
Post by: DJ Omnimaga on April 16, 2012, 03:16:33 am
By the way any updates on this? Also what are your plans for the graphics? Are you planning to stick to the Dragon Warrior style or go with  my more 3D-ish idea?  Also, for the grass, it's an image rather than tiled, but when you add scrolling, won't that cause issues if the grass is static and everything else move?
Title: Re: [PRIZM & nspire] Work-in-progress RPG
Post by: Reo on April 16, 2012, 03:19:28 am
By the way any updates on this? Also what are your plans for the graphics? Are you planning to stick to the Dragon Warrior style or go with  my more 3D-ish idea?  Also, for the grass, it's an image rather than tiled, but when you add scrolling, won't that cause issues if the grass is static and everything else move?
I haven't worked on it much lately, as I've been busy with school and other things.
I'll try for the 3D-ish idea later, once I'm able to actually start working on anything besides the engine.
I'll attempt to fix the static backgrounds soon.
Title: Re: [PRIZM & nspire] Work-in-progress RPG
Post by: DJ Omnimaga on April 16, 2012, 03:21:16 am
Ah ok. Hopefully you find more free time soon. :)
Title: Re: [PRIZM & nspire] Work-in-progress RPG
Post by: Chockosta on April 16, 2012, 12:03:46 pm
This definetely looks fantastic.
I look forward to play it...

And I also hope you'll find free time!
Title: Re: [PRIZM & nspire] Work-in-progress RPG
Post by: AzNg0d1030 on August 16, 2012, 09:43:29 pm
Any progress?
Title: Re: [PRIZM & nspire] Work-in-progress RPG
Post by: DJ Omnimaga on August 16, 2012, 11:15:21 pm
It seems to have stalled after the author got busy last Spring but then it showed no sign of life despite summer vacations (where free time ensues) D:. I assume it's probably dead...
Title: Re: [PRIZM & nspire] Work-in-progress RPG
Post by: AzNg0d1030 on August 17, 2012, 02:10:27 am
It seems to have stalled after the author got busy last Spring but then it showed no sign of life despite summer vacations (where free time ensues) D:. I assume it's probably dead...
So many projects die during finals... :(
Title: Re: [PRIZM & nspire] Work-in-progress RPG
Post by: Eiyeron on August 17, 2012, 11:10:07 am
It was quite good...