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!

[Release] GuitarGod's position finder

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 ...

Reply
 
LinkBack Thread Tools
Old 11-25-2006, 04:13 PM   #1
Ponies and Unicorns
 
GuitarGod1134's Avatar
 
Join Date: Aug 2006
Location: Pelennor Fields
Posts: 547
Trader Feedback: 0
Default [Release] GuitarGod's position finder

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 04:16 PM..
GuitarGod1134 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-25-2006, 04:14 PM   #2

lol
 
Anti-QuickJay's Avatar
 
Join Date: Aug 2006
Real First Name: Robert
Location: Whittier, CA
Just Played: Madden 10
Posts: 5,791
Trader Feedback: 0
Default

...
Anti-QuickJay is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-25-2006, 04:15 PM   #3
 
Join Date: Jul 2006
Location: NorCal
Posts: 24,900
Trader Feedback: 0
Default

It seems useful to me.
__________________
If you ever need me, you can contact me at [URL="**********.net"]**********.net.[/URL]
Adiuvo is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-25-2006, 04:15 PM   #4
Ponies and Unicorns
 
GuitarGod1134's Avatar
 
Join Date: Aug 2006
Location: Pelennor Fields
Posts: 547
Trader Feedback: 0
Default

O and just ignore snake.lua i think its the same thing/
EDIt : ya like i said i think its useful but if u dont thats cool
__________________
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!
GuitarGod1134 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-25-2006, 04:17 PM   #5

lol
 
Anti-QuickJay's Avatar
 
Join Date: Aug 2006
Real First Name: Robert
Location: Whittier, CA
Just Played: Madden 10
Posts: 5,791
Trader Feedback: 0
Default

It doesnt seem very useful for me, But dont get me wrong, It can be useful for others.
Anti-QuickJay is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-25-2006, 04:26 PM   #6

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

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
slicer4ever is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-25-2006, 04:32 PM   #7
 
Join Date: Aug 2006
Posts: 1,633
Trader Feedback: 0
Default

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
I wonder how similar our codes are.....
TacticalPenguin is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-25-2006, 04:33 PM   #8
Ponies and Unicorns
 
GuitarGod1134's Avatar
 
Join Date: Aug 2006
Location: Pelennor Fields
Posts: 547
Trader Feedback: 0
Default

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.
__________________
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!
GuitarGod1134 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-25-2006, 04:35 PM   #9

lol
 
Anti-QuickJay's Avatar
 
Join Date: Aug 2006
Real First Name: Robert
Location: Whittier, CA
Just Played: Madden 10
Posts: 5,791
Trader Feedback: 0
Default

As mentioned before, Just open up paint, It will give you the coordinates.
Anti-QuickJay is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-25-2006, 04:35 PM   #10
Ponies and Unicorns
 
GuitarGod1134's Avatar
 
Join Date: Aug 2006
Location: Pelennor Fields
Posts: 547
Trader Feedback: 0
Default

hey tactical we used the same variable dot to create a 1 pixel by 1 pixel image. and i used tables to its not really that similar.
__________________
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!
GuitarGod1134 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-25-2006, 04:36 PM   #11

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

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
__________________
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 11-25-2006, 04:37 PM   #12
 
Join Date: Aug 2006
Posts: 1,633
Trader Feedback: 0
Default

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 04:37 PM.. Reason: Automerged Doublepost
TacticalPenguin is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-25-2006, 04:39 PM   #13

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

jeez get my hopes up y don't u?
__________________
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 11-25-2006, 04:43 PM   #14
Ponies and Unicorns
 
GuitarGod1134's Avatar
 
Join Date: Aug 2006
Location: Pelennor Fields
Posts: 547
Trader Feedback: 0
Default

Quote:
Originally Posted by -TacticalPaper-
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.
wasnt really planning on anyone looking at the source wasnt even planing on anyone downloading this i just thought it was useful and im not gonna make any version 0.2's or anything im working on another game and this very simple app just helped me a little thats why i made it thought it would help others. and now i have done enough chatting on these boards and code writing for today im gonna go play guitar.

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.
__________________
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!
GuitarGod1134 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-25-2006, 06:54 PM   #15
 
the undead's Avatar
 
Join Date: Sep 2006
Location: 6ft. Down Underground........Oh and guess what my avatar is
Posts: 387
Trader Feedback: 0
Default

wow dude, thanks this is really usefull!.....I just got done using it
the undead is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-25-2006, 07:06 PM   #16

Your Fate is Grim...
 
Grimfate126's Avatar
 
Join Date: Oct 2005
Posts: 2,269
Trader Feedback: 0
Default

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.
__________________
--------------------------------------------------------------------------------------
Grimfate126 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-26-2006, 02:33 AM   #17
 
myschoo's Avatar
 
Join Date: Jul 2006
Location: Middle Europe
Posts: 1,281
Trader Feedback: 0
Default

Quote:
Originally Posted by -TacticalPaper-
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
I wonder how similar our codes are.....
now it should work
__________________
[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]
myschoo is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-26-2006, 06:23 AM   #18
 
Join Date: Aug 2006
Posts: 1,633
Trader Feedback: 0
Default

Oh yea i forgot that that was a table, im used to having to use double parenthesis only when im doing screenrint and being to lazy to define a color. I make DER mistakes a lot......
TacticalPenguin is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-26-2006, 08:42 AM   #19

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

Quote:
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 < 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,d ot.i)
screenrint(0,0,"X: "..dot.x,green)
screenrint(0,10,"Y: "..dot.y,green)
screen.waitVblankStart()
screen.flip()
end
now it well work
__________________
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 11-26-2006, 08:46 AM   #20
 
Siouxsie's Avatar
 
Join Date: Apr 2006
Location: York, UK.
Posts: 4,224
Trader Feedback: 0
Default

You need to click "Disable smilies in this post" if you're going to post code tbh.
__________________
-=Images are for Premium members only=-
Siouxsie is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-26-2006, 08:55 AM   #21
 
myschoo's Avatar
 
Join Date: Jul 2006
Location: Middle Europe
Posts: 1,281
Trader Feedback: 0
Default

Quote:
Originally Posted by slicer4ever
now it well work
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
now u can actually see the dot
__________________
[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]
myschoo is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-26-2006, 02:28 PM   #22

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

ok there a fully functional position finder that doesn't even have to be dl'ed just copy it to notepad rename it as a .lua and your done
__________________
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
finder , guitargod , position , release

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 01:40 PM.



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