winzip icon

DirectX 8.1 Level/World Editor Version 2 With Game Mode

Email
Submitted on: 2/12/2015 1:07:00 AM
By: William Hughes (from psc cd)  
Level: Advanced
User Rating: By 4 Users
Compatibility: VB 6.0
Views: 757
 
     This is version 2 of my RPG Editor in DX8.1. This Version has many optimations. Its a lot faster then the previous version. If there was more then 10,000 tiles placed, the FPS would drop to like 1, now the FPS is constantly around 30-50. Ok. to start the editor. you go to file ->new then MMORPG map. Its actually rpg but havnt changed that yet. Then there is 4 Layers. The first layer is the background tile layer. that layer is where the character cant walk. the second layer if the walkable tile layer. that layer is where the character can walk. the third layer is the object layer. thats where most objects will go the fourth layer is the overlap object layer. that is for objects that are always on top. You can also change the color of objects and tiles by holding C and placing the tile object. you can add NPC's by holding N and clicking. you can add monsters by holding M and clicking. Also, fill screen is really fill sector, a sector is 15x15 tiles. You can also test the map by selecting game mode then a character will be displayed. You can also move tiles from 1 layer to another. for example if a tile is on layer 1, you can move it to layer 2 by holding 2 and clicking. to move a tile from layer 2 to layer 1. hold 1 and click. the editor also saves in sectors. so when loading a map, load the file 1-1. if the entire map doesnt load. you will need to go to view-options and increase the # of sectors. Future versions will have even faster rendering, and better memory managment. When deleting a tile or a object, it still stores the texture in memory. There is also some rendering glitches when deleting tiles or moving them from one layer to another but they hardly occur. Other features that will be in future versions will include ability to talk to NPC's, adding music and maybe battling. The Interface has also changed. I have been working on this project for a long time so please leave comments on what you think and maybe some feature suggestions. There is a test map in the folder test. I didnt add collision to the map, but it gives a basic idea of what a game would look like with the editor.

 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
  3. Scan the source code with Minnow's Project Scanner

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Advanced category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments


 There are no comments on this submission.
 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)
 

To post feedback, first please login.