Zeige Ergebnis 331 bis 360 von 10238
Lua Programming Help Thread
This is a discussion on Lua Programming Help Thread within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; any one know how to rotate an image only 1 degree instead of 90?...
-
12-03-2005, 07:38 PM #331words are stones in my <3

- Registriert seit
- Jul 2005
- Ort
- Spokane
- Beiträge
- 5.008
- Points
- 35.274
- Level
- 100
- My Mood
-
- Downloads
- 1
- Uploads
- 0
any one know how to rotate an image only 1 degree instead of 90?

...at what speed must I live.. to be able to see you again?...
Projects
You can support my Open World 3D RPG for PSP by voting for it here
-
12-04-2005, 06:32 AM #332QJ Gamer Blue
- Registriert seit
- Jun 2005
- Beiträge
- 152
- Points
- 5.114
- Level
- 45
- Downloads
- 0
- Uploads
- 0
you'd have o do a math code i guess
Zitat von SG57
-
12-04-2005, 10:40 AM #333words are stones in my <3

- Registriert seit
- Jul 2005
- Ort
- Spokane
- Beiträge
- 5.008
- Points
- 35.274
- Level
- 100
- My Mood
-
- Downloads
- 1
- Uploads
- 0
well, iknow that but i think i might look at the 90degree one and tweak it a little bit but if u kno just tell me

...at what speed must I live.. to be able to see you again?...
Projects
You can support my Open World 3D RPG for PSP by voting for it here
-
12-04-2005, 12:18 PM #334QJ Gamer Blue
- Registriert seit
- Jun 2005
- Beiträge
- 152
- Points
- 5.114
- Level
- 45
- Downloads
- 0
- Uploads
- 0
if i knew, i would've told you, but i don't, sorry
Zitat von SG57
i don't really have the need to rotate pics
-
12-04-2005, 12:43 PM #335QJ Gamer Blue
- Registriert seit
- Jun 2005
- Beiträge
- 152
- Points
- 5.114
- Level
- 45
- Downloads
- 0
- Uploads
- 0
i got a sidescrolling bg, it's quite easy, and barriers don't seem to hard either, i'll make an example for ya
Zitat von c5cha7
-
12-04-2005, 04:28 PM #336
Since I wasn't able to figure out how to post my code here without getting an reply error, if anyone could assist me by looking at this thread at PSPLua and replying here to help me. Also if anyone has any sidescrolling demos, animation demos, especially with animating characters to jump with one command, run with another, and getting multiple functions like time to run while an animation is going, I would be eternally grateful!
http://psplua.com/modules/newbb/view...id=33&forum=18
-
12-05-2005, 01:45 PM #337
- Registriert seit
- Nov 2005
- Beiträge
- 34
- Points
- 4.437
- Level
- 42
- Downloads
- 0
- Uploads
- 0
how do i make the backgroud black please
-
12-05-2005, 03:47 PM #338QJ Gamer Blue
- Registriert seit
- Jun 2005
- Beiträge
- 152
- Points
- 5.114
- Level
- 45
- Downloads
- 0
- Uploads
- 0
screen:clear()
-
12-05-2005, 05:16 PM #339words are stones in my <3

- Registriert seit
- Jul 2005
- Ort
- Spokane
- Beiträge
- 5.008
- Points
- 35.274
- Level
- 100
- My Mood
-
- Downloads
- 1
- Uploads
- 0
better than making 60 pics with 1 degree diferent

...at what speed must I live.. to be able to see you again?...
Projects
You can support my Open World 3D RPG for PSP by voting for it here
-
12-05-2005, 06:07 PM #340QJ Gamer Blue
- Registriert seit
- Jun 2005
- Beiträge
- 152
- Points
- 5.114
- Level
- 45
- Downloads
- 0
- Uploads
- 0
true, real true
Zitat von SG57
-
12-06-2005, 07:25 PM #341words are stones in my <3

- Registriert seit
- Jul 2005
- Ort
- Spokane
- Beiträge
- 5.008
- Points
- 35.274
- Level
- 100
- My Mood
-
- Downloads
- 1
- Uploads
- 0
how do i load a file if my cursor goes over a certain pixel?

...at what speed must I live.. to be able to see you again?...
Projects
You can support my Open World 3D RPG for PSP by voting for it here
-
12-07-2005, 08:40 AM #342
Is there a way to control two cursors, one with the directional pads and one with the X, O, []... buttons at the same time so that you can play twoplayer stuff? And if so, can it be made using functions?
/Lingon =)
-
12-07-2005, 02:09 PM #343QJ Gamer Blue
- Registriert seit
- Jun 2005
- Beiträge
- 152
- Points
- 5.114
- Level
- 45
- Downloads
- 0
- Uploads
- 0
i believe that is possible
and sg57, i would help out with that, but i am not real sure how to do it
-
12-07-2005, 04:27 PM #344QJ Gamer Green
- Registriert seit
- Oct 2005
- Ort
- OMG where AM I!?!?!?!?
- Beiträge
- 820
- Points
- 6.374
- Level
- 52
- Downloads
- 0
- Uploads
- 0
alright so im making a little gmae just for me and my pals. I won't be sending it to pspu because the fact that its really noobish and sloppy and a bunch of other things. But anyway. I want to make a hidden bonus content kinda thing that will display pics when you press a button. I have the hidden key combo done and the button pushing thing done. My only thing is when you display the hidden content it doesn't let you exit. Ive tried everything from adding the whole break thing in it in diff places and nothing works. this is the snippet of code that im having trouble with:
spad = Controls.read()
if spad:l() and spad:r() and spad:down() and spad:select() then do
screen:clear()
screen
rint(10,130,"U figured it out. Enjoy!",green)
screen.flip()
if spad:start() then
break
end
while true do
mpad = Controls.read()
if mpad:cross() then
screen:clear()
screen:blit(0,0,bonusimg)
screen.flip()
screen.waitVblankStart()
end
if mpad:triangle() then
screen:clear()
screen:blit(0,0,bonusimg2 )
screen.flip()
screen.waitVblankStart()
end
if mpad:square() then
screen:clear()
screen:blit(0,0,bonusimg3 )
screen.flip()
screen.waitVblankStart()
end
if mpad:circle() then
screen:clear()
screen:blit(0,0,bonusimg4 )
screen.flip()
screen.waitVblankStart()
end
end
end
end
end[SPOILER="For PSP History"]1.50 > 1.52 > 2.00 > 1.5 > 1.5 (POC CF) > 1.5 (Harleyg) > 1.5 (Casual) > 3.03 OE-A > 3.03 OE-C[/SPOILER]
Check it out: [URL="http://youtube.com/watch?v=xNVPKM07TWs&mode=related&search="]Pen Spinning[/URL]
-
12-07-2005, 06:57 PM #345QJ Gamer Green
- Registriert seit
- Oct 2005
- Ort
- OMG where AM I!?!?!?!?
- Beiträge
- 820
- Points
- 6.374
- Level
- 52
- Downloads
- 0
- Uploads
- 0
Help please!
[SPOILER="For PSP History"]1.50 > 1.52 > 2.00 > 1.5 > 1.5 (POC CF) > 1.5 (Harleyg) > 1.5 (Casual) > 3.03 OE-A > 3.03 OE-C[/SPOILER]
Check it out: [URL="http://youtube.com/watch?v=xNVPKM07TWs&mode=related&search="]Pen Spinning[/URL]
-
12-07-2005, 08:22 PM #346Party at Las Noches!

- Registriert seit
- Jun 2005
- Ort
- Florida
- Beiträge
- 1.648
- Points
- 14.973
- Level
- 79
- Downloads
- 0
- Uploads
- 0
bonusimg = Image.load(" ")
bonusimg2 = Image.load(" ")
bonusimg3 = Image.load(" ")
bonusimg4 = Image.load(" ")
function start()
while true do
pad = Controls.read()
if pad:ltrigger() then
if pad:rtrigger() then
if pad:down() then
if pad:select() then
screen:clear()
screen.print(10,130,"U figured it out. Enjoy!",green)
screen.flip()
ending()
end
end
end
end
if pad:start() then
break
end
end
end
function ending()
while true do
pad = Controls.read()
if pad:cross() then
screen:clear()
screen:blit(0,0,bonusimg)
screen.waitVblankStart()
screen.flip()
end
if pad:triangle() then
screen:clear()
screen:blit(0,0,bonusimg2 )
screen.waitVblankStart()
screen.flip()
end
if pad:square() then
screen:clear()
screen:blit(0,0,bonusimg3 )
screen.waitVblankStart()
screen.flip()
end
if pad:circle() then
screen:clear()
screen:blit(0,0,bonusimg4 )
screen.waitVblankStart()
screen.flip()
end
end
end
-
12-08-2005, 05:54 AM #347
So how do I do that?
-
12-08-2005, 08:15 AM #348words are stones in my <3

- Registriert seit
- Jul 2005
- Ort
- Spokane
- Beiträge
- 5.008
- Points
- 35.274
- Level
- 100
- My Mood
-
- Downloads
- 1
- Uploads
- 0
take out the end function and just say while true do and controls.read cause end already has a function

...at what speed must I live.. to be able to see you again?...
Projects
You can support my Open World 3D RPG for PSP by voting for it here
-
12-08-2005, 03:12 PM #349QJ Gamer Green
- Registriert seit
- Oct 2005
- Ort
- OMG where AM I!?!?!?!?
- Beiträge
- 820
- Points
- 6.374
- Level
- 52
- Downloads
- 0
- Uploads
- 0
sorry IchigoKurosaki but your code didn't work. i figured it out. I had to put the
if spad:start() then
break
end
and the
if mpad:start() then
break
end
directly under the controls.read() function. I got it to work and its coming along. Thanks for trying tho guys!
[SPOILER="For PSP History"]1.50 > 1.52 > 2.00 > 1.5 > 1.5 (POC CF) > 1.5 (Harleyg) > 1.5 (Casual) > 3.03 OE-A > 3.03 OE-C[/SPOILER]
Check it out: [URL="http://youtube.com/watch?v=xNVPKM07TWs&mode=related&search="]Pen Spinning[/URL]
-
12-08-2005, 04:24 PM #350Party at Las Noches!

- Registriert seit
- Jun 2005
- Ort
- Florida
- Beiträge
- 1.648
- Points
- 14.973
- Level
- 79
- Downloads
- 0
- Uploads
- 0
*shrugs* whatever works for you :icon_bigg
Zitat von InhumanElmo
-
12-08-2005, 09:03 PM #351words are stones in my <3

- Registriert seit
- Jul 2005
- Ort
- Spokane
- Beiträge
- 5.008
- Points
- 35.274
- Level
- 100
- My Mood
-
- Downloads
- 1
- Uploads
- 0
any one have a file loading code that if my cursor goes over a certain spot, then it loads the file tht is tested?

...at what speed must I live.. to be able to see you again?...
Projects
You can support my Open World 3D RPG for PSP by voting for it here
-
12-09-2005, 09:27 AM #352
Sorry, but I dont really get ya there =(. How do you mean?
Zitat von SG57
-
12-09-2005, 06:33 PM #353words are stones in my <3

- Registriert seit
- Jul 2005
- Ort
- Spokane
- Beiträge
- 5.008
- Points
- 35.274
- Level
- 100
- My Mood
-
- Downloads
- 1
- Uploads
- 0
just get rid of ur functions cause u said 'start' and a function was named start

...at what speed must I live.. to be able to see you again?...
Projects
You can support my Open World 3D RPG for PSP by voting for it here
-
12-10-2005, 08:10 AM #354
Well, I suppose that would work but isn't there a way to run two functions at the same time? That would be much more usefull. =)
-
12-10-2005, 11:48 AM #355words are stones in my <3

- Registriert seit
- Jul 2005
- Ort
- Spokane
- Beiträge
- 5.008
- Points
- 35.274
- Level
- 100
- My Mood
-
- Downloads
- 1
- Uploads
- 0
well u didnt even use the function and i dont think a function can hold a loop

...at what speed must I live.. to be able to see you again?...
Projects
You can support my Open World 3D RPG for PSP by voting for it here
-
12-10-2005, 02:17 PM #356
Was that message for me? If so, where did I say 'start'?
Zitat von SG57
-
12-12-2005, 12:01 AM #357words are stones in my <3

- Registriert seit
- Jul 2005
- Ort
- Spokane
- Beiträge
- 5.008
- Points
- 35.274
- Level
- 100
- My Mood
-
- Downloads
- 1
- Uploads
- 0
no my mix up but i did make a dual cursor script that works ill send it to u when i get the chance

...at what speed must I live.. to be able to see you again?...
Projects
You can support my Open World 3D RPG for PSP by voting for it here
-
12-12-2005, 03:02 AM #358Party at Las Noches!

- Registriert seit
- Jun 2005
- Ort
- Florida
- Beiträge
- 1.648
- Points
- 14.973
- Level
- 79
- Downloads
- 0
- Uploads
- 0
A function can hold a loop i just perfer to split up my games into functions even if i don't use the function it's just more organized. I guess if you want you could have them all under If Statements, but then it starts to look crowded and messy. :icon_wink
Zitat von SG57
-
12-12-2005, 05:39 AM #359
Yeah, that'd be great. I'll watch and learn. =) If ya want I think you can attach it to a post in this thread.
Zitat von SG57
-
12-12-2005, 09:54 AM #360words are stones in my <3

- Registriert seit
- Jul 2005
- Ort
- Spokane
- Beiträge
- 5.008
- Points
- 35.274
- Level
- 100
- My Mood
-
- Downloads
- 1
- Uploads
- 0
well my comp is broken and i cant get a new one til christmas

...at what speed must I live.. to be able to see you again?...
Projects
You can support my Open World 3D RPG for PSP by voting for it here


LinkBack URL
About LinkBacks
Mit Zitat antworten

Hello everyone I am new here and I am glad to be part of this amazing community and I think there...
New to forum