Here is my latest attempt.
Added some new power-ups and features. I also added the ability to die!
<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/1ArkiT08Yew&co ... ram><param name="allowFullScreen" value="true"></param><param name="allowScriptAccess" value="always"></param><embed src="http://www.youtube.com/v/1ArkiT08Yew&co ... edded&fs=1" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" width="425" height="344"></embed></object>[/youtube]
Please ignore the developer art used for the main player sprite. This will be changed as I hate it. It is only there because I needed a sprite with alpha to create my bit_mask.
2D Parralax Scrolling
Moderator: PC Supremacists
- Big Grizzle
- Chaos Rift Cool Newbie
- Posts: 61
- Joined: Wed Sep 02, 2009 1:07 pm
- Current Project: 2d side scrolling shooter.
- Favorite Gaming Platforms: The SNES rules all!!! Super Aleste baby!
- Programming Language of Choice: Python
- Location: London, UK
- Contact:
Re: 2D Parralax Scrolling
"Simplicity is the ultimate sophistication." - Leonardo da Vinci
http://caveofgrizzle.blogspot.com/
http://caveofgrizzle.blogspot.com/
Re: 2D Parralax Scrolling
This video contains doing it right.Big Grizzle wrote: <object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/1ArkiT08Yew&co ... ram><param name="allowFullScreen" value="true"></param><param name="allowScriptAccess" value="always"></param><embed src="http://www.youtube.com/v/1ArkiT08Yew&co ... edded&fs=1" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" width="425" height="344"></embed></object>[/youtube]
I'm an altogether bad-natured Cupid.
- Big Grizzle
- Chaos Rift Cool Newbie
- Posts: 61
- Joined: Wed Sep 02, 2009 1:07 pm
- Current Project: 2d side scrolling shooter.
- Favorite Gaming Platforms: The SNES rules all!!! Super Aleste baby!
- Programming Language of Choice: Python
- Location: London, UK
- Contact:
Re: 2D Parralax Scrolling
Thanks, but trust me there is plenty still wrong.
"Simplicity is the ultimate sophistication." - Leonardo da Vinci
http://caveofgrizzle.blogspot.com/
http://caveofgrizzle.blogspot.com/
- dandymcgee
- ES Beta Backer
- Posts: 4709
- Joined: Tue Apr 29, 2008 3:24 pm
- Current Project: https://github.com/dbechrd/RicoTech
- Favorite Gaming Platforms: NES, Sega Genesis, PS2, PC
- Programming Language of Choice: C
- Location: San Francisco
- Contact:
Re: 2D Parralax Scrolling
Looks more than fit for testing purposes. Your project appears to be coming along nicely, keep us updated as you continue to add new things.Big Grizzle wrote: Please ignore the developer art used for the main player sprite. This will be changed as I hate it. It is only there because I needed a sprite with alpha to create my bit_mask.
Falco Girgis wrote:It is imperative that I can broadcast my narcissistic commit strings to the Twitter! Tweet Tweet, bitches!
- Big Grizzle
- Chaos Rift Cool Newbie
- Posts: 61
- Joined: Wed Sep 02, 2009 1:07 pm
- Current Project: 2d side scrolling shooter.
- Favorite Gaming Platforms: The SNES rules all!!! Super Aleste baby!
- Programming Language of Choice: Python
- Location: London, UK
- Contact:
Re: 2D Parralax Scrolling
This time I have changed the plasma cannon into a beam weapon. My first attempt was very basic and simply created a larger instance of the bullet class. Each one had an alpha value and they were set up to overlap. I didn't like this and neither did the frame rate as it would create a couple hundred instances with a decent enough charge. I have re-written it to be made up of 64 rects that dynamically change their size depending upon collisions.
I have also, as per Tru Fun's suggestion, implemeted a particle effect for when an enemy is hit and also a larger particle effect for when an enemy dies. Another suggestion I have implemeted came from a friend of mine. He commented that he wanted the options to shoot in both directions.
<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/CuvZjIOY7p4&hl ... ram><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/CuvZjIOY7p4&hl=en&fs=1&" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object>[/youtube]
I have also, as per Tru Fun's suggestion, implemeted a particle effect for when an enemy is hit and also a larger particle effect for when an enemy dies. Another suggestion I have implemeted came from a friend of mine. He commented that he wanted the options to shoot in both directions.
<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/CuvZjIOY7p4&hl ... ram><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/CuvZjIOY7p4&hl=en&fs=1&" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object>[/youtube]
"Simplicity is the ultimate sophistication." - Leonardo da Vinci
http://caveofgrizzle.blogspot.com/
http://caveofgrizzle.blogspot.com/