User User name Password  
   
Saturday 7.11.2009 / 17:34
Search AfterDawn Forums:        In English   Suomeksi   Pĺ svenska
afterdawn.com > forums > consoles > sony psp - general discussion > new psp ide in progress! please reply
Show topics
 
Forums
Forums
new PSP IDE in progress! Please Reply
  Jump to:
 
Posted Message
Junior Member

1 product review
_
4. July 2009 @ 01:34 _ Link to this message    Send private message to this user   
I am nearly finished with a beta PSP IDE (much more coming after this)
what I have now:
GUI finished
basic template generation
projects can contain more than one file
many little things that do a great deal but dont look like much when written but it wouldnt be right without

what I want for first release
Make button
manual makefile generator(much like this one http://community.hackingpsp.com/forums/3027/ShowPost.aspx)
possibly highlighted text (would be useful)


things for Future releases
list of all psp c\c++ functions and button to add selected function to code(will be hard)
any good suggestions (that are realistic)




oh yes and also I made a simple library called Easylib (not that great)... here are the file names and what they contain.

Filenames
elib.h (only include this in your program)
ecallbacks.h (wonder what this could be)
functions.h this has many useful functions... (everything is by me except the collision algorithm)

whats in elib.h
pspSystemInit(); (initializes EVERYTHING you need for a simple program (callbacks,screen initialization)
pspCtrlInit(); (use this if your program uses the psp's controls)
readyCtrls(int count) (this is the same thing as sceCtrlReadBufferPositive(&pad, int count); its just easier to type. use
readyCtrls(int count) just as you would sceCtrlReadBufferPositive(&pad, int count);

whats in functions.h
Function what it does syntax

wait(); waits in milliseconds wait(milliseconds)
move_up move an object up move_up(y pos, speed)
move_down move an object down move_down(y pos, speed)
move_left move an object left move_left(x pos, speed)
move_right move an object right move_right(x pos, speed)
collides(); collision detection look below
restart(); restarts the program restart() (gives implicit declaration warning)
xmb(); returns to main XMB xmb(return value)

How to use collides()

1ST IMAGE PARAMETERS

x1 - X-Co-ordinate of 1st image
y1 - Y-Co-ordinate of 1st image
w1 - Width of 1st image
h1 - Height of 1st image

2ND IMAGE PARAMETERS

x2 - X-Co-ordinate of 2nd image
y2 - Y-Co-ordinate of 2nd image
w2 - Width of 2nd image
h2 - Height of 2nd image

syntax of collision();

collides(x1,y1,w1,h1,x2,y2,w2,h2);scary (all those values are integers by the way)

well I have nothing more to add... I think
if you have any suggestions for this please post it here I will probably add it as long as its not too far fetched.

i didnt revise this post too well, if I have any spelling errors or stupid mistakes please tell me

I suck
Advertisement
_
__
Junior Member

1 product review
_
4. July 2009 @ 01:42 _ Link to this message    Send private message to this user   
whoops! forgot pictures




and also
Quote:
whats in functions.h
Function what it does syntax

wait(); waits in milliseconds wait(milliseconds)
move_up move an object up move_up(y pos, speed)
move_down move an object down move_down(y pos, speed)
move_left move an object left move_left(x pos, speed)
move_right move an object right move_right(x pos, speed)
collides(); collision detection look below
restart(); restarts the program restart() (gives implicit declaration warning)
xmb(); returns to main XMB xmb(return value)

those lines got messed up alot and may be hard to read

I suck
Senior Member

2 product reviews
_
5. July 2009 @ 02:24 _ Link to this message    Send private message to this user   
Impressive.. Good to know there's somebody on this site that knows something about all that stuff. I never really got into making stuff like that. I don't know where to start or anything. If I could find some guide to help me get started then I'd love to get on it..

Got any good sites to help somebody, "New" to stuff like that, get started?

Thanks

<object><param name="movie" value="http://modernwarfare.sputn1k.co.uk/mw2_countdown.swf"><embed src="http://modernwarfare.sputn1k.co.uk/mw2_countdown.swf" width="400" height="200"></object>
Junior Member

1 product review
_
5. July 2009 @ 02:39 _ Link to this message    Send private message to this user   
Quote:
Got any good sites to help somebody, "New" to stuff like that, get started?
C Tutorial
C++ Tutorial

go Here for Microsoft Visual C++ 2008 (a great development program)

:) Glad to help (if I did)

I suck
Advertisement
_
__
 
_
Senior Member

2 product reviews
_
6. July 2009 @ 01:23 _ Link to this message    Send private message to this user   
Thanks a lot :)

I've always wanted to get started on programming like this, I've never been able to find a good tutorial for beginners. This is just what I've been looking for :)

I'll get started on learning all that stuff when I get back from my vacation in a few weeks.

Thanks.

<object><param name="movie" value="http://modernwarfare.sputn1k.co.uk/mw2_countdown.swf"><embed src="http://modernwarfare.sputn1k.co.uk/mw2_countdown.swf" width="400" height="200"></object>
Related links
Visit our PSP forums located at our sister site, Blasteroids.com!
 
Related forum topics Posts Last post Forum room
is gamecube games playable on psp? 3 7. November 2009 Sony PSP - General discussion
I formatted my flash 0 and now my psp doesnt work. help 4 7. November 2009 Sony PSP - General discussion
Sony adds PSP copy to Blu-ray discs 12 7. November 2009 News discussion
psp help-memory stick i beg plz!! 15 7. November 2009 Sony PSP - Mod and firmware discussion
psp 1003 with chickHEN r2 FIXED!! now cfw 5.00 m33-4 :) 4 6. November 2009 Sony PSP - Mod and firmware discussion
PSP 2001 1 6. November 2009 Sony PSP - Mod and firmware discussion
DS and 64 emulator on PSP? 3 6. November 2009 Sony PSP - Homebrew software
PSP Power Issues 5 6. November 2009 Sony PSP - Mod and firmware discussion
Brand New psp 3000 Gran Turismo Help!!!!!!!! 3 6. November 2009 Sony PSP - Mod and firmware discussion
psp GEN Custom firmware links 1 6. November 2009 Sony PSP - Mod and firmware discussion

 
afterdawn.com > forums > consoles > sony psp - general discussion > new psp ide in progress! please reply
 

Digital video: AfterDawn.com | AfterDawn Forums
Music: MP3Lizard.com
Gaming: Blasteroids.com | Blasteroids Forums | Compare game prices
Software: Software downloads
Blogs: User profile pages
RSS feeds: AfterDawn.com News | Software updates | AfterDawn Forums
International: AfterDawn in Finnish | AfterDawn in Swedish | download.fi
Navigate: Search | Site map
About us: About AfterDawn Ltd | Advertise on our sites | Rules, Restrictions, Legal disclaimer & Privacy policy
Contact us: Send feedback | Contact our media sales team
 
  © 1999-2009 by AfterDawn Ltd.