Jump to content




[WIP] RPG Starter [0.7 Beta]Create YOUR RPG!


  • You cannot reply to this topic
9 replies to this topic

#1 LuaEclipser

  • Banned
  • 220 posts
  • LocationCleveland, Ohio

Posted 26 March 2013 - 01:08 PM

Posted Image

V0.7 Beta




ever wanted to make an rpg game, but not know how to start the game? well, this new Script By LuaEclipser does just that!


Change Log

Spoiler

Downloads

Spoiler


My First RELEASED program. give me any tips!



#2 momona5

  • Members
  • 14 posts

Posted 26 March 2013 - 04:46 PM

Error before anything even happens:
rpgstarter:46: attempt to call nil


#3 Tjakka5

  • Members
  • 256 posts

Posted 26 March 2013 - 09:06 PM

View Postmomona5, on 26 March 2013 - 04:46 PM, said:

Error before anything even happens:
rpgstarter:46: attempt to call nil

To fix that go to line 46 and change readComplete() to ReadComplete()

#4 LuaEclipser

  • Banned
  • 220 posts
  • LocationCleveland, Ohio

Posted 27 March 2013 - 03:10 PM

View PostTjakka5, on 26 March 2013 - 09:06 PM, said:

View Postmomona5, on 26 March 2013 - 04:46 PM, said:

Error before anything even happens:
rpgstarter:46: attempt to call nil

To fix that go to line 46 and change readComplete() to ReadComplete()
ThaNKS! I WILL FIX IT RIGHT AWAY!

#5 LuaEclipser

  • Banned
  • 220 posts
  • LocationCleveland, Ohio

Posted 27 March 2013 - 03:14 PM

Fixed!

V0.6 Beta 2 Release!

#6 Mikee251

  • Members
  • 73 posts

Posted 27 March 2013 - 03:24 PM

So wait, it is just a few lines of code with one health, and one gold variable? Even the header could be better. The w/2 is not the middle of the screen when you print the text.
The text offsets the center to the left 2. It would look better as
(w/2)-2 since it is a four letter word and half of that is two, that way it is truly centered. Or like I would do, create a function that gets the y point you want on the screen and the word and center it. such as,

function center(y,word)
local length = string.len(word)
local floored = math.floor(length)
term.setCursorPos((w/2)-floored,y)
term.write(word)
end

That way you can just call the function each time you want to center some text on the screen!
center(5,"Yay! I am centered now!") --sets the text on line 5 centered! Yay!
^ Like that

#7 Azhf

  • Members
  • 180 posts
  • LocationMurrika

Posted 27 March 2013 - 03:27 PM

Still not fixed.Got V0.6 Beta 2.

#8 LuaEclipser

  • Banned
  • 220 posts
  • LocationCleveland, Ohio

Posted 27 March 2013 - 04:51 PM

i do, wait, your right, i meant to do this
text = "bob"
term.setCursorPos(w/2 - #text/2, 1)


#9 LuaEclipser

  • Banned
  • 220 posts
  • LocationCleveland, Ohio

Posted 27 March 2013 - 04:54 PM

vo.7 TESTED!!!!!

i plan to make a GUI for easy creation

#10 nutcase84

  • Members
  • 711 posts
  • LocationIn My Lonely Little Computer Corner

Posted 28 March 2013 - 03:19 AM

This needs more info, and some screenies. No pics, no clicks.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users