XNA Isometric Engine
HTML-код
- Опубликовано: 5 сен 2024
- Project for BCIT CST Technical Programming option, 2012.
This is a simple 2D Isometric persepective rendering engine that I made for my final project at BCIT in Burnaby, BC. It uses XNA (C#) and is based off the Heliopause engine by Alex McGilvray (levelism.com/).
There purpose of the game was to simulate the hectic life of a CST student. Other students made mini-games (not shown) that represent the different courses in a CST term, while I developed the isometric rendering code for the halls and classrooms. The objective is to pass all your courses!
Artwork made in 3DSMax by Blaise Jarrett and Abdon Cox.
Its actually based on a fairly standard tile based layout. All objects have coordinates in an xy grid. If you try to move left, it checks if you are already in the leftmost column. If not it checks if there is already an object in the next space to the left. If not, you move. The only real difference between this and any other tile based system is that an algorithm calculates a positional shift when all objects are loaded to line it up with the proper perspective.
You can click the link in the description to find the heliopause engine. However, the isometric component I added into the engine is not available and I have no intention of making it available on the grounds that it was developed specifically for this project only and is not in a state that would be particularly usable to others. Basically, the code is more prototype than production.
Nope, just strict 2D arrays. Each cell in the grid has a letter representing an object in that space, for instance d for desk, c for chair, e for empty space. If I try to move left, i just check the cell to the left (if one exists) to see if it is an e. if it is, i move the character left.
Nice work! Looks like you guys really expanded on the tech!
ITS GREAT
Do you use a kind of "y=mx+b" algorithm to process the arrays of bounds?
Thats too bad. Thanks for the info. Was hoping I found something workable to adapt to a new game. If you change your mind, please let me know. THanks.
I dont suppose this engine is open source?
Been trying to find something to help develop an isometric fake-3d game, similiar to classic fallout or shadowrun but there's not many xna tutorials out there that do this.
How did you managed polygon colisions?