Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Jonius7

Pages: 1 ... 5 6 [7] 8 9 ... 129
91
Miscellaneous / Re: My Little Pony: Friendship is Magic
« on: August 04, 2013, 10:09:07 am »
Oh right, the relevance of these posts!
I almost watched MLP the other day, when the topic spilled into the So what is Everyone Up to Thread. The furthest I got was looking up some MLP pictures. No, not yet.

http://ourl.ca/13506

92
TI-Nspire / Re: [C] Rainbow Dash Cloud Attack
« on: August 04, 2013, 10:05:17 am »
That looks like some nice animations with the kicking. Will definitely appeal to MLP Fans :).
Also why is the max points 25500?

93
Lua / Re: Lua Q&A
« on: August 04, 2013, 09:53:03 am »
@adriweb: Yeah I've seen it, I understand the actual definition even less. Sorry.
http://ourl.ca/11717/354363

@Levak: Yeah I don't know what I was going on back there.  We were looking at
foo = Foo()
and
Bar = class(Foo)

94
Lua / Re: Lua Q&A
« on: August 01, 2013, 09:24:37 am »
Ah thank you, this helps. Thanks for the help in explaining self, my head is still flipping from the uses of . and : but now I've understood the concepts, the stuff previously said makes more sense now.

Code: [Select]
Bar = class(Foo)
So this will also call Foo:init() after it assigns the table of Bar? That's interesting.

95
Lua / Re: Lua Q&A
« on: July 31, 2013, 07:52:10 am »
Ah, I'm making stupid mistakes again, I go back and look at it again and see that that line is within the function BallClass:init(x, y, radius)

Oh of course, I get what ipairs is now. Takes all the indices in numbered order (ones that can be ordered anyway), and has the indicies and keys from the table in pairs. Ok.

Oh wow I didn't know that _ could be used as a variable. Kinda like a wild card. Is it?
Spoiler For This question isn't so important, the more pressing stuff is below:
so can _ be used mixed like how you would search using * in other languages
Eg: you have variables bark, bork, berk
can you look for b_rk somehow?

Quote
":" is just a shortcut for a.b(self)
So PointClass:init(x, y) is a shortcut for PointClass.init(PointClass, x, y)
How does that translate to something in a table?

I'm trying to work through in my mind the connections between all this stuff, and I still don't quite get it. I even drew a diagram, draft version, probably some mistake in there ;).
To describe what i'm not getting, it's the syntax that's getting me. I'm having trouble understanding the meaning of certain parts of the syntax lua classes use.

96
Humour and Jokes / Re: This is amazing
« on: July 31, 2013, 07:00:14 am »
I saw the post text in the topic list by using tapatalk, so I knew it was an autoplay vid, then couldn't see the vid, so I knew something was fishy. Rickroll, right? :P
I had just read down to the exact word 'fishy' when the video loaded and began spurting noise through my earphones.

Ah, the timing...

97
Humour and Jokes / Re: 9001 signs you're addicted to calcs and Omni
« on: July 31, 2013, 06:56:04 am »
5464: You compile your .lua script with Luna with a handmade batch file
5465: You edited your batch file so that it would allow user input for the version number in the filename, but fill in the rest for you
5466: You 'spam' click on this .bat file to compile your .lua code every 5 minutes in bursts of 3+
5467: You end up using Alt + D in the emulator for a quick shortcut to open the file
5468: You wish you had TINCS full license so it would be slightly easier
5469: You say to yourself, stop complaining, it's hard programming work
5470: You wish you had a CX, instead of a crappy clickpad with depleting batteries

98
Miscellaneous / Re: So what is everyone up to?
« on: July 31, 2013, 06:47:05 am »
There are in total for generations of MLP, only gen 4, MLP:FIM which launched 2010 is so popular :)

Yeah, seeing as MLP as a long history, here's the cover of the game I was talking about, going all the way back to 1998! (Wow, some old games I must have to be advertising that stuff): http://i2.listal.com/image/618415/600full-my-little-pony-friendship-gardens-cover.jpg

Goddamn, now I feel like watching MLP :o

Hmm I was thinking later it might be that. I guess whenever Zelda is mentioned, I'm not the only one who thinks about game consoles. Then I remember Total War is a big RTS game series (one which I would like to get into), but I've been spending too much time on other strategy game series such as Sid Meier's Civilization. :) ;) :)

If there ever is a time to get into Total War, now is definitely it. Rome II: Total War is releasing in September. There's very high expectations for it, since the original Rome: Total War is perhaps the most popular in the series. (Despite all the best mods being for Medieval II and Empire/Napoleon Total Wars)

That sounds great! I only heard of Total War possibly 2 years ago, when I saw a screenshot of huge armies, and I was like what is that game? Looks like an epic RTS. Well I'll see what I can do about trying some Total War stuff, but I'm still addicted to Civilization IV :o

99
TI-Nspire / Re: nTxt - Nspire Text Editor
« on: July 31, 2013, 06:30:08 am »
Hello Mr. Nick, welcome to Omnimaga! You can introduce yourself here and start a new topic: http://www.omnimaga.org/index.php?board=10.0

Also this program isn't DJ Omnimaga's, the creator is lkj, as said on the first post.
Enjoy Omnimaga!

100
TI-Nspire / Re: Jens' Script Editor - An on-calc lua editor
« on: July 31, 2013, 06:16:01 am »
Wow in the last few days, progress went from fast to supersonic!
Only one little thing, when you indent your code, and then backspace it, it comes out as backspacing spaces instead of an indent.
Also, how do you scroll down the info in the API guide?

101
Lua / Re: Lua Q&A
« on: July 30, 2013, 08:44:06 am »
Code: [Select]
PointClass.init(self, x, y)

What does the first argument (self) represent in relation to PointClass?
as compared to
Code: [Select]
PointClass:init(x, y)

Code: [Select]
for _, ball in ipairs(ball_tbl) do
I'm not 100% what in ipairs means as I've never had to use it. Also what does for _ mean? I'm more used to something like for x=sample, sample+9 do.

I know I'm getting closer to understanding everything...

102
Lua / Re: Lua Q&A
« on: July 29, 2013, 06:28:24 pm »
Code: [Select]
Ball = class()
Yeah I meant that as well, I forgot about that capitalised in that post. I already had these conventions in my current Lua project. Oops.

Also with instances of the classes, what if you want many instances using the same class,like at least 10? I've thought about using a table/list/array. Then I could call them by just referencing a particular value within the table.
Eg, using the function Ball:init(arg1, arg2)
Like this?
Code: [Select]
ballarray = {{3,4},{6,10},{4,11}...}


Code: [Select]
self.speed = spd
So this is not valid? does it have to be self.speed = speed, or self.speed = 0[a number], or self.speed = {}
EDIT: Oh I see the self.speed has to match the arguments.

function ball:init(speed, size)
   self.speed = speed
   self.size = size

I thought assigning any variable with a valid name would do ok...

Also thanks mannuri for explaining var.store() and math.eval()

103
Miscellaneous / Re: So what is everyone up to?
« on: July 29, 2013, 06:17:07 pm »
We are calc coders, aka underground guys that nopony cares about so Hasbro probably won't ever notice us. :P
The world hardly knows about us. I was programming some Lua (on my secret project!) while on the train the other day, one of my friends noticed the long bytes for images and asked can't you just embed the image into the Lua program. I had no other explanation as he thought I was coding for PC so I told him it was for calculator, at the same time bringing up the kArmTI emulator. He mostly had no idea what I was really doing,

How would an MLP game work without the ponies. Actually I remember on the inside cover of one of my really old CD-ROM games there was an assortment of game covers including one of MLP, though the ponies looked quite different.

104
Lua / Re: Lua Q&A
« on: July 29, 2013, 08:45:42 am »
Quote from: mannuri
edit 2:
FINNALY!!!, i made it!
i just need var.store() all vars and its done.

Thank you guys i love you all!!
so var.store() solves the problem?
I wonder how it does that...


Code: [Select]
yi=math.eval("nSolve(fl=fr,yi)")
I was thinking this line might not work, but on second thought, it looks all right.


Also more questions
Also in my previous post, I made a mistake, class shouldn't be capitalised, should all be lower case, so that was wrong.
So clarification,

Code: [Select]
ball = class() -- creates a class called ball using the class function that is predefined
function ball:init(speed, size) -- initialises the class, it can be called by just ball() elsewhere in the code
   self.speed = spd -- these are added to the table, ball?
   self.size = size
end

105
Miscellaneous / Re: So what is everyone up to?
« on: July 29, 2013, 04:24:19 am »
Uh, did you post the 'right' reply in the wrong topic?
Or he was talking about "Hyrule: Total War", asking if that was a ROM hack or something.
Hmm I was thinking later it might be that. I guess whenever Zelda is mentioned, I'm not the only one who thinks about game consoles. Then I remember Total War is a big RTS game series (one which I would like to get into), but I've been spending too much time on other strategy game series such as Sid Meier's Civilization. :) ;) :)

Pages: 1 ... 5 6 [7] 8 9 ... 129