2D Parralax Scrolling

Anything related in any way to game development as a whole is welcome here. Tell us about your game, grace us with your project, show us your new YouTube video, etc.

Moderator: PC Supremacists

User avatar
Big Grizzle
Chaos Rift Cool Newbie
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

Post by Big Grizzle »

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.
"Simplicity is the ultimate sophistication." - Leonardo da Vinci
http://caveofgrizzle.blogspot.com/
User avatar
Pickzell
Chaos Rift Junior
Chaos Rift Junior
Posts: 233
Joined: Sat May 16, 2009 10:21 am

Re: 2D Parralax Scrolling

Post by Pickzell »

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]
This video contains doing it right.
I'm an altogether bad-natured Cupid.
User avatar
Big Grizzle
Chaos Rift Cool Newbie
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

Post by Big Grizzle »

Thanks, but trust me there is plenty still wrong.
"Simplicity is the ultimate sophistication." - Leonardo da Vinci
http://caveofgrizzle.blogspot.com/
User avatar
dandymcgee
ES Beta Backer
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

Post by dandymcgee »

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.
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. ;)
Falco Girgis wrote:It is imperative that I can broadcast my narcissistic commit strings to the Twitter! Tweet Tweet, bitches! :twisted:
User avatar
Big Grizzle
Chaos Rift Cool Newbie
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

Post by Big Grizzle »

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]
"Simplicity is the ultimate sophistication." - Leonardo da Vinci
http://caveofgrizzle.blogspot.com/
Post Reply