| View previous topic :: View next topic |
| Author |
Message |
cybercouf
Joined: 05 Nov 2005 Posts: 6
|
|
| Back to top |
|
 |
Wraggster
Joined: 26 Aug 2005 Posts: 121
|
|
| Back to top |
|
 |
Fanjita
Joined: 28 Sep 2005 Posts: 217
|
Posted: Mon Nov 07, 2005 9:19 am Post subject: |
|
|
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 |
|
 |
cybercouf
Joined: 05 Nov 2005 Posts: 6
|
Posted: Mon Nov 07, 2005 6:30 pm Post subject: |
|
|
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 |
|
 |
cybercouf
Joined: 05 Nov 2005 Posts: 6
|
|
| Back to top |
|
 |
skeezixcodejedi
Joined: 30 Aug 2005 Posts: 29
|
Posted: Wed Nov 09, 2005 2:22 am Post subject: |
|
|
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 |
|
 |
cybercouf
Joined: 05 Nov 2005 Posts: 6
|
Posted: Wed Nov 09, 2005 7:17 am Post subject: |
|
|
| 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 |
|
 |
Art
Joined: 09 Nov 2005 Posts: 647
|
Posted: Wed Nov 09, 2005 8:05 am Post subject: |
|
|
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 |
|
 |
Brunni
Joined: 08 Oct 2005 Posts: 186
|
Posted: Thu Nov 10, 2005 6:31 am Post subject: |
|
|
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 |
|
 |
Art
Joined: 09 Nov 2005 Posts: 647
|
Posted: Thu Nov 10, 2005 6:42 am Post subject: |
|
|
I said I used Bob (the same png file he used) in my program,
and the background was not invisible. |
|
| Back to top |
|
 |
cybercouf
Joined: 05 Nov 2005 Posts: 6
|
Posted: Thu Nov 10, 2005 6:58 am Post subject: |
|
|
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 |
|
 |
Art
Joined: 09 Nov 2005 Posts: 647
|
Posted: Thu Nov 10, 2005 7:36 am Post subject: |
|
|
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 |
|
 |
|