forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

preview of a new Snake

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Lua Player Development
View previous topic :: View next topic  
Author Message
Shine



Joined: 03 Dec 2004
Posts: 728
Location: Germany

PostPosted: Mon Dec 11, 2006 4:06 am    Post subject: preview of a new Snake Reply with quote

MrMr[iCE] has implemented a nice algorithm for the movement of a snake: http://pspupdates.qj.net/SnakeSP-for-1-50/pg/49/aid/75625

He explained the algorithm to me, so when I have some time, I'll implement an improved Snake for Lua Player. A preview with source code for testing the movement and the speed:

http://www.youtube.com/watch?v=NJiv92MfgJM

We can discuss features in this topic and maybe ideas for the graphics and the sound effects, because I'm only a programmer, not an artist.
Back to top
View user's profile Send private message
youresam



Joined: 06 Nov 2005
Posts: 87

PostPosted: Mon Dec 25, 2006 10:22 am    Post subject: Reply with quote

Hey shine, you can use Gu.TRIANGLES to draw rotated images, so the image doesnt have to be a perfect circle. It (should) also speed things up a bit.
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Lua Player Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group