QJ.NET | Videos | Forums | iPhone | MMORPG | Nintendo DS | Wii | PlayStation 3 | PSP | Xbox 360 | PC | Downloads | Contact Us
Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact

QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides

Go Back   QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides > Developers Corner > PSP Development, Hacks, and Homebrew > PSP Development Forum
The above video goes away if you are a member and logged in, so log in now!

multiple pictures controlled by 1 button??

This is a discussion on multiple pictures controlled by 1 button?? within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; k i am using lua and i was wondering if anyone knows how to make it so your pictures can ...

Reply
 
LinkBack Thread Tools
Old 10-22-2005, 01:17 PM   #1

Developer
 
slicer4ever's Avatar
 
Join Date: Jul 2005
Location: everywhere
Posts: 3,357
Trader Feedback: 0
Talking multiple pictures controlled by 1 button??

k i am using lua and i was wondering if anyone knows how to make it so your pictures can move by the same button and at any point by p[ressing a button it goes back 1 and then if you click right it goes back to the picture and you can continue i hope you know what i mean
__________________
1. Failed....again...
2. http://slicer.gibbocool.com/ stay updated on all my projects
slicer4ever is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-22-2005, 02:16 PM   #2

Developer
 
Join Date: Jun 2005
Location: At my house...
Posts: 885
Trader Feedback: 0
Default

ya heres how u do it:

if pad:right() then x=x+1 x2=x2+1 end
if pad:left() then x=x-1 x2=x2-1 end
elseif pad:up() then y=y-1 y2=y2-1 end
if pad:down then y=y+1 y2=y2-1 end

screen:clear()
screen:blit(x, y, image)
screen:blit(x2, y2, image2)
screen.flip()
--You have to obviously load the images first and define them as a var like "image" and
--make a while loop
__________________
F.A.L.O?
Twenty 2 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-22-2005, 07:16 PM   #3

Developer
 
slicer4ever's Avatar
 
Join Date: Jul 2005
Location: everywhere
Posts: 3,357
Trader Feedback: 0
Talking

k thanks
__________________
1. Failed....again...
2. http://slicer.gibbocool.com/ stay updated on all my projects
slicer4ever is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
button , controlled , multiple , pictures

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -8. The time now is 07:32 PM.



Use of this Web site constitutes acceptance of the TERMS & CONDITIONS and PRIVACY POLICY
Copyright © 2009, QJ.NET. All Rights Reserved.
Contact Us