This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2007-08-13 16:24:34

archmage
Scratcher
Registered: 2007-05-18
Posts: 1000+

Perfect Sidescrolling Engine v1.0

Find it at

http://scratch.mit.edu/projects/archmage/28903

The project is a good working replica of the side scrolling engine from the mario game (although it does support backscrolling but backscrolling can be easily disabled).  To create your own game using this you need to change the platforms' costumes to make different stages. Also there is no bad guys and no way to win or die so you will have to make these your self. (or you could ask me to do it for you if you are having trouble) This can be used to create authentic mario style games and you will probably see some projects from me that use this engine sometime in the future.

Also though it's called perfect it really isn't perfect please feel free to tell me how to improve it.


Hi, I am Archmage coder extraordinaire. I do Scratch,pascal,java,php,html, AS2 and AS3. Leave me a message if you want coding advice. Also check out my personal website, lots of good stuff about web development, Flash, and Scratch (v1 and v2) !

Offline

 

#2 2007-08-13 16:53:12

archmage
Scratcher
Registered: 2007-05-18
Posts: 1000+

Re: Perfect Sidescrolling Engine v1.0

Also keep in mind that the sidescrolling engine is missing many platforming elements. I will probally make a platforming engine later on.


Hi, I am Archmage coder extraordinaire. I do Scratch,pascal,java,php,html, AS2 and AS3. Leave me a message if you want coding advice. Also check out my personal website, lots of good stuff about web development, Flash, and Scratch (v1 and v2) !

Offline

 

#3 2007-08-14 12:35:43

Vanslar
Scratcher
Registered: 2007-03-17
Posts: 100+

Re: Perfect Sidescrolling Engine v1.0

actually, i think _Dragon_MC_'s scrolling is better except it doesnt do backwards scrolling


  I am a royal pain in the butt, I am ~Vanslar~       
      Want better gravity? Go to
Realistic Gravity, By Vanslar 2-D
Want a better way to spend your spare time? CubeField

Offline

 

#4 2007-08-14 12:41:43

archmage
Scratcher
Registered: 2007-05-18
Posts: 1000+

Re: Perfect Sidescrolling Engine v1.0

Vanslar wrote:

actually, i think _Dragon_MC_'s scrolling is better except it doesnt do backwards scrolling

Well do you think you can tell me ways that I could improve my engine?


Hi, I am Archmage coder extraordinaire. I do Scratch,pascal,java,php,html, AS2 and AS3. Leave me a message if you want coding advice. Also check out my personal website, lots of good stuff about web development, Flash, and Scratch (v1 and v2) !

Offline

 

#5 2007-08-14 13:11:18

Vanslar
Scratcher
Registered: 2007-03-17
Posts: 100+

Re: Perfect Sidescrolling Engine v1.0

well to tell the truth, im not really sure, but there seems to be alot of flashing in yours, maybe if you use more sprites? or put bars on the sides to keep the flashing from showing, mayhems starfighter game has pretty good scrolling, maybe you could use that?


  I am a royal pain in the butt, I am ~Vanslar~       
      Want better gravity? Go to
Realistic Gravity, By Vanslar 2-D
Want a better way to spend your spare time? CubeField

Offline

 

#6 2007-08-14 14:31:39

archmage
Scratcher
Registered: 2007-05-18
Posts: 1000+

Re: Perfect Sidescrolling Engine v1.0

Vanslar wrote:

well to tell the truth, im not really sure, but there seems to be alot of flashing in yours, maybe if you use more sprites? or put bars on the sides to keep the flashing from showing, mayhems starfighter game has pretty good scrolling, maybe you could use that?

I already fixed the flashing thing, perhaps it is not showing because your broswer cached it for you. Try downloading it.


Hi, I am Archmage coder extraordinaire. I do Scratch,pascal,java,php,html, AS2 and AS3. Leave me a message if you want coding advice. Also check out my personal website, lots of good stuff about web development, Flash, and Scratch (v1 and v2) !

Offline

 

#7 2008-02-17 18:55:18

Lucario621
Community Moderator
Registered: 2007-10-03
Posts: 1000+

Re: Perfect Sidescrolling Engine v1.0

I think it is good. Also if you wanted you could add scrolling up and down. Like this:

If <(x position) > (100)> then
-Set (sidemove y) to 1
else
-Set (sidemove y) to 0
end

Well it hard to explain though I think you get the idea archmage.

Last edited by Lucario621 (2008-02-17 18:59:11)


http://i.imgur.com/WBkM2QQ.png

Offline

 

#8 2008-02-17 19:09:52

archmage
Scratcher
Registered: 2007-05-18
Posts: 1000+

Re: Perfect Sidescrolling Engine v1.0

I could add vertical scrolling but it isn't necessary for most platformer games.


Hi, I am Archmage coder extraordinaire. I do Scratch,pascal,java,php,html, AS2 and AS3. Leave me a message if you want coding advice. Also check out my personal website, lots of good stuff about web development, Flash, and Scratch (v1 and v2) !

Offline

 

Board footer