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!

Need help on a new app, never created before.

This is a discussion on Need help on a new app, never created before. within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; You guys all know the Bonjour 1.0 program for PSP. I AM MAKING A PSP APP. Well I want to ...

Reply
 
LinkBack Thread Tools
Old 09-27-2007, 03:10 PM   #1
Enter Custom Title
 
Sullivan's Avatar
 
Join Date: Feb 2007
Location: Houston, Texas
Posts: 3,349
Trader Feedback: 0
Default Need help on a new app, never created before.

You guys all know the Bonjour 1.0 program for PSP.

I AM MAKING A PSP APP.
Well I want to make something like that but I need some serious help,
I don't know where to start, I have been reading many lua tutorials and know quite a lot. I am not just someone who wants to make something but doesn't even know how to program. I don't know C, C+, C++. I know a little lua. I am making a sound board of a funny comedy. I have always wanted to make a soundboard of this person but I will not tell anyone who the guy is till this is released. I want to code this somewhat on my own, so if anyone can show me some snippets on loading an MP3 when selected and loading Images for backgrounds in lua that would be great. Thanks guys!
__________________

PSN: TrueDef
AIM: TrueDef91
Prestige 7 On COD4

Last edited by Sullivan; 09-27-2007 at 03:36 PM..
Sullivan is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-27-2007, 03:24 PM   #2

 
Test30's Avatar
 
Join Date: Apr 2007
Posts: 107
Trader Feedback: 0
Default

you want learn LUA or C ?
Test30 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-27-2007, 03:30 PM   #3
 
Join Date: Jul 2007
Posts: 296
Trader Feedback: 0
Default

I'm a C+ expert. Ask away.
_dysfunctional is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-27-2007, 03:35 PM   #4
Enter Custom Title
 
Sullivan's Avatar
 
Join Date: Feb 2007
Location: Houston, Texas
Posts: 3,349
Trader Feedback: 0
Default

No No, NO. I don't want to learn anything. I already know some programming. I would like some snippets for the things I put in my 1st post. Its a PSP app not a PC app, just to let you guys now... lol
__________________

PSN: TrueDef
AIM: TrueDef91
Prestige 7 On COD4
Sullivan is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-27-2007, 03:37 PM   #5
 
Join Date: Feb 2007
Posts: 44
Trader Feedback: 0
Default

Quote:
Originally Posted by _dysfunctional
I'm a C+ expert. Ask away.
Hey im not the guy who started this post but i have a question. I want to learn C where is the best place to start. I know alot about other aspects of computers and tech. but next to nothing when it comes to programming. The most i know is writing "if" "else" statements that i use to pull variable text in progams at work. Where do i start should i maybe read an ebook or other book on learning to code?
dlaub25 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-27-2007, 03:39 PM   #6

 
Test30's Avatar
 
Join Date: Apr 2007
Posts: 107
Trader Feedback: 0
Default

you want learn load background in png in the aplication in C for PSP ?

I can help in this part but in C

I no have idea of Lua
Test30 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-27-2007, 04:03 PM   #7

Developer
 
Join Date: Aug 2007
Location: Australia
Posts: 657
Trader Feedback: 0
Default

if you wannt to load a background just do:

Code:
background = Image.load("background.jpg")

screen:blit(0, 0, background, false)
end
easy

and for sounds
Code:
sound = Sound.load("sound.wav")

pad = Controls.read() 

while true do
if pad:cross then
sound:play()
end
end
thats if you want to play a sound when X is pressed
Xsjado7 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-27-2007, 04:17 PM   #8
Enter Custom Title
 
Sullivan's Avatar
 
Join Date: Feb 2007
Location: Houston, Texas
Posts: 3,349
Trader Feedback: 0
Default

Quote:
Originally Posted by Xsjado7
if you wannt to load a background just do:

and for sounds
Code:
sound = Sound.load("sound.wav")

pad = Controls.read() 

while true do
if pad:cross then
sound:play()
end
end
thats if you want to play a sound when X is pressed
So can I put a list of that code and have multiple sounds and have the user move to th esound that they want by the d pad?
__________________

PSN: TrueDef
AIM: TrueDef91
Prestige 7 On COD4
Sullivan is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-27-2007, 11:49 PM   #9

Developer
 
placo23's Avatar
 
Join Date: Aug 2007
Posts: 726
Trader Feedback: 0
Default

Wel I believe that eing the Bonjour V1.0 developer I can give you help. I'll send you later some snippets in here, but basically, have a look a the OSLib Library (Old School Library). Most of the graphical things I'm using were done with OSLib.

I can hep you with Lua too, though my kind of speciallity is C.

Cheers
__________________
Placo23

Spoiler for Wanna see my Apps?:
Why not donate and become part of this selected list?
Spoiler for Donators:
DarkSeveN - 5.100.000
--DylanDangles--2.000.000
Zuiver - 100.000
AlwaysAmiYumi - 10.338.63
placo23 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-28-2007, 12:46 AM   #10
 
Join Date: Sep 2006
Posts: 115
Trader Feedback: 0
Default

Code:
sound = Sound.load("sound.wav")

pad = Controls.read() 

while true do
if pad:cross then
sound:play()
end
end
that will cause you trouble with play back

Code:
sound = Sound.load("sound.wav",false)

pad = Controls.read() 

while true do
if pad:cross then
sound:play()
end
end
that will work for you
lmtlmt is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-28-2007, 01:32 AM   #11

.info
 
Yongobongo's Avatar
 
Join Date: Jun 2006
Location: ACT, Australia
Posts: 1,674
Trader Feedback: 0
Default

Quote:
Originally Posted by Sullivan
So if anyone can show me some snippets on loading an MP3 when selected and loading Images for backgrounds in lua that would be great. Thanks guys!
For an mp3, you need either a luaplayer library that supports it or the cools luaplayer mod 3 or 4 (both can load Mp3s):
Code:
song = Mp3.load("song.mp3")
Mp3.play()
For a background its just a normal image load..
Code:
bg = Image.load("bg.png")
screen:blit(0,0,bg)
Hope that helps.
__________________

http://www.yongobongo.com
PSN - yongobongo

Last edited by Yongobongo; 09-28-2007 at 07:50 PM..
Yongobongo is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-28-2007, 05:03 PM   #12
Enter Custom Title
 
Sullivan's Avatar
 
Join Date: Feb 2007
Location: Houston, Texas
Posts: 3,349
Trader Feedback: 0
Default

Yes that helps quite a bit, but I have just started learning LUA a couple weeks ago, but its really hard for me to learn TWO languages at the same time. I am currently learning Java in my Computer Science calss in 11th grade. Althought all programing is some what a like, but also in many ways its different, it really confusing, mabye placo could help me out a bit. I am a very talented gfx designer but when it comes to programing an app I am not good.

@Yongobongo: Great work on your newly made XMB Destroyer app, putting it on my psp soon!
-= Double Post =-
Hey placo, I will tell you all about this project that I want to finish before the end of November. It really cool and I will make many of them, just PM if you want and if you can keep it a secret.
__________________

PSN: TrueDef
AIM: TrueDef91
Prestige 7 On COD4

Last edited by Sullivan; 09-28-2007 at 06:07 PM.. Reason: Automerged Doublepost
Sullivan is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
app , created

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 08:56 PM.



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