forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Major lua help

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Lua Player Development
View previous topic :: View next topic  
Author Message
Master Inuyasha



Joined: 13 Nov 2005
Posts: 13

PostPosted: Sun Nov 13, 2005 10:03 am    Post subject: Major lua help Reply with quote

I dont know if you guys are friends over at PSPU, but i have gone to them with questions, and they have yet to answer me. So, I hope that you guys can help me! Now, I need to know how to create a bullet system. I already made it so that no matter where the plane is, the bullet will always apear to the front. But i need it to travel across the screen. I am making a game, which i will make a new topic some time from now, but I need this first. Also, if anyone out there, think they are an excelent coder, and can program an a.i. or help, the bullet system, or you can just code really well pm me!
Back to top
View user's profile Send private message
youresam



Joined: 06 Nov 2005
Posts: 87

PostPosted: Mon Nov 14, 2005 12:11 am    Post subject: Reply with quote

use a for command for a set # of objects

oh, and if you mean multiple bullets at 1 time, I've actually been wondering that for a while.
I mean, how do you have X number of objects AND collision detection....
Back to top
View user's profile Send private message AIM Address
Zenurb



Joined: 30 Sep 2005
Posts: 106
Location: United Kingdom

PostPosted: Mon Nov 14, 2005 12:26 am    Post subject: Reply with quote

youresam wrote:
use a for command for a set # of objects

oh, and if you mean multiple bullets at 1 time, I've actually been wondering that for a while.
I mean, how do you have X number of objects AND collision detection....


That's actually rather easy.

Keep the objects in an array or table, and have the collision tested every tick.
_________________
Proud Dvorak User
US 1.5 PSP (Original)
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Master Inuyasha



Joined: 13 Nov 2005
Posts: 13

PostPosted: Mon Nov 14, 2005 12:42 am    Post subject: Reply with quote

what do you mean a command for a set number of objects?
What is a command, i dont recall reading that.

And a table, how is that done?
Back to top
View user's profile Send private message
Zenurb



Joined: 30 Sep 2005
Posts: 106
Location: United Kingdom

PostPosted: Mon Nov 14, 2005 12:55 am    Post subject: Reply with quote

Master Inuyasha wrote:
what do you mean a command for a set number of objects?
What is a command, i dont recall reading that.

And a table, how is that done?


Do you know any programming languages at all? I would not reccomend Lua to beginners.
_________________
Proud Dvorak User
US 1.5 PSP (Original)
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Master Inuyasha



Joined: 13 Nov 2005
Posts: 13

PostPosted: Mon Nov 14, 2005 3:49 am    Post subject: Reply with quote

well, i learning, and i dont really care what you recommend, people have to start somewhere, am i right? Also, i know some javascript.
Back to top
View user's profile Send private message
KawaGeo



Joined: 27 Aug 2005
Posts: 191
Location: Calif Mountains

PostPosted: Mon Nov 14, 2005 4:26 am    Post subject: Reply with quote

If you really want to learn Lua programming, may I suggest to visit lua.org and lua-users.org websites. They have a loads of materials free to public.

Happy learning. :)
_________________
Geo Massar
Retired Engineer
Back to top
View user's profile Send private message Send e-mail
Master Inuyasha



Joined: 13 Nov 2005
Posts: 13

PostPosted: Mon Nov 14, 2005 8:31 am    Post subject: Reply with quote

thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Lua Player Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group