Page 1 of 1

2d adventure and action

PostPosted: Sun Oct 03, 2010 2:18 am
by inoculah
ok im pretty much wondering you know how you play a game such as thing thing arena and stuff like that. im wondering how do you set up the screen to continue on left and right like with the big map just have the screen focused on maybe about 2 inches V and H of your character and when you move the screen is advancing to the next part of the map with you centered in the middle of your screen.

example:
thing thing arena 2. when you move your in the center of the screen and your moving to other parts of the map.
http://www.crazymonkeygames.com/Thing-T ... ena-2.html

Re: 2d adventure and action

PostPosted: Mon Oct 04, 2010 10:25 pm
by SirAz
uh.... start by going through the making the view follow an actor tutorials. Make your character sprites up and any HUD elements you think you'll need. A centreview actor should be the view's focus, who only moves left or right when the player sprite get too far to the edge of the screen. Then make some background sprites in 3 layers (floor sprite, wall sprite, ceiling sprite, obstacles sprite.)

You'll want a script that creates these objects at the start of each level, so you don't have to draw the entire game - background, ceiling, floor and obstacles - in each 'section'. Imagine each level as a stack of cards - one rectangle after another each with a different design.

Does this make sense? This is how I would do it, until you feel like playing around with more complex Level generation scripts.

Re: 2d adventure and action

PostPosted: Mon Oct 04, 2010 11:06 pm
by inoculah
i understand what your saying. i might try that.

Re: 2d adventure and action

PostPosted: Tue Oct 05, 2010 5:12 am
by zxcvbnm
Step by step tutorials for you located here
viewtopic.php?f=4&t=8680&p=62336&hilit=tutorial+database