Forums

Sega Master System / Mark III / Game Gear
SG-1000 / SC-3000 / SF-7000 / OMV
Home - Forums - Games - Scans - Maps - Cheats - Credits
Music - Videos - Development - Hacks - Translations - Homebrew

View topic - [Coding competition 2017] rasterParallax by sverx

Reply to topic

Rate this entry!

1 (Poor) 0% 0%
2 5% 5%
3 0% 0%
4 17% 17%
5 29% 29%
6 23% 23%
7 11% 11%
8 0% 0%
9 (Excellent) 11% 11%
This poll has expired.
Author Message
  • Site Admin
  • Joined: 08 Jul 2001
  • Posts: 7657
  • Location: Paris, France
Reply with quote
[Coding competition 2017] rasterParallax by sverx
Post Posted: Mon Mar 27, 2017 7:24 pm
http://www.smspower.org/Homebrew/RasterParallax-SMS



Quote
rasterParallax (sverx\2017)

Disjointed Studio's "Weka Invaders" isn't ready yet and here it comes March 27th again... OK, let's just submit something ... after all, someone's got to take the lowest rank, why shouldn't I? ;)
So, here's a small demo of a parallax effect done by means of a raster effect (lineIRQ+hscroll), actually enhancing it by interleaving lines belonging to different planes, I hope this makes sense.
Somehow this resembles what one could see through a train window. If only I was living in a greener country...
Full source included, of course it's made with devkitSMS. Grass image taken from the web and processed using Haroldoop's magic.
Greetings to everyone at SMS Power! Cheers to yet another year! :D
sverx [ @i_am_sverx on twitter ]
  View user's profile Send private message Visit poster's website
  • Joined: 28 Jan 2017
  • Posts: 140
  • Location: Málaga, Spain
Reply with quote
Post Posted: Tue Mar 28, 2017 8:22 pm
Wow! Sorry sverx but cant understand... are you putting a different scroll each two lines? How a nice effect. This desserves an horizontal shmup!!!!! Lol :))))

In other hand. Should be nice to do a presentation screen . Or (although i suppose this is not cheap) a waved background for a game....
  View user's profile Send private message
  • Joined: 01 May 2011
  • Posts: 371
Reply with quote
Post Posted: Tue Mar 28, 2017 10:40 pm
Neat effect! A picture which wraps around better might improve it a bit.
  View user's profile Send private message
  • Joined: 05 Sep 2013
  • Posts: 1786
Reply with quote
Post Posted: Wed Mar 29, 2017 8:04 am
surely there's a lot of space for improvements, this is just a POC after all.

the point is: driving the hscroll so that there's a sort of 'in between' between fake layers, you can trick the eye to believe they're actually overlapping. more so when you add sprites, which in fact do overlap.
  View user's profile Send private message Visit poster's website
  • Joined: 12 Oct 2015
  • Posts: 41
  • Location: Ireland
Reply with quote
Post Posted: Wed Mar 29, 2017 8:59 am
Cool demo sverx. I was expecting the hscroll to go left-to-right :D This demo reminds me of "Shadow of the Beast" on the Amiga, well the Parallax scrolling part at least, as was the first video game I ever saw that had this effect in it.
Thanks for including the source code also; this will be helpful if/when I get a demo working that implements scrolling...!
  View user's profile Send private message Visit poster's website
  • Joined: 05 Sep 2013
  • Posts: 1786
Reply with quote
Post Posted: Wed Mar 29, 2017 9:37 am
there's another scroll example with source here, in case you missed it :)
  View user's profile Send private message Visit poster's website
  • Joined: 23 Mar 2013
  • Posts: 515
  • Location: Copenhagen, Denmark
Reply with quote
Post Posted: Fri Mar 31, 2017 7:58 pm
I think this is a super nice effect! It sure reminds me of cutting through the Danish countryside in a train. Nice touch making the planes overlap/interleave (or whatever it is called). When I ran your demo, my fingers instinctively prepared to move a crosshair over the screen in search of some baddies to shoot. This effect could be the basis of a (rail) shooter like Operation Wolf meets Blood Brothers meets Cabal. :)
  View user's profile Send private message Visit poster's website
  • Joined: 27 Feb 2017
  • Posts: 145
  • Location: Northern Ireland
Reply with quote
Post Posted: Mon Apr 03, 2017 8:28 pm
Super cool
  View user's profile Send private message
  • Joined: 05 Sep 2013
  • Posts: 1786
Reply with quote
Post Posted: Tue Apr 04, 2017 7:42 am
thank you guys! I'm not planning to turn it into a game, ATM. Surely it isn't impossible per sé.

hang-on wrote
It sure reminds me of cutting through the Danish countryside in a train.


Gotta move there, then! :)
  View user's profile Send private message Visit poster's website
  • Joined: 01 Jan 2014
  • Posts: 277
Reply with quote
Post Posted: Thu Apr 13, 2017 11:30 am
It reminds me of one of those magic 3d images where they fake depth. I get the train feel also, expecting to see view go dark as the train moves in to a tunnel.

Yay to tech entries!
  View user's profile Send private message
  • Joined: 22 Mar 2015
  • Posts: 116
Reply with quote
Post Posted: Mon Apr 17, 2017 4:02 pm
This is a pretty good demo, thanks sverx!! you always surprise me with your demos made using devkitSMS.

Keep it up showing the power of the SMS!!!
  View user's profile Send private message
  • Joined: 31 Mar 2017
  • Posts: 1
Reply with quote
Post Posted: Mon Apr 17, 2017 10:52 pm
Oh wow, that's actually a really nice effect. The interlaced scroll lines is what seals it, and now I'm actually kind of surprised I haven't seen that bit done before in a game, it really helps the illusion of depth.
  View user's profile Send private message
  • Joined: 31 Oct 2007
  • Posts: 788
  • Location: Estonia, Rapla city
Reply with quote
Post Posted: Sun Apr 23, 2017 11:54 am
Only thing this misses is a nice blue sky haha. Very neat ~
  View user's profile Send private message Visit poster's website
  • Joined: 05 Sep 2013
  • Posts: 1786
Reply with quote
Post Posted: Thu May 04, 2017 8:54 am
Thanks for the kind words, guys! :)
  View user's profile Send private message Visit poster's website
Reply to topic



Back to the top of this page

Back to SMS Power!