Skip to main content
gamedev.net
🔒 Locked

[java] Overhead 2d RPGs

Started by alaskamatt17 Aug 4, 2002 at 12:52 AM 1 replies 850+ views
Original Post
alaskamatt17
alaskamatt17
I was wondering how you get the background world to move in an overhead 2d RPG like Baldur''s Gate or Diablo. I want to try making my text RPG into a 2d freeware game, I already have the programs for creating art and I know how to work with sprites. If anyone could tell me how to get the background to work right, please tell me, or better yet, if you have a 2d engine you''d be willing to share, that would be great!
Scorpion
Scorpion
an easy thing to solve this is to place a sprite on the place where you want to animate, for example a tree, and cycle through the animation frames of this sprite.
nonnus29
nonnus29
This link is a test applet I made to try scrolling with a sprite. Its buggy and doesn't work just right but I learned alot from the attempt and am currently working on the next incarnation.

www.geocities.com/nonnus29/gameengine/gameengine.htm

Edit: email me if you want to see the source; also look in the reference articls on this site for tile scrolling articles.

[edited by - nonnus29 on August 4, 2002 7:42:00 PM]

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.