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 

[game - WIP] toobin

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



Joined: 05 Nov 2005
Posts: 6

PostPosted: Mon Nov 07, 2005 7:02 am    Post subject: [game - WIP] toobin Reply with quote

I've played this old game on my Atari ST : toobin
I'm trying to do it for psp, using Lua.




All versions :
http://cyril.c.free.fr/pub/files/toobin/toobin_v0.1.rar
http://cyril.c.free.fr/pub/files/toobin/toobin_v0.1.5.rar
(you need Lua player first, see: http://www.luaplayer.org and read "Readme first.txt")

I haven't any PSP, so if you can test it in real conditions (and say if it works, it's slow etc..) thanks!

I also would like to do a stand-alone version (no need lua player), but got some compilation pb: http://forums.ps2dev.org/viewtopic.php?p=28612#28612


Last edited by cybercouf on Fri Nov 11, 2005 10:03 pm; edited 4 times in total
Back to top
View user's profile Send private message
Wraggster



Joined: 26 Aug 2005
Posts: 121

PostPosted: Mon Nov 07, 2005 7:45 am    Post subject: Reply with quote

plays like a dream on my v1.0 :)

made a permanent page for your release here --> http://psp-news.dcemu.co.uk/toobin.shtml

thanks for a great little game
_________________
Webmaster of http://www.dcemu.co.uk

DCEMU The Worlds Only Homebrew & Gaming Network of Sites.
Back to top
View user's profile Send private message Visit poster's website
Fanjita



Joined: 28 Sep 2005
Posts: 217

PostPosted: Mon Nov 07, 2005 9:19 am    Post subject: Reply with quote

On v2.0, runs fine using the USER_LUA player.

No collision detection though - is that expected?
_________________
Got a v2.0-v2.80 firmware PSP? Download the eLoader here to run homebrew on it!
The PSP Homebrew Database needs you!
Back to top
View user's profile Send private message
cybercouf



Joined: 05 Nov 2005
Posts: 6

PostPosted: Mon Nov 07, 2005 6:30 pm    Post subject: Reply with quote

ok thanks

no on this version there is collision only for bonus (cans) and rocks, for border and other things it's not already done ;)
Back to top
View user's profile Send private message
cybercouf



Joined: 05 Nov 2005
Posts: 6

PostPosted: Tue Nov 08, 2005 9:00 am    Post subject: Reply with quote

new version: 0.1.5: http://cyril.c.free.fr/pub/files/toobin_v0.1.5.rar
Back to top
View user's profile Send private message
skeezixcodejedi



Joined: 30 Aug 2005
Posts: 29

PostPosted: Wed Nov 09, 2005 2:22 am    Post subject: Reply with quote

I keep seeing that 'Atari ST' comment so I really must clear it up .. :)

Toobin' was an arcade game, that also had a port to the Atari ST (among other machines.) :)

jeff
_________________
--
Have you played Atari today?
Back to top
View user's profile Send private message Visit poster's website AIM Address
cybercouf



Joined: 05 Nov 2005
Posts: 6

PostPosted: Wed Nov 09, 2005 7:17 am    Post subject: Reply with quote

you're right :), searching pictures on the web i found image from arcade version :p, i said Atari ST because it was my first computer and first played toobin on it :p
Back to top
View user's profile Send private message
Art



Joined: 09 Nov 2005
Posts: 647

PostPosted: Wed Nov 09, 2005 8:05 am    Post subject: Reply with quote

Nice job cybercouf, do need colision detection though, I can ride through the sand :D

How did you get the white sprite background to be transparent n the game?
Even when I use bob in my code and try to blit him across the screen, the
white background is visible :(
I can't even see how you did it looking at your LUA code ??
Cheers, Art.
Back to top
View user's profile Send private message
Brunni



Joined: 08 Oct 2005
Posts: 186

PostPosted: Thu Nov 10, 2005 6:31 am    Post subject: Reply with quote

He probably uses a transparent PNG (with an alpha channel).
You can create such files with programs like Photoshop or the Gimp (not sure).
_________________
Sorry for my bad english
Oldschool library for PSP - PC version released
Back to top
View user's profile Send private message
Art



Joined: 09 Nov 2005
Posts: 647

PostPosted: Thu Nov 10, 2005 6:42 am    Post subject: Reply with quote

I said I used Bob (the same png file he used) in my program,
and the background was not invisible.
Back to top
View user's profile Send private message
cybercouf



Joined: 05 Nov 2005
Posts: 6

PostPosted: Thu Nov 10, 2005 6:58 am    Post subject: Reply with quote

yes, i use tranparent png with alpha channel, made using photoshop

Code:

bob1 = Image.load("bob.png")
...
screen:blit(bobX, bobY, bob1)


when using screen:blit(...), there is optional parameter for using alpha channel, and default value is true, so you don't need to specify it.
so
screen:blit(bobX, bobY, bob1)
is like
screen:blit(bobX, bobY, bob1, 0, 0, bob1:width(), bob1:height(), true)
(last parameter is alpha channel)
Back to top
View user's profile Send private message
Art



Joined: 09 Nov 2005
Posts: 647

PostPosted: Thu Nov 10, 2005 7:36 am    Post subject: Reply with quote

Thanx, I actually figured it out and came back to clear it up :)
I was using the parameter false... Ididn't know what it was for,
but I noticed the difference in your blit line.

It would be great to have some good documentation for PSP LUA.

Keep up the work on your game.
Cheers, Art.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP 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