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!

[UPDATE] AnimatedSprite Class\Library Ver. 2.0 Bundle

This is a discussion on [UPDATE] AnimatedSprite Class\Library Ver. 2.0 Bundle within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; Ohiyo! Here's version 2.0! It also includes another class\library called FPSCounter and a useful function called requireC. I've also included ...

Reply
 
LinkBack Thread Tools
Old 10-27-2006, 12:41 PM   #1

PSP Developer
 
alatnet's Avatar
 
Join Date: Oct 2005
Real First Name: Alex
Location: ~* Confidential *~
Just Played: N/A
Posts: 839
Trader Feedback: 0
Default [UPDATE] AnimatedSprite Class\Library Ver. 2.0 Bundle

Ohiyo!
Here's version 2.0!
It also includes another class\library called FPSCounter and a useful function called requireC.

I've also included an example.

Be sure to read the file "IMPORTANT!!! READ ME FIRST!!!.txt" first before using this stuff.
Attached Files
File Type: rar AnimatedSprite Ver 2.0 Bundle.rar‎ (73.0 KB, 18 views)
__________________

"Every team needs an idealistic person (whether they are a noob or a pro), my team doesn't have one cus im the idealistic founder."-me
Anime/Manga and Fanfiction is my inspiration!

Creator of:
- PSPSDK makefile creator - Lua Prompt - Animated Sprite Class\Library for Lua - Gmax2PSP -
alatnet is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-27-2006, 03:10 PM   #2
iPwn...Coming Soon...
 
Phantom_X's Avatar
 
Join Date: Jul 2006
Location: ... | Firmware: M33
Posts: 1,391
Trader Feedback: 0
Default

This should come in handy.
__________________
[CENTER][IMG]http://i32.photobucket.com/albums/d48/masterkike3/fab.png [/IMG][/CENTER]
Phantom_X is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-27-2006, 04:08 PM   #3

PSP Developer
 
alatnet's Avatar
 
Join Date: Oct 2005
Real First Name: Alex
Location: ~* Confidential *~
Just Played: N/A
Posts: 839
Trader Feedback: 0
Default

Found a slight error with the function:
Code:
AnimatedSprite.addImage2List(img,name)
It seems that it may cause memory to be wasted.
Currently fixing it now.
__________________

"Every team needs an idealistic person (whether they are a noob or a pro), my team doesn't have one cus im the idealistic founder."-me
Anime/Manga and Fanfiction is my inspiration!

Creator of:
- PSPSDK makefile creator - Lua Prompt - Animated Sprite Class\Library for Lua - Gmax2PSP -
alatnet is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-27-2006, 06:30 PM   #4

sceKernelExitGame();
 
Bronx's Avatar
 
Join Date: Jan 2006
Location: New York
Posts: 3,125
Trader Feedback: 0
Default

Nice, I wish you would actualy say what requireC DOES .... I have no clue :/
Bronx is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-27-2006, 07:57 PM   #5

PSP Developer
 
alatnet's Avatar
 
Join Date: Oct 2005
Real First Name: Alex
Location: ~* Confidential *~
Just Played: N/A
Posts: 839
Trader Feedback: 0
Default

Quote:
Originally Posted by Bronx
Nice, I wish you would actualy say what requireC DOES .... I have no clue :/
Um... look in the file called "IMPORTANT!!! READ ME FIRST!!!.txt".
__________________

"Every team needs an idealistic person (whether they are a noob or a pro), my team doesn't have one cus im the idealistic founder."-me
Anime/Manga and Fanfiction is my inspiration!

Creator of:
- PSPSDK makefile creator - Lua Prompt - Animated Sprite Class\Library for Lua - Gmax2PSP -
alatnet is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-27-2006, 08:39 PM   #6

sceKernelExitGame();
 
Bronx's Avatar
 
Join Date: Jan 2006
Location: New York
Posts: 3,125
Trader Feedback: 0
Default

I did, it didn't explain what it does, just that it is better then the older version...
Quote:
The function requireC is just an improved form of the function requireC.
Since the require function in newer versions of luaplayer tend to be annoying, I created this function for the purpose to fix that problem of the require function in newer versions of luaplayer.
That tells me nothing
Bronx is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-27-2006, 08:52 PM   #7

PSP Developer
 
alatnet's Avatar
 
Join Date: Oct 2005
Real First Name: Alex
Location: ~* Confidential *~
Just Played: N/A
Posts: 839
Trader Feedback: 0
Default

ok.. well it act's just like the build in require function except that for me, or posibly others, the require function in newer versions of luaplayer fracks up and give's an error saying that it cannot find a specific lua file that you have passed into it.

if you don't actualy know what require is then...
require is like dofile except that it doesn't reload the lua file if it already had been loaded already.
__________________

"Every team needs an idealistic person (whether they are a noob or a pro), my team doesn't have one cus im the idealistic founder."-me
Anime/Manga and Fanfiction is my inspiration!

Creator of:
- PSPSDK makefile creator - Lua Prompt - Animated Sprite Class\Library for Lua - Gmax2PSP -
alatnet is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-27-2006, 09:02 PM   #8

sceKernelExitGame();
 
Bronx's Avatar
 
Join Date: Jan 2006
Location: New York
Posts: 3,125
Trader Feedback: 0
Default

Quote:
require is like dofile except that it doesn't reload the lua file if it already had been loaded already.
That's all I needed
Bronx is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-27-2006, 09:34 PM   #9

PSP Developer
 
alatnet's Avatar
 
Join Date: Oct 2005
Real First Name: Alex
Location: ~* Confidential *~
Just Played: N/A
Posts: 839
Trader Feedback: 0
Default

... you do know that there is a link at the luaplayer wiki toward's the bottom of the page that links to a lua reference site that has all the functions that are in lua and luaplayer. You could have just as easily went there and found out what require ment...
Just letting you know, not trying to say something wrong...
__________________

"Every team needs an idealistic person (whether they are a noob or a pro), my team doesn't have one cus im the idealistic founder."-me
Anime/Manga and Fanfiction is my inspiration!

Creator of:
- PSPSDK makefile creator - Lua Prompt - Animated Sprite Class\Library for Lua - Gmax2PSP -
alatnet is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
animatedsprite , bundle , classlibrary , update , ver

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 12:44 PM.



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