Author Topic: Rott RPG Engine  (Read 10775 times)

0 Members and 1 Guest are viewing this topic.

Offline XVicarious

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 485
  • Rating: +45/-28
  • I F**king Love Twisty Puzzles
    • View Profile
    • XVicarious
Re: Rott RPG Engine
« Reply #15 on: October 26, 2011, 11:12:34 pm »
In case you are interested in the new menu code.  Optimizations welcome.  Except Runer112, because it has to be readable by humans.

Quote from: Axe
.MENU

1IM
"**Ro|pRPG**"Str1
"*Engine*"Str2

Fix 1:FixFix5

Repeat getKey(15)

If (M=1)
If getKey(1) and (I<3)
I+1I
End
If getKey(4) and (I>1)
I-1I
End
If getKey(54)
If (I=1)
1I+1M
End
If (I=3)
Goto Exit
End
End
End

If (M=2)
If getKey(1) and (I<6)
I+1I
End
If getKey(4) and (I>1)
I-1I
End
If getKey(54)
If (I=6)
1IM
End
End
End

.Start drawing the menu
ClrDraw

If (M=1)
Text(18,8,Str1)
Text(24,16,Str2)
Text(36,32,"Play")
Text(36,40,"Help")
Text(36,48,"Quit")
Text(30,(I+3)*8,">")
Text(60,(I+3)*8,"<")
End

If (M=2)
Text(36,8,"Sav1")
Text(36,16,"Sav2")
Text(36,24,"Sav3")
Text(36,32,"Copy")
Text(36,40,"Kill")
Text(36,48,"Back")
Text(30,I*8,">")
Text(60,I*8,"<")
End

End

Lbl Exit
Fix 0:Fix 4
ClrHome:ClrDraw


Generated by the BBify'r (http://clrhome.tk/resources/bbify/)

Offline parserp

  • Hero Extraordinaire
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1455
  • Rating: +88/-7
  • The King Has Returned
    • View Profile
Re: Rott RPG Engine
« Reply #16 on: October 26, 2011, 11:16:21 pm »
Except Runer112, because it has to be readable by humans.
lol readable by humans :)

Offline XVicarious

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 485
  • Rating: +45/-28
  • I F**king Love Twisty Puzzles
    • View Profile
    • XVicarious
Re: Rott RPG Engine
« Reply #17 on: October 30, 2011, 05:13:57 pm »
Noone? :(
Well I have started the process of merging the menu and stuff... So expect more monday!

Offline chattahippie

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 358
  • Rating: +27/-0
  • Super Member! :D
    • View Profile
Re: Rott RPG Engine
« Reply #18 on: October 30, 2011, 05:57:45 pm »
Noone? :(
Well I have started the process of merging the menu and stuff... So expect more monday!
Instead of I+1->I, use I++
And where you have, say, Text(36,8,"Sav1"), use Text(36,-28,"Sav1"), where - is subtract, not the negative sign.
For things like If (M=2), use !If M-2
Small optimizations, but they add up :)

Offline XVicarious

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 485
  • Rating: +45/-28
  • I F**king Love Twisty Puzzles
    • View Profile
    • XVicarious
Re: Rott RPG Engine
« Reply #19 on: October 30, 2011, 06:09:07 pm »
Wow! Thanks!
Could you give another example on the Text( thing and the !If M-2 will that work with !If M-1 and M-3 etc?

Offline chattahippie

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 358
  • Rating: +27/-0
  • Super Member! :D
    • View Profile
Re: Rott RPG Engine
« Reply #20 on: October 30, 2011, 07:48:34 pm »
Wow! Thanks!
Could you give another example on the Text( thing and the !If M-2 will that work with !If M-1 and M-3 etc?

Yes, the !If M-(#) works for just about anything.
For the Text() optimization, it works like this
The first argument is stored in the "Ans variable of Axe" (36, for example), then you can manipulate it for the second argument (36-28=8).

These optimizations were found here: http://ourl.ca/8520
I'm sure they can explain it better than I can, and there are plenty of other ways to exploit the "Ans" variable :P
Good luck

Offline annoyingcalc

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1953
  • Rating: +140/-72
  • Found in Eclipse.exe
    • View Profile
Re: Rott RPG Engine
« Reply #21 on: October 30, 2011, 07:52:37 pm »
an RPG engine cool!
This used to contain a signature.

Offline XVicarious

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 485
  • Rating: +45/-28
  • I F**king Love Twisty Puzzles
    • View Profile
    • XVicarious
Re: Rott RPG Engine
« Reply #22 on: November 26, 2011, 03:11:14 pm »
Just so you know guys, this isn't dead... I'm just busy with work and stuff.

Offline XVicarious

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 485
  • Rating: +45/-28
  • I F**king Love Twisty Puzzles
    • View Profile
    • XVicarious
Re: Rott RPG Engine
« Reply #23 on: January 04, 2012, 12:15:53 pm »
Good news.  Today I started the shop system.  This should also take care of the inventory system and money system as well.

The menu is being integrated to the engine right now so this I expect to be implemented within the next few weeks!

Oh and if you have ideas on how to display the items please help. I right now have them all in one string... Not a great way to do it...

Offline Eiyeron

  • Urist McEiyolobster
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1430
  • Rating: +130/-10
  • (-_(//));
    • View Profile
    • Rétro-Actif : Rétro/Prog/Blog
Re: Rott RPG Engine
« Reply #24 on: February 19, 2012, 04:21:12 am »
You could use the new function stdDev, if you store your strings separated by [00] char
Code: [Select]
"Hello"[00]->Str1
"Worlds"[00]

Text(0,0,stdDev(Str1,0))
Text(0,7,stdDev(Str1,1))

Feel free to test, i'm on iPod, I can't do a screenshot.
Anyone for an iPhone TI emulator?

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: Rott RPG Engine
« Reply #25 on: February 19, 2012, 04:32:09 am »
Wow I totally forgot about that. I've been out of the loop for a while on some projects a few months ago. Glad this is still alive. :)

And there are no iPhone TI emulator yet. It will never happen in the appstore since it's against their rules, but I wouldn't be surprised if one day it was made for jailbreaked devices.
« Last Edit: February 19, 2012, 04:33:12 am by DJ_O »

Offline turiqwalrus

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 840
  • Rating: +51/-2
  • Wheeeeeee~!
    • View Profile
Re: Rott RPG Engine
« Reply #26 on: February 20, 2012, 08:35:23 am »
cool that this is still going :D
I can see this turning out really well...

Offline XVicarious

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 485
  • Rating: +45/-28
  • I F**king Love Twisty Puzzles
    • View Profile
    • XVicarious
Re: Rott RPG Engine
« Reply #27 on: March 07, 2012, 08:23:04 pm »
Sadly it has made no progress lately.  My TI-84+SE has three rows of dead pixels (barable) and refuses to connect to the computer to transfer files, and my Nspire's 84 emulator crashes and resets when I try to edit the programs.
Until I can get a new TI-84+SE, I can no longer continue this project.  I'd love to see someone maybe pick this project up either temporarily or permanently, because it would be nice.  If someone does, just email me (my email should be in my profile) and ill find the newest source I have (Idk, it may be sort of corrupted which might be why it crashes my nspire) and send it to you.  IT would still have to be open sourced though because of why I started this project in the first place (to make making an RPG more accessible to people who aren't great at programming, but still make it difficult enough so too many shit games get released :P).

Offline XVicarious

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 485
  • Rating: +45/-28
  • I F**king Love Twisty Puzzles
    • View Profile
    • XVicarious
Re: Rott RPG Engine
« Reply #28 on: July 22, 2012, 11:51:34 pm »
Wow.  It has been a LONG time since I posted here.  I actually got a renewed interest in this project and I started rewriting it from the ground up, KINDA.  I am using some code from the old version, but the tile mapper and movement engine will be completely overhauled using Output and the HOME screen instead of the pseudo ASCII Text Game it was before.
I hope to have a demo release of it out by Saturday, July 28th.  It will be compiled using Axe Fusion because it is only a demo release so you will need Axe installed.  The source will be included since it is an open sourced engine.
I hope you guys are still interested in this engine...  I hope to get more active in the community again, but it has been hard with work and well... Sleep.

Offline hellninjas

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 625
  • Rating: +17/-0
    • View Profile
Re: Rott RPG Engine
« Reply #29 on: September 16, 2012, 10:49:37 pm »
I'm still quite interested, and excited to see you still interested a bit as well. This project can definently be quite fun when it's finished. And from what i've read about making own chapters and such. If it gets finished, anyone playing the game could post they're own quests. I'm sure this will be great :D
( Unless it's already dead? ): )
« Last Edit: September 16, 2012, 10:49:56 pm by hellninjas »