Author Topic: YEONG RPG(Back in Action!)  (Read 41413 times)

0 Members and 1 Guest are viewing this topic.

Offline FinaleTI

  • Believe in the pony that believes in you!
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1830
  • Rating: +121/-2
  • Believe in the pony that believes in you!
    • View Profile
    • dmuckerman.tumblr.com
Re: YEONG RPG(HALTED UNTIL AFTER EOC)
« Reply #105 on: December 27, 2010, 07:53:34 pm »
I'll see what I can whip up.

Edit: Alright, here's what I got.
A is your X position in the map and B is your Y position.
The map is stored in [A]. (I can change all this to whatever you might need.)
This example uses tiles from Pic0, but that can be changed as well.
The code prevents you from moving onto a non-zero space in the map, but I can change this to support multiple walkable tiles if you'd like.
The code also prevents you from moving outside the matrix.
I used DCS7 to write this, and DCS and Celtic allow stuff like real(8)→K, while xLib can only do real(8):Ans→K.

Here's the code:
Code: [Select]
real(7,0 // Turns off run indicator
real(0 // Clears screen
0→A:Ans→B // Sets your position in the map. The minimum is (0,0), not (1,1) like in the TIOS
dim([A]→L6 // Stores the map size into L6
{0,0,L6(2)-12,L6(1)-8→L6 // Creates map boundaries
Repeat real(8)=15 // Repeats until CLEAR is pressed.
real(2,0,A,B,0,0,0,12,0,8,0,0,8,0 // Draws map without updating screen
real(1,40,32,1,8,0,0,8,0,0,1 // Draws character and updates screen
Repeat real(8 // Waits for keypress
End
A+(real(8)=3 and 0=[A](B+5,A+7))-(real(8)=2 and not([A](B+5,A+5→A // Handles horizontal movement
If A≥L6(4 // Handles horizontal map bounding
L6(4→A
If A≤L6(1
L6(1→A
B+(real(8)=1 and 0=[A](B+6,A+6))-(real(8)=4 and not([A](B+4,A+6→B // Handles vertical movement
If B≥L6(4 // Handles vertical map bounding
L6(4→B
If B≤L6(2
L6(2→B
End // End of Repeat real(8)=15 loop
« Last Edit: December 27, 2010, 09:00:22 pm by FinaleTI »


Spoiler For Projects:

My projects haven't been worked on in a while, so they're all on hiatus for the time being. I do hope to eventually return to them in some form or another...

Spoiler For Pokemon TI:
Axe port of Pokemon Red/Blue to the 83+/84+ family. On hold.

Spoiler For Nostalgia:
My big personal project, an original RPG about dimensional travel and a few heroes tasked with saving the world.
Coding-wise, on hold, but I am re-working the story.

Spoiler For Finale's Super Insane Tunnel Pack of Doom:
I will be combining Blur and Collision Course into a single gamepack. On hold.

Spoiler For Nostalgia Origins: Sky's Story:
Prequel to Nostalgia. On hold, especially while the story is re-worked.

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: YEONG RPG(HALTED UNTIL AFTER EOC)
« Reply #106 on: January 02, 2011, 06:59:35 pm »
i want multiple walkable tiles, with the tiles that are unwalkable if tile# is past 25
Sig wipe!

Offline FinaleTI

  • Believe in the pony that believes in you!
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1830
  • Rating: +121/-2
  • Believe in the pony that believes in you!
    • View Profile
    • dmuckerman.tumblr.com
Re: YEONG RPG(HALTED UNTIL AFTER EOC)
« Reply #107 on: January 02, 2011, 07:08:28 pm »
Kay, this should work.
Code: [Select]
real(7,0
real(0
0→A:Ans→B
dim([A]→L6
{0,0,L6(2)-12,L6(1)-8→L6
Repeat real(8)=15
real(2,0,A,B,0,0,0,12,0,8,0,0,8,0
real(1,40,32,1,8,0,0,8,0,0,1
Repeat real(8
End
A+(real(8)=3 and [A](B+5,A+7)<26)-(real(8)=2 and [A](B+5,A+5)<26→A
If A≥L6(4
L6(4→A
If A≤L6(1
L6(1→A
B+(real(8)=1 and [A](B+6,A+6)<26)-(real(8)=4 and [A](B+4,A+6)<26→B
If B≥L6(4
L6(4→B
If B≤L6(2
L6(2→B
End
« Last Edit: January 02, 2011, 07:09:27 pm by FinaleTI »


Spoiler For Projects:

My projects haven't been worked on in a while, so they're all on hiatus for the time being. I do hope to eventually return to them in some form or another...

Spoiler For Pokemon TI:
Axe port of Pokemon Red/Blue to the 83+/84+ family. On hold.

Spoiler For Nostalgia:
My big personal project, an original RPG about dimensional travel and a few heroes tasked with saving the world.
Coding-wise, on hold, but I am re-working the story.

Spoiler For Finale's Super Insane Tunnel Pack of Doom:
I will be combining Blur and Collision Course into a single gamepack. On hold.

Spoiler For Nostalgia Origins: Sky's Story:
Prequel to Nostalgia. On hold, especially while the story is re-worked.

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: YEONG RPG(HALTED UNTIL AFTER EOC)
« Reply #108 on: January 02, 2011, 07:11:23 pm »
erm..If I read it correctly, the char ALWAYS will be on the center of the map, right?
Sig wipe!

Offline FinaleTI

  • Believe in the pony that believes in you!
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1830
  • Rating: +121/-2
  • Believe in the pony that believes in you!
    • View Profile
    • dmuckerman.tumblr.com
Re: YEONG RPG(HALTED UNTIL AFTER EOC)
« Reply #109 on: January 02, 2011, 07:13:42 pm »
Yes. Did you want something else?


Spoiler For Projects:

My projects haven't been worked on in a while, so they're all on hiatus for the time being. I do hope to eventually return to them in some form or another...

Spoiler For Pokemon TI:
Axe port of Pokemon Red/Blue to the 83+/84+ family. On hold.

Spoiler For Nostalgia:
My big personal project, an original RPG about dimensional travel and a few heroes tasked with saving the world.
Coding-wise, on hold, but I am re-working the story.

Spoiler For Finale's Super Insane Tunnel Pack of Doom:
I will be combining Blur and Collision Course into a single gamepack. On hold.

Spoiler For Nostalgia Origins: Sky's Story:
Prequel to Nostalgia. On hold, especially while the story is re-worked.

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: YEONG RPG(HALTED UNTIL AFTER EOC)
« Reply #110 on: January 02, 2011, 07:15:45 pm »
The one i was programming was about char moving to edge of the screen once the char reach the certain point of the map..and turned out to be epic fail.(xLib created the strange glitch of not displaying that one row)
Sig wipe!

Offline FinaleTI

  • Believe in the pony that believes in you!
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1830
  • Rating: +121/-2
  • Believe in the pony that believes in you!
    • View Profile
    • dmuckerman.tumblr.com
Re: YEONG RPG(HALTED UNTIL AFTER EOC)
« Reply #111 on: January 02, 2011, 07:17:16 pm »
I think I can manage something to that effect. Without the glitch, of course.


Spoiler For Projects:

My projects haven't been worked on in a while, so they're all on hiatus for the time being. I do hope to eventually return to them in some form or another...

Spoiler For Pokemon TI:
Axe port of Pokemon Red/Blue to the 83+/84+ family. On hold.

Spoiler For Nostalgia:
My big personal project, an original RPG about dimensional travel and a few heroes tasked with saving the world.
Coding-wise, on hold, but I am re-working the story.

Spoiler For Finale's Super Insane Tunnel Pack of Doom:
I will be combining Blur and Collision Course into a single gamepack. On hold.

Spoiler For Nostalgia Origins: Sky's Story:
Prequel to Nostalgia. On hold, especially while the story is re-worked.

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: YEONG RPG(HALTED UNTIL AFTER EOC)
« Reply #112 on: January 02, 2011, 07:18:13 pm »
Thanks in advance. I was trying to fix it but I couldn't
Sig wipe!

Offline FinaleTI

  • Believe in the pony that believes in you!
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1830
  • Rating: +121/-2
  • Believe in the pony that believes in you!
    • View Profile
    • dmuckerman.tumblr.com
Re: YEONG RPG(HALTED UNTIL AFTER EOC)
« Reply #113 on: January 02, 2011, 07:50:25 pm »
Done. This should be what you're looking for.
You can still adjust the map and sprites like I said in my first post.


Spoiler For Projects:

My projects haven't been worked on in a while, so they're all on hiatus for the time being. I do hope to eventually return to them in some form or another...

Spoiler For Pokemon TI:
Axe port of Pokemon Red/Blue to the 83+/84+ family. On hold.

Spoiler For Nostalgia:
My big personal project, an original RPG about dimensional travel and a few heroes tasked with saving the world.
Coding-wise, on hold, but I am re-working the story.

Spoiler For Finale's Super Insane Tunnel Pack of Doom:
I will be combining Blur and Collision Course into a single gamepack. On hold.

Spoiler For Nostalgia Origins: Sky's Story:
Prequel to Nostalgia. On hold, especially while the story is re-worked.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: YEONG RPG(HALTED UNTIL AFTER EOC)
« Reply #114 on: January 04, 2011, 01:47:28 am »
The one i was programming was about char moving to edge of the screen once the char reach the certain point of the map..and turned out to be epic fail.(xLib created the strange glitch of not displaying that one row)
If you do this, have it so the char remains centered or close when the map needs to scroll, because I saw some games having the character be at the very edge of the screen when scrolling and it gets hard to see where you're going. I prefer to see where I am going.

Offline turiqwalrus

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 840
  • Rating: +51/-2
  • Wheeeeeee~!
    • View Profile
Re: YEONG RPG(HALTED UNTIL AFTER EOC)
« Reply #115 on: January 06, 2011, 08:32:14 pm »
I'm happy this is making some progress. This is one of the programs I'm seriously tracking(besides Contra), so I'll be happy when it comes out.

No pressure, though.

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: YEONG RPG(HALTED UNTIL AFTER EOC)
« Reply #116 on: January 07, 2011, 04:23:09 pm »
The one i was programming was about char moving to edge of the screen once the char reach the certain point of the map..and turned out to be epic fail.(xLib created the strange glitch of not displaying that one row)
If you do this, have it so the char remains centered or close when the map needs to scroll, because I saw some games having the character be at the very edge of the screen when scrolling and it gets hard to see where you're going. I prefer to see where I am going.
That's what I had in mind and programming like that. But xLib had to ruin(or is it me) it. I'll just have to use FinaleTI's FFFF if I really can't figure it out(imma use it anyway to compare)
Sig wipe!

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: YEONG RPG(HALTED UNTIL AFTER EOC)
« Reply #117 on: January 08, 2011, 08:38:35 pm »
You can ask for help in the TI-BASIC sub-forum, actually. Him and a few others could help.

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: YEONG RPG(HALTED UNTIL AFTER EOC)
« Reply #118 on: January 11, 2011, 05:57:42 pm »
This is some progress(No screenshits screenshots until I find mah cable)
-completely redesigned maps (it's on mah note) because imma use scrolling map
-first try on battle engine, but failed epicly

This is not dead, it's just that the progress is too slow that i have nothing to post yet
Sig wipe!

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: YEONG RPG (Resumed)
« Reply #119 on: January 30, 2011, 11:54:13 am »
i am necroposting mah own thread...but however since I was released from that stupid EOC and ground now, im back into business(?)
I will post mah works soon but I have to find mah cable now...
Added stuff-
*Added magic
*Still working on a battle engine(it's pain.... 9 v 4)
Sig wipe!