PSP3D Left Header
PSP3D Header Right
PSP3D Logo CraveOnline Logo
Help the PSP 3D community grow!
Vote for us below:


Vote on the PSP Top 200
PSP Top 200 - Games, Videos, Wallpapers, Files, Hacks, Homebrew

Development Center - Learn the basics of coding or talk about advanced coding techniques with other developers.

Welcome to PSP3D.com - Sony PlayStation Portable News, Homebrew, Hacks, Reviews, Videos, Mods, Forums!

You are currently viewing our website as a guest, which gives you limited access to reply and interact to discussions and other members. By joining our free community, you will be able to post topics in the forums, communicate privately with other members, vote in polls, and access many other special features.

Registration is fast, simple, and absolutely free so join our community today!

Go Back PSP3D.com - Sony PlayStation Portable News, Homebrew, Hacks, Reviews, Videos, Mods, Forums > PSP Forums > Development Center

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-15-2006, 12:21 AM
Static Static is offline
Senior Member
 
Join Date: Jan 2006
Location: C:\WINDOWS\system32\win546dbg.exe
Posts: 477
Points: 2.13
Donate
Simple Animation Source Code =]

Ok this source code includes a simple image on how to work around moving a sprite around the screen. I have not tested it, but in theory it should work. Anyways you can download the source bellow, please comment on the first 4-5 lines of the source. thank you, and enjoy making games out of this !

Download source here
Thank you admin for a little hosting on psp3d

Special Notes -
Let's say you want to change the background once the sprite hits a spot in the image. All you would have to do is make an if code as like.

Code:
while(1) { sceCtrlReadBufferPositive(&pad, 1); if(darkx = 325, darky = 23) { pspDebugScreenClear(); blitAlphaImageToScreen(0 ,0 ,32 , 32, level2, 480, 272); blitAlphaImageToScreen(0 ,0 ,32 , 32, buddy, darkx, darky + 5); flipScreen(); } }
darkx and darky are declared ints in the source code. If you would like me to release more sources just post ! I'm a friendly member of the PSP3D community now; willing to help pretty much anyone. Thanks to my buddy.
__________________


Reply With Quote
  #2 (permalink)  
Old 07-15-2006, 12:30 AM
Kid101skater Kid101skater is offline
Senior Member
 
Join Date: Feb 2006
Posts: 138
Points: 0.57
Donate
Very nice static
__________________
Reply With Quote
  #3 (permalink)  
Old 07-15-2006, 01:31 AM
Birdman1's Avatar
Birdman1 Birdman1 is offline
Stankin'-Ass Vagina
My Mood:
 
Join Date: Dec 2005
Location: THE O.C.
Posts: 3,437
Points: 4,922.09
Donate
Send a message via AIM to Birdman1 Send a message via MSN to Birdman1
Quote:
Thanks to my buddy.
who is yur buddy?
__________________


"Life's a garden, dig it." -Joe Dirt
Reply With Quote
  #4 (permalink)  
Old 07-15-2006, 10:05 AM
Static Static is offline
Senior Member
 
Join Date: Jan 2006
Location: C:\WINDOWS\system32\win546dbg.exe
Posts: 477
Points: 2.13
Donate
The girl in my sig.
__________________


Reply With Quote
  #5 (permalink)  
Old 07-15-2006, 10:10 AM
Southparkmaniac's Avatar
Southparkmaniac Southparkmaniac is offline
Crash Bandicoot addict!
 
Join Date: Dec 2005
Location: Adelaide-Australia
Posts: 618
Points: 5.89
Donate
Send a message via AIM to Southparkmaniac Send a message via MSN to Southparkmaniac
Nice little code you got! Have you thought about submitting it to www.psp-programming.com ?
__________________

Reply With Quote
  #6 (permalink)  
Old 07-15-2006, 10:10 AM
GIGABYTE's Avatar
GIGABYTE GIGABYTE is offline
Senior Member
 
Join Date: Jun 2006
Location: C:\windows\fonts\gigabyte.tff
Posts: 612
Points: 0.86
Donate
nice work, i wish i could make stuff like this.... and i wish i could make programs, like your text box flooder... is it hard?
__________________
Reply With Quote
  #7 (permalink)  
Old 07-15-2006, 10:13 AM
Static Static is offline
Senior Member
 
Join Date: Jan 2006
Location: C:\WINDOWS\system32\win546dbg.exe
Posts: 477
Points: 2.13
Donate
No. Nothing is hard; it really depends on how much you want to learn. Wold you like me to post the source to that too :P
__________________


Reply With Quote
  #8 (permalink)  
Old 07-15-2006, 10:29 AM
CaZzUm's Avatar
CaZzUm CaZzUm is offline
Ub3rdude
My Mood:
 
Join Date: Jan 2006
Location: In your head.
Posts: 584
Points: 7.81
Donate
Send a message via AIM to CaZzUm Send a message via MSN to CaZzUm
Cool! Alot of people might want this! Good!
__________________
... ¬_¬
Reply With Quote
  #9 (permalink)  
Old 07-15-2006, 11:20 AM
Static Static is offline
Senior Member
 
Join Date: Jan 2006
Location: C:\WINDOWS\system32\win546dbg.exe
Posts: 477
Points: 2.13
Donate
I don't know if this is better or not, but here is an updated source for animation. If you have any questions just post.

Enjoy !
Attached Files
File Type: rar updatedsource.rar (1.9 KB, 12 views)
__________________


Reply With Quote
  #10 (permalink)  
Old 07-15-2006, 12:41 PM
rikardo_92's Avatar
rikardo_92 rikardo_92 is offline
Senior Member
 
Join Date: Mar 2006
Location: Portugal
Age: 16
Posts: 358
Points: 2.21
Donate
Send a message via ICQ to rikardo_92 Send a message via AIM to rikardo_92 Send a message via MSN to rikardo_92 Send a message via Yahoo to rikardo_92
Quote:
Originally Posted by Static
No. Nothing is hard; it really depends on how much you want to learn. Wold you like me to post the source to that too :P
static said the same to me right now im trying to learn C its not hard (i started first with lua and if u understand lua, C its easy)
__________________
Reply With Quote
Reply

« c++ probs | Coders, please read - »



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

Points Per Thread View: 0.00
Points Per Thread: 1.00
Points Per Reply: 0.10

Similar Threads
Thread Thread Starter Forum Replies Last Post
PSPmonley gotwake424 General PSP Discussion 10 05-17-2006 07:18 PM
Original UMD Emulator Core Source Released! Robert A. Homepage News 7 05-03-2006 07:34 PM
Simple Amp Beta 2 Released! Robert A. Homepage News 6 04-24-2006 12:16 PM
parental control code Ben_weinberg General PSP Discussion 2 03-19-2006 12:07 PM
PSP Pin Code?? mirko General PSP Discussion 19 12-19-2005 06:28 AM





Crave Partner Sites: CraveOnline.com | DVDFile.com | PSP3D.com | ComingSoon.net | SuperHeroHype.com | RedBalcony.com | ActionTrip.com | CraveLyrics.com
Soundtrack.net | CraveFix.com | SpikedHumor.com | RPGamer.com | TattooNow.com | ImpactWrestling.com | SeekLyrics.com | PedalBMX.com | WildKO.com
vidKing.com | StrategyInformer.com | HHdb.com | RapLeagues.com | HipHop-Lyrics.com | Cravecocktails.com | ThePhatPhree.com | RideJudge.com | HottieSpots.com

PSP3D Footer Left Powered by Custom vB Version 5.1.0 for Crave Online Media, LLC.
Copyright © 2000 - 2007, Jelsoft Enterprises Ltd. and PSP3D.com.
LinkBacks Enabled by vBSEO 3.0.0 RC8

All times are GMT -4. The time now is 08:06 PM.
PSP3D Footer Right