This is my latest project; it is an extensive departure from a typical RPG. You'll learn why in a second. The story is as follows:

Inferno: Valani's Promise
Your name is Valani. Born the seventh son of a rich noble family, you were left with almost no inheritance. The king at that time was greedy and cruel. In your fifteenth summer, there was a peasant uprising, aided by renegade knights, that toppled the kingdom. The poor folk were glad to see the old ruler go, but that was not the case with your family and other nobles, for they went into hiding and planned a countercoup that would restore the old order of things. You were left behind, preferring to stay and see what would happen. For the next year, you secretly spied on things as the new regime took over. Surprisingly, during this time, your sympathies changed . You began to see things as the poor folk did, and realized the corruption of the old system. At the end of the year, you boldly walked to the palace and disowned your family and noble heritage, pledging total allegiance to the new king. You quickly became steadfast friends, especially after you told the king of the planned attack by the old nobles.

When the invasion came, you and your new friends were ready. But the nobles' methods were brutal, and the kingdom began to falter. Soon, you realized the need for a more organized defense, and joined the army. You were then twenty-one. Due to your strength, skill, and brilliant tactician's mind, you quickly rose through the ranks of the army, and soon were second only to the king himself. You welded the ragtag army into a cohesive fighting force, and began to win decisive battles. After two years, your army stood at the gates of the last stronghold of the noble families. A siege of three months ended the war. You married the king's beautiful daughter, and settled down to live a happy life. You soon had one child, a son named Evelian.

But the king fell ill seven years later, and soon died. A struggle began to claim the throne. The king's two twin sons fought viciously over the title, and the country was at war once more. Fearing for the lives of your wife and son, you fled the country and settled in a small town, becoming a farmer. . .


Ten years later: There have been reports of brigands in your area, but none were confirmed. One normal day, you head to town to buy a new plow. When you return, you call out. Nobody replies. Fearing the worst, you rush into your house. There, lying in a pool of blood, your wife is slumped on the floor. With a heart-rending cry, you rush to her side. She smiles weakly up at you, and then whispers feebly:
"Evelian has been taken. Promise me you will find him. Promise me, Valani."
"I will seek him until I find him or death claims me first."
She looks at you once more, her eyes full of love, then says "Thank you." She goes limp in your arms, dead. Engulfed in grief, you eat nothing for three days. Then, remembering Evelian and your vow, you enter the house. Opening a clothes drawer, you throw out the clothes, and remove a sword. Shining brilliantly, its blade is as sharp as ever. You swing it experimentally, then, satisfied, leave the house. With a look of grim determination on your face, you leave along the road. Pausing for a moment, you look once more at your wife's fresh grave, then turn to go.


Enemies, weapons, and items: see chart

Everything else: TBD; who knows what I'll add?

Departures from typical RPGs:
You're thirty-eight years old! (for those who can't add or didn't read!)
You got married and had a son.
You're trying to rescue him, not defeat evil forever.
The biggest one: No magic!



Latest screenshot:


More info, the program demo, and a list of enemies, weapons, and items at:
http://ourl.ca/86675
because I am really lazy, what is this coded in?
I'm doing it in Axe with 4-color grayscale.
qazz42 wrote:
because I am really lazy, what is this coded in?
What does that have to do with laziness? Also C.sprinkle, nice screenshot, but why does it look so flickery? Is that just an unfortunate trick of your particular emulator?>
Yeah, I think it's the emulator, I know if you tried to do that with many of Axe's 4 level greyscale, or even 3 level, then it goes crazy on you.

C.Sprinkle, this looks like a very cool project, and I absolutely love how you move around in this Very Happy That way you don't have to do smooth scrolling, and it still feels fluent Very Happy Bravo, can't wait to see more progress. And as always, if you need any help with concepts or Axe stuff, you can ask me, or anyone else who knows Axe.
Yep. I'm now making a bigger tilemap and making it scroll up and down.
c.sprinkle wrote:
Yep. I'm now making a bigger tilemap and making it scroll up and down.
Sounds good, I hope you'll show us the new screenshots once you implement that.
KermMartian wrote:
qazz42 wrote:
because I am really lazy, what is this coded in?
What does that have to do with laziness? Also C.sprinkle, nice screenshot, but why does it look so flickery? Is that just an unfortunate trick of your particular emulator?>


I mean I was too lazy to read the enitre post and go on omnimaga to look at new info
Oh, that makes sense; thanks for clarifying that. C.sprinkle, so have you made any new progress on this, by any chance?
c.sprinkle wrote:
Inferno: Valani's Promise

I really like the graphics. The name, the story, it is all good stuff. It definitly has potential to be a great game.
basicman wrote:
c.sprinkle wrote:
Inferno: Valani's Promise

I really like the graphics. The name, the story, it is all good stuff. It definitly has potential to be a great game.
Agreed, but unfortunately, I haven't seen c.sprinkle in months or weeks, so I'm a bit concerned about him having dropped off the face of the earth. Razz
I have revived this at last, but I am rusty at coding after my two-month enforced banishment. (grrrrr.)

Unfortunately, although I made the engine easy to modify, the problem is that now that I have trie d to change it to 1-pxl scrolling, I am messing it up. So, I would greatly appreciate any help on optimization or fixing it.


Code:
.IVP Inferno: Valani's Promise
DiagnosticOff
ClrHome
ClrDraw
ClrDraw r
"vIVPmap01"→Str1
[FF83878F8F9FBFFFFFFFBF9F878381FFB5FF7BDEFF6DFFB65F80A629419610EB]→Pic0
[FFFFFFFFFFFFFFFF0000000000000000]→Pic00
.Up Down Right Left
[183C3C183C5A2424182424183C5A24240C1A120C1E0C0A123058483078305048]→Pic1
[A5A55A242418243C→Pic3
GetCalc(Str1,140)→V
ΔList(1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,0,1,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,1,1,0,1,0,0,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1)→V
0→C
ref(0,0,95,63) r
For(A,0,7
For(B,0,23
If {V+C}=1
Pt-Off(B*8,A*8,Pic0
Pt-Off(B*8,A*8,Pic0+8) r
End
If {V+C}=2
Pt-Off(B*8,A*8,Pic0+16
Pt-Off(B*8,A*8,Pic0+24) r
End
If {V+C}=3
Pt-Off(B*8,A*8,Pic3
End
C+1→C
End
End
8→A
24→B


0→O→θ→Z

.Main loop
Repeat getKey(15)
sub(DS
If getKey(2)
If (pxl-Test(A-1,B)+pxl-Test(A-1,B+7)=0
Pt-Off(A,B,Pic00+8
24→O
A-1→A
If A=1
Z-1→Z
sub(RD
A+1→A
sub(DS
End
End
End
If getKey(3)
If (pxl-Test(A+8,B)+pxl-Test(A+8,B+7)=0
Pt-Off(A,B,Pic00+8
A+1→A
16→O
If A=87
Z+1→Z
sub(RD
A-1→A
sub(DS
End
End
End
If getKey(4)
If (pxl-Test(A,B-1)+pxl-Test(A+7,B-1)=0
Pt-Off(A,B,Pic00+8
0→O
B-1→B
If B=1
θ-1→θ
sub(RD
B+1→B
sub(DS
End
End
End
If getKey(1)
If (pxl-Test(A,B+8)+pxl-Test(A+7,B+8)=0
Pt-Off(A,B,Pic00+8
8→O
B+1→B
If B=55
θ+1→θ
sub(RD
B-1→B
sub(DS
End
End
End
End
ClrDraw
ClrDraw
ClrHome
DelVar Str1
Return

Lbl DS
Pt-Off(A,B,Pic1+O
DispGraph r r
Return

Lbl RD
For(Q,0,7
For(R,0,23
{Q*24+R+Z+θ+V}→I
Pt-Off(A,B,Pic1+O
Pt-Off(R*8,Q*8,Pic00) r
Pt-Off(R*8,Q*8,Pic00+8
If I=1
Pt-Off(R*8,Q*8,Pic0
Pt-Off(R*8,Q*8,Pic0+8) r
End
If I=2
Pt-Off(R*8,Q*8,Pic0+16
Pt-Off(R*8,Q*8,Pic0+24) r
End
If I=3
Pt-Off(R*8,Q*8,Pic3
End
End
DispGraph r r
End
Ahhh, codespam! Very Happy You should make that a SourceCoder project or Pastebin something like that in the future. Smile Any Axe coders want to take a stab?
Shock woah. never mind.
0rac343 wrote:
Shock woah. never mind.
Did you post in the wrong thread or something? I'm trying to figure out what your post has to do with the one directly above it.
You're missing a parenthesis here:

Code:

...
If (pxl-Test(A+8,B)+pxl-Test(A+8,B+7)=0
...
souvik1997 wrote:
You're missing a parenthesis here:

Code:

...
If (pxl-Test(A+8,B)+pxl-Test(A+8,B+7)=0
...
Nice catch there, Souvik! That might not be an issue, though, depending on operator precedence in Axe.
It is definetly an issue. Leaving off parentheses can cause compiled programs to not run as expected.
Oops. I'll fix that. I got a routine to run, but it's still way too slow.
Update!
Fixed scrolling; made a map generator, etc.- lots of progress.
AND changed maps from 24 x 16 to 8 x 32. Much better, and faster too.
Screenshots tomorrow?!?!?
  
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