Author Topic: Inferno: Valani's Promise- A new RPG project  (Read 24385 times)

0 Members and 1 Guest are viewing this topic.

Offline c.sprinkle

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 221
  • Rating: +23/-1
  • There ain't no rest for the wicked? True indeed.
    • View Profile
    • The Corread on NationStates.
Re: Inferno: Valani's Promise- A new RPG project
« Reply #30 on: January 13, 2011, 04:31:23 pm »
Here's the latest update. Two new things for you: The full, 4-way scrolling tilemap demo AND a battle engine demo.

If someone could post screenshots. . .  :P

IVP2 is the battle engine.
« Last Edit: March 29, 2011, 04:54:46 pm by c.sprinkle »

Offline squidgetx

  • Food.
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1881
  • Rating: +503/-17
  • rawr.
    • View Profile
Re: Inferno: Valani's Promise- A new RPG project
« Reply #31 on: January 13, 2011, 06:38:59 pm »
I couldn't figure out how the battle engine worked, besides swinging around a sword, but anyway, here are your screenies :)

Feedback: the tilemapper was nice. however, it was kinda awkward that the char moves in 1 px increments since sometimes I'd only be blocked by 1/8 of a block but not be able to move. Maybe let the tilemapper allow you to move if you're within 1 px of the next block? or move by 2pxl increments. Also, as I said before, I couldn't quite figure out the battle engine. There was no animation for sword swinging when the player was facing up or down. The graphics look pretty nice though :)
« Last Edit: January 13, 2011, 06:42:29 pm by squidgetx »

Offline c.sprinkle

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 221
  • Rating: +23/-1
  • There ain't no rest for the wicked? True indeed.
    • View Profile
    • The Corread on NationStates.
Re: Inferno: Valani's Promise- A new RPG project
« Reply #32 on: January 13, 2011, 06:53:48 pm »
Well, that's all the battle engine does right now. :P
Yeah, I was wondering if I should change the movement to 2 pixels. . .
I'll give it a try. Thanks. Next up: an enemy in the battle engine! :D
The sword only swings when facing sideways because it looks weird to have his foot swinging a sword. :P
Of course, if there's a way around that, I would love to know.

UPDATE: I changed the last post's attachment. Re-look at it for the updated, 2-pixel-move version. :)
« Last Edit: January 13, 2011, 07:14:10 pm by c.sprinkle »

Offline c.sprinkle

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 221
  • Rating: +23/-1
  • There ain't no rest for the wicked? True indeed.
    • View Profile
    • The Corread on NationStates.
Re: Inferno: Valani's Promise- A new RPG project
« Reply #33 on: January 14, 2011, 11:55:33 am »
Here's the fixed version with 2-pixel-at-a-time scrolling. However, I've run into a problem with the tilemap. Look at the second attachment.

Offline c.sprinkle

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 221
  • Rating: +23/-1
  • There ain't no rest for the wicked? True indeed.
    • View Profile
    • The Corread on NationStates.
Re: Inferno: Valani's Promise- A new RPG project
« Reply #34 on: January 16, 2011, 05:08:00 pm »
*Extreme Bump*
So, I have had problems with the battle engine, the scrolling, and the code size. The solution: Rework the battle engine completely. The main graphics will now be the tilemap. Because sword animations, etc. take so much room in my code, I am going for a battle engine more similar to TBP's. (Thanks for the inspiration, Eeems! ;))
I hope to have the tilemap bug fixed, but I can't figure it out. Some feedback and help would be greatly appreciated. (hint hint . ;))

Offline squidgetx

  • Food.
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1881
  • Rating: +503/-17
  • rawr.
    • View Profile
Re: Inferno: Valani's Promise- A new RPG project
« Reply #35 on: January 16, 2011, 05:15:45 pm »
lol, good luck revamping the battle engine! What was the bug with the tilemap?

edit: lol 777 posts :D
« Last Edit: January 16, 2011, 05:16:04 pm by squidgetx »

Offline c.sprinkle

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 221
  • Rating: +23/-1
  • There ain't no rest for the wicked? True indeed.
    • View Profile
    • The Corread on NationStates.
Re: Inferno: Valani's Promise- A new RPG project
« Reply #36 on: January 16, 2011, 05:22:31 pm »
Part of the tilemap would turn black. I don't have a screenshot, but it's attached to one of the previous posts. The attachment is: glitch_IVP.8xp  ;)

777 useful posts! Hurrah!

I notice they changed "Respect:" to "Total Post Ratings:"  ;D
« Last Edit: January 16, 2011, 05:23:27 pm by c.sprinkle »

Offline squidgetx

  • Food.
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1881
  • Rating: +503/-17
  • rawr.
    • View Profile
Re: Inferno: Valani's Promise- A new RPG project
« Reply #37 on: January 16, 2011, 05:34:04 pm »
That's certainly very strange. How are you doing the scrolling (general description of the process)? It looks like some of the tilemap is getting corrupted and the corresponding tile happens to be FFFFFFFFFFFFFFFF...

Offline c.sprinkle

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 221
  • Rating: +23/-1
  • There ain't no rest for the wicked? True indeed.
    • View Profile
    • The Corread on NationStates.
Re: Inferno: Valani's Promise- A new RPG project
« Reply #38 on: January 16, 2011, 06:30:27 pm »
Here's the source. Only problem is, it only corrupts when the vertical offset (in tiles) is 2 or greater. Take a look. Thanks!  ;)

Offline squidgetx

  • Food.
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1881
  • Rating: +503/-17
  • rawr.
    • View Profile
Re: Inferno: Valani's Promise- A new RPG project
« Reply #39 on: January 16, 2011, 07:32:18 pm »
Ok, I took a quick look. I didn't manage to fix it, but I noticed a few problems. First off, it seems like you aren't accounting for theta, the x offset. Second, I'm not quite so sure that your array manipulation is right...I could be wrong but there is something strange about it. Maybe it's the fact that you have the hp bar on the side...

You may want to reconsider redrawing the screen completely when you scroll; it might be easier. The grayscale quality might suffer too much, though; in that case you'll have to go back and figure out what's wrong with it. Good luck! I might look at it more tomorrow, but I don't know if I'll be able to for sure :P

Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: Inferno: Valani's Promise- A new RPG project
« Reply #40 on: January 16, 2011, 07:33:59 pm »
looks quite smexy.
can't wait
School: East Central High School
 
Axe: 1.0.0
TI-84 +SE  ||| OS: 2.53 MP (patched) ||| Version: "M"
TI-Nspire    |||  Lent out, and never returned
____________________________________________________________

Offline c.sprinkle

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 221
  • Rating: +23/-1
  • There ain't no rest for the wicked? True indeed.
    • View Profile
    • The Corread on NationStates.
Re: Inferno: Valani's Promise- A new RPG project
« Reply #41 on: January 16, 2011, 10:04:39 pm »
WHEEEEEE! IT WORKS!
The tilemap works perfectly. It's 15x12 (180 tiles!) and has flawless scrolling. Also far more optimized than before, so it's only 1580 bytes for the compiled version. If you have feedback, let me know. I redid half the program to get this, so you better like this. . .  <_<
The file is attached below.
If someone could post a screenshot, I would be greatly indebted to them. . . (hint hint)


Also, don't kill me for using big font. I felt like the situation merited it.
« Last Edit: January 16, 2011, 10:05:34 pm by c.sprinkle »

Offline Binder News

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 785
  • Rating: +46/-3
  • Zombie of Tomorrow
    • View Profile
Re: Inferno: Valani's Promise- A new RPG project
« Reply #42 on: January 16, 2011, 10:10:40 pm »
Here is a screenshot.
EDIT: And another. And yes, the guy does appear to have problems moving right and up. I used 2 different ROMs. It happened on both.
« Last Edit: January 16, 2011, 10:14:19 pm by Binder News »
Spoiler For userbars:







Hacker-in-training!   Z80 Assembly Programmer     Axe Programmer
C++ H4X0R             Java Coder                           I <3 Python!

Perdidisti ludum     Cerebrum non habes

"We are humans first, no matter what."
"Fame is a vapor, popularity an accident, and riches take wings. Only one thing endures, and that is character."
Spoiler For Test Results:





Offline yunhua98

  • You won't this read sentence right.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2718
  • Rating: +214/-12
  • Go take a dive in the River Lethe.
    • View Profile
Re: Inferno: Valani's Promise- A new RPG project
« Reply #43 on: January 16, 2011, 10:17:19 pm »
very nice!  also, are you storing each tile as a byte with a HEX value?  because i f you are, you know what I go through when I type a 24x16 tilemap and make mistakes.  :P

Spoiler For =====My Projects=====:
Minor setback due to code messing up.  On hold for Contest.
<hr>
On hold for Contest.


Spoiler For ===Staff Memberships===:






Have you seen any good news-worthy programs/events?  If so, PM me with an article to be included in the next issue of CGPN!
The Game is only a demo, the code that allows one to win hasn't been done.
To paraphrase Oedipus, Hamlet, Lear, and all those guys, "I wish I had known this some time ago."
Signature Last Updated: 12/26/11
<hr>

Offline c.sprinkle

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 221
  • Rating: +23/-1
  • There ain't no rest for the wicked? True indeed.
    • View Profile
    • The Corread on NationStates.
Re: Inferno: Valani's Promise- A new RPG project
« Reply #44 on: January 16, 2011, 10:19:49 pm »
Right now, I use the Data( command and then do binary 0s and 1s. A 0 is a blank square and a 1 is a wall (duh!).