Search found 88 matches

by sanjiv
Sun Mar 11, 2012 10:58 pm
Forum: Support and Development
Topic: collision detection in MegaMan (1 tactic)
Replies: 1
Views: 1947

collision detection in MegaMan (1 tactic)

I'm a newb making a mega man game. Here's my current strategy for collision detection, and I need advice on (1) its effectiveness, (2) how to implement it. But first, I'll quickly talk about enemy re-spawning. Enemies re-spawn every time their spawn position comes into view. So I assume that the gam...
by sanjiv
Sun Mar 11, 2012 10:38 pm
Forum: Support and Development
Topic: crowd sourced game - organizing files and objects
Replies: 22
Views: 14817

crowd sourced game - organizing files and objects

I'm part of a small group of newbies who want to create a Mega Man style game. Or rather, we want to create lots and lots of MM-style games to cultivate the skill in the community, and put into practice a lot of the stuff the community, until now, have only talked about. The idea was to implement an...
by sanjiv
Mon Mar 05, 2012 5:03 am
Forum: Support and Development
Topic: Opening .lua files
Replies: 19
Views: 7472

Re: Opening .lua files

So if I don't put things specifically into load() (or some other, callable function), then they'll exist around forever as global variables, cluttering up memory?
by sanjiv
Mon Mar 05, 2012 4:53 am
Forum: Libraries and Tools
Topic: Video Tutorials!
Replies: 39
Views: 15609

Re: Video Tutorials!

Thanks for the advice a few posts up! 'requiring' stuff from other files has really made it easier for me to keep track of what I'm doing. A new thing that's bugging me is that I've never really gotten a handle on the whole self.something that comes up a lot in tutorials. What does it mean? Right no...
by sanjiv
Mon Mar 05, 2012 4:46 am
Forum: Support and Development
Topic: Opening .lua files
Replies: 19
Views: 7472

Re: Opening .lua files

another question: Let's say I start a main.lua with require 'needed file.' Now let's go to that required file. There, I've gotten into the habit of creating a need.Load(), a need.Draw(), and a need.update(), and I load them in the obvious place in main.lua. My question is about the need.Load(). What...
by sanjiv
Sun Mar 04, 2012 10:30 pm
Forum: General
Topic: Avatars: OBEY!
Replies: 763
Views: 1015314

Re: News

There's nothing to "get". ^.^ Just ... OBEY. Get it? I just thought it would be funny if all the avatars on every page said "OBEY" (OBEY, OBEY, OBEY). New users will be all liek "ZOMFG, why do all the avatars say `OBEY`lol". It will be funny. Some day ... ZOMFG, I'm a ...
by sanjiv
Sun Mar 04, 2012 7:45 am
Forum: Support and Development
Topic: Opening .lua files
Replies: 19
Views: 7472

Re: Opening .lua files

Follow up question: How do I 'require' files that are nested within folders? I've successfully used 'require' to call other lua files outside my main, but then I'm running into problems when I try to organize those files into folders. For example, I've been able to require ('cyberGrid.lua'), but hav...
by sanjiv
Mon Feb 27, 2012 5:31 am
Forum: Libraries and Tools
Topic: Video Tutorials!
Replies: 39
Views: 15609

Re: Video Tutorials!

I'm a brand new user, and my goal is eventually to help my community build a mega-man style game. The tutorials on the Wiki are great, but one needs better advice on which ones to tackle first. Perhaps you might devote one episode to helping newbies navigate the community, or the online resources. T...