Thread:SuperChato/@comment-22439-20140312000701/@comment-9531161-20140312011731

Those are two questions that can't be answered with just a block of code. It all depends on the type of game you're making, and there are way too many ways to do it. I can go over the general idea though:

Auto-equiping stuff requires some sort of collision detection (which can be done a number of ways) so that you know when the character goes over the weapon. You'll need to know what weapon it was, so you'll need to come up with a way to store the information. You'll also need to come up with a system for equipment. Make sure you can equip different weapons and stuff by "inserting" equipment before you attempt to equip it from the ground. For instance, you could test your equipment system by changing weapons on a button press.

Making a bullet move depends on how you want to handle bullets. If they're sprites, you need to use sprite collision (which is explained in many places on the internet. It's kind of long). You can either keep track of the bullet velocity, position, etc. by yourself, or you can let Petit Computer do it for you. One thing to think about is how many bullets you have on the screen. If you don't know how to process multiple bullets at a time, you might want to stick to one for now.

I'm sorry I can't give you a straight answer, but these questions are too open. I'm sorry.