![]() |
| Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact |
| ||||||
This is a discussion on [Release] GuitarGod's position finder within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; Ok first off this is not a game so dont reply to me any complaints. This is mainly for devs ...
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 |
![]() Ponies and Unicorns
|
Ok first off this is not a game so dont reply to me any complaints.
This is mainly for devs who are developing games and want to print things to the screen or blit things like that bla bla. What it does is you have a little green dot and you can move it anywhere on the screen. The x and y coordinates will be displayed on the screen. There are no extra files so just take the folder Position Finder and pop it in the lua applications folder. And run it. Im pretty sure the x coordinate is the width and the y is the height so if I am right lol The height is printed on the top and the width is printed below that. Like I said i find this very useful to devs and stuff but if you dont like it thats cool just thought Id put something out to help the devs lol. Ummm what else to say... O idk if this works with the psp but it ran perfectly on windows lua player so I guess it should work. Also if it doesnt work your all devs so im sure you can fine the problem lol EDIT: Yah um.. Snake.lua was thrown in there thats a long story im pretty sure thats the same .lua file as the index.lua so u can just ignore it.
__________________
If you play WoW come find me on DOOMHAMMER (US) I am Human mage lvl 64 Atrana is the name (dont ask for runs!) Gold donations are highly appreciated! Last edited by GuitarGod1134; 12-02-2006 at 03:16 PM.. |
|
|
|
|
|
#6 |
![]() ![]() QJ Gamer Gold
|
do you use joystick or pad control? sorry havent looked at it as it's something that would only take 5 seconds to write up for me even then all you have to do is open up paint and expand the window to 480 x 272 and it well tll you your x/y cood
__________________
1. Failed....again... 2. http://slicer.gibbocool.com/ stay updated on all my projects |
|
|
|
|
|
#7 |
![]() |
Hmm, im gonna write my own right now.
Code:
green = Color.new(0,255,0)
dot = { x = 0, y = 0, i = Image.createEmpty(1,1))
dot.i:clear()
while true do
pad = Controls.read()
screen:clear()
if pad:up() and dot.y > 0 then dot.y = dot.y - 1 end
if pad:down() and dot.y > 271 then dot.y = dot.y + 1 end
if pad:left() and dot.x > 0 then dot.x = dot.x - 1 end
if pad:right() and dot.x > 479 then dot.x = dot.x + 1 end
screen:blit(dot.x,dot.y,dot.i)
screen:print(0,0,"X: "..dot.x,green)
screen:print(0,10,"Y: "..dot.y,green)
screen.waitVblankStart()
screen.flip()
end
|
|
|
|
|
|
#8 |
![]() Ponies and Unicorns
|
its pad control. and ya i know it only took me like 5 min but i thought it was useful so i shared it im not expecting a grammy or anything. but when im writing my game it sucks to know that i have no idea where 111, 56 is only a rough estimate so i thought this was just a little helpful.
|
|
|
|
|
|
#11 |
![]() ![]() QJ Gamer Gold
|
if you could add in something where the person could load in images and set them up where he wants that would be 10 times more helpful
edit: also tatical isn't it < 271 not greater? same with > 479 |
|
|
|
|
|
#12 |
![]() |
Yea and you used 2 tables instead of one, had the text a different color, and didnt indicate which was which.
-= Double Post =- Slicer - I just finished making a file browser today, I could do something like that if i wanted to, but i dont want to.
Last edited by -TacticalPaper-; 11-25-2006 at 03:37 PM.. Reason: Automerged Doublepost |
|
|
|
|
|
#14 | |
![]() Ponies and Unicorns
|
Quote:
![]() Bla one more thing yah i had the text a dif color then the dot so that if you wanted the coordinates on the text then you could tell where the dot was. |
|
|
|
|
|
|
#16 |
![]() ![]() Your Fate is Grim...
|
wow. its amazing how desperate people are to just release something. no offense, but it takes less time to make this then to actually download your script.
__________________
-------------------------------------------------------------------------------------- ![]() |
|
|
|
|
|
#17 | |
![]() |
Quote:
__________________
[CENTER][SIZE="1"][1 Year QJ Member] [COLOR="Sienna"][LUA Coder and C Learner][/COLOR] [URL="http://dl.qj.net/Ball-Revamped-Clone-v.1-PSP-Homebrew-Games/pg/12/fid/15231/catid/195"] [COLOR="SlateGray"][Ball Revamped Clone v0.1][/COLOR] [/URL] [URL="http://dl.qj.net/Phil-s-Shooting-Range-v0.3-PSP-Homebrew-Games/pg/12/fid/11542/catid/194"] [COLOR="SlateGray"][Phil's Shooting Range v0.3][/COLOR] [/URL] [URL="http://dl.qj.net/Organization-Apps/pg/12/fid/14248/catid/190"][COLOR="SlateGray"][HideFile PRX v2][/COLOR][/URL] [URL="http://dl.qj.net/SSR-PRX-v1.1-PSP-Homebrew-Applications/pg/12/fid/14725/catid/151"][COLOR="SlateGray"][SSR PRX v1.1][/COLOR][/URL] [/SIZE][/CENTER] |
|
|
|
|
|
|
#19 | |
![]() ![]() QJ Gamer Gold
|
Quote:
|
|
|
|
|
|
|
#21 | |
![]() |
Quote:
Code:
green = Color.new(0,255,0)
dot = { x = 0, y = 0, i = Image.createEmpty(1,1) }
dot.i:clear(green)
while true do
pad = Controls.read()
screen:clear()
if pad:up() and dot.y > 0 then dot.y = dot.y - 1 end
if pad:down() and dot.y < 272 then dot.y = dot.y + 1 end
if pad:left() and dot.x > 0 then dot.x = dot.x - 1 end
if pad:right() and dot.x < 480 then dot.x = dot.x + 1 end
screen:blit(dot.x,dot.y,dot.i)
screen:print(0,0,"X: "..dot.x,green)
screen:print(0,10,"Y: "..dot.y,green)
screen.waitVblankStart()
screen.flip()
end
![]() |
|
|
|
|
![]() |
| Tags |
| finder , guitargod , position , release |
| Thread Tools | |
|
|