Search found 100 matches

by jradich
Fri May 11, 2012 2:19 am
Forum: Games and Creations
Topic: Pokemon
Replies: 17
Views: 10938

Pokemon

Ok so what I decided to make was a very simple version of the Pokemon battle system. There's no AI at the moment, and there is certainly a lot to be implemented, but I think it's a good start. Enjoy!
And excuse inappropriate names.
by jradich
Sat Apr 07, 2012 7:52 pm
Forum: Support and Development
Topic: Drawing help
Replies: 16
Views: 5243

Re: Drawing help

It's not doing anything because it "expects userdata" Did you use box.draw() or box:draw() ? Well, I moved it into floorcollide. But it still expects userdata Hey turtle. I'm this guy http://forum.stabyourself.net/memberlist.php?mode=viewprofile&u=159 . Explain the problem more. I thi...
by jradich
Sat Apr 07, 2012 7:41 pm
Forum: Games and Creations
Topic: The Crawler of Dungeons™ [!RENAMED! AND !REBORN!]
Replies: 89
Views: 52763

Re: Dungeon Crawler [SAVING DONE]

I am trying to add a death system: when you die or are killed the screen turns black and the words GAME OVER appear. Can anybody tell me how this is done. :huh: :cool: How about something like: player = { --Assigns stuff to player. 1(exept for background) is true, 0 is false grid_x = 256, grid_y = ...
by jradich
Fri Apr 06, 2012 9:45 pm
Forum: Support and Development
Topic: Separate .luas
Replies: 4
Views: 2268

Re: Separate .luas

Robin wrote:Check line three of main.lua:

Code: Select all

local boxes = {}
That local means you can't reach the variable from another .lua file.

Remove the word local, and it works fine.
Thanks.
by jradich
Fri Apr 06, 2012 6:53 pm
Forum: Support and Development
Topic: Separate .luas
Replies: 4
Views: 2268

Re: Separate .luas

mylittlep0nybroken.love
(15.35 KiB) Downloaded 199 times
oops by variables i meant .luas XD
But there ya go.
by jradich
Fri Apr 06, 2012 5:52 pm
Forum: Support and Development
Topic: Separate .luas
Replies: 4
Views: 2268

Separate .luas

main.lua require'anal' local boxes = {} function getRelativePositioning(ax1, ay1, aw, ah, bx1, by1, bw, bh) local ax2, ay2, bx2, by2 = ax1 + aw, ay1 + ah, bx1 + bw, by1 + bh local left, right, above, below = ax1 < bx1, ax2 > bx2, ay1 < by1, ay2 > by2 local inside = not (left or right or above or bel...
by jradich
Fri Apr 06, 2012 5:25 pm
Forum: Libraries and Tools
Topic: Physics with Pinkie Pie!!
Replies: 16
Views: 7719

Re: Physics with Pinkie Pie!!

josefnpat wrote:If you jump high enough, you can stand on the white box.
Isn't that the point of bounding box??
by jradich
Fri Apr 06, 2012 4:20 am
Forum: Games and Creations
Topic: Child of Winter
Replies: 33
Views: 18149

Re: Child of Winter

This is pretty good...
But it's got me thinking... Could I use your code to make a pokemon clone? ;)
by jradich
Fri Apr 06, 2012 3:54 am
Forum: Libraries and Tools
Topic: Physics with Pinkie Pie!!
Replies: 16
Views: 7719

Re: Physics with Pinkie Pie!!

Wow. I forgot about this. But lately I've been workin on this, so I am double-posting to (basically) bump this thread. As you can see, the progress has been HUGE. To simplify things a bit, I took out all that other stuff (for now). But it still has pinkie. New things: Collision Detection(bounding bo...
by jradich
Thu Apr 05, 2012 3:18 am
Forum: Support and Development
Topic: love.conf won't work?
Replies: 2
Views: 1844

Re: love.conf won't work?

put the love.conf or whatever in a file called conf.lua.