User User name Password  
   
Monday 23.12.2024 / 12:21
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

3 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


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

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


Related links
Visit our PSP forums located at our sister site, Blasteroids.com!
 
Related forum topics Posts Last post Forum room
psp games not reading 3 10. June 2014 Sony PSP - Games
PSP Custom Firmware Malfunction 4 10. June 2014 Sony PSP - General discussion
I cant see my psp games after changing the speed 333 5 9. June 2014 Sony PSP - Games
Whats better, a psp 1000 or a e1004? 5 19. January 2014 Sony PSP - Games
PSP won't turn on or charge 2 18. January 2014 Sony PSP - General discussion
Psp go games gone all in saved utility data does not work 4 7. January 2014 Sony PSP - Games
need help with my first generation psp!!! 3 20. December 2013 Sony PSP - General discussion
Second-generation PSP Vita will lose proprietary charging port 7 15. October 2013 News comments
help mod my PSP 5 8. October 2013 Sony PSP - Mod and firmware discussion
Help Needed Psp 2000 Backlight super dim 5 25. September 2013 Sony PSP - General 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 | AfterDawn in Norwegian | 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-2024 by AfterDawn Ltd.

  IDG TechNetwork