Poll results:
Battle System= 4 votes "Done"
Looting Chests = 1 vote
Game Engine= 3 votes "Done"
Here is my first "proper" games in LÖVE 2D. It is going to be a simple dungeon crawler, with RPG battle scene.
For now it is just raw code and only the layout of the first four levels are done.
Things that are done:
Movement
Map files
Collision
Player direction
Enemies
Battle System
Game Engine
Not done:
More Monsters...
Misc...
Current Stages:
-->Pre-Alpha: Game Engine <--
Alpha: Graphics
Beta: Sound
After-Beta/Gold: Debugging
Change lists and everythind else avaliable on the website.
Website: http://barturov.co.uk/
The Crawler of Dungeons™ [!RENAMED! AND !REBORN!]
The Crawler of Dungeons™ [!RENAMED! AND !REBORN!]
- Attachments
-
- The_Crawler_of_Dungeons.love
- Game Version v0.1
- (90.8 KiB) Downloaded 1150 times
Last edited by Davidobot on Thu May 10, 2012 3:40 pm, edited 20 times in total.
PM me on here or elsewhere if you'd like to discuss porting your game to Nintendo Switch via mazette!
personal page and a raycaster
personal page and a raycaster
-
- Prole
- Posts: 28
- Joined: Tue Mar 20, 2012 10:39 am
Re: Dungeon Crawler
So far so good, waiting for the battle system
Re: Dungeon Crawler
Nice
If you remove .lua from the requires then it will be 0.8 compatible:
If you remove .lua from the requires then it will be 0.8 compatible:
Re: Dungeon Crawler
Hello, for now your dungeon crawler is doing well. Just a few regards:
1 - You are drawing character before map. That's ok for now with empty floor tiles. But when you have real floor map that will be draw over character. Better switch the draw order.
2 - Even that you may intend your tiles be always 32x32 is advisable you keep that value instead in variables for use (tile.w/tile.h for example) in draws and calculations. It will give to your engine a proper flexibility later. Also introduce in draws routine zoom (even that normal x1 scale) will make it also ready for map zooms or other draw effects. This could be done of course later but the sooner you think your code this way the better.
Resuming don't keep in your calculations/drawings "hard-coded" numbers like the 32 value of tile size.
3 - the "if gamestate=="lvl_1" then --Checks the lvl lvl_1() end" checking is better suitable/wise to be keep in update and not in draw.
Nice work and have a good development on this.
1 - You are drawing character before map. That's ok for now with empty floor tiles. But when you have real floor map that will be draw over character. Better switch the draw order.
2 - Even that you may intend your tiles be always 32x32 is advisable you keep that value instead in variables for use (tile.w/tile.h for example) in draws and calculations. It will give to your engine a proper flexibility later. Also introduce in draws routine zoom (even that normal x1 scale) will make it also ready for map zooms or other draw effects. This could be done of course later but the sooner you think your code this way the better.
Resuming don't keep in your calculations/drawings "hard-coded" numbers like the 32 value of tile size.
3 - the "if gamestate=="lvl_1" then --Checks the lvl lvl_1() end" checking is better suitable/wise to be keep in update and not in draw.
Nice work and have a good development on this.
Re: Dungeon Crawler
1-Donecoffee wrote:Hello, for now your dungeon crawler is doing well. Just a few regards:
1 - You are drawing character before map. That's ok for now with empty floor tiles. But when you have real floor map that will be draw over character. Better switch the draw order.
2 - Even that you may intend your tiles be always 32x32 is advisable you keep that value instead in variables for use (tile.w/tile.h for example) in draws and calculations. It will give to your engine a proper flexibility later. Also introduce in draws routine zoom (even that normal x1 scale) will make it also ready for map zooms or other draw effects. This could be done of course later but the sooner you think your code this way the better.
Resuming don't keep in your calculations/drawings "hard-coded" numbers like the 32 value of tile size.
3 - the "if gamestate=="lvl_1" then --Checks the lvl lvl_1() end" checking is better suitable/wise to be keep in update and not in draw.
Nice work and have a good development on this.
3-Done
2-How?
PM me on here or elsewhere if you'd like to discuss porting your game to Nintendo Switch via mazette!
personal page and a raycaster
personal page and a raycaster
Re: Dungeon Crawler
You don't need do much. Just transfer it from love.draw to draw.update. It's the right place for that kind of code. (You won't "harm" left it in draw but it should do update stuff before draw).Davidobot wrote: 1-Done
3-Done
2-How?
Code: Select all
function love.update(dt)
if gamestate=="lvl_1" then --Checks the lvl
lvl_1()
end
if gamestate=="lvl_2" then
lvl_2()
end
---
Re: Dungeon Crawler
Re: Dungeon Crawler
Thanks for the help, but I needed more of it on the 3rd statement/answercoffee wrote:You don't need do much. Just transfer it from love.draw to draw.update. It's the right place for that kind of code. (You won't "harm" left it in draw but it should do update stuff before draw).Davidobot wrote: 1-Done
3-Done
2-How?You better design also a function to deal auto with multiple levels and also check when there is a level change. Because this way you in every cycle (either in update or draw) are loading again and again same level. Use some boolean to prevent loading level again. Turn it true when reaching a gate. Turn it false/nil after loading a level.Code: Select all
function love.update(dt) if gamestate=="lvl_1" then --Checks the lvl lvl_1() end if gamestate=="lvl_2" then lvl_2() end ---
PM me on here or elsewhere if you'd like to discuss porting your game to Nintendo Switch via mazette!
personal page and a raycaster
personal page and a raycaster
Re: Dungeon Crawler
Thanks but I prefer *for now* to make the levels manualy
PM me on here or elsewhere if you'd like to discuss porting your game to Nintendo Switch via mazette!
personal page and a raycaster
personal page and a raycaster
Re: Dungeon Crawler
I also think it's better for learning do your own engine than obey "tiled" rules (even that is a flexible engine).Davidobot wrote:Thanks but I prefer *for now* to make the levels manualy
I did quickly and dirtly a change to how your treat levels. I think its a better way. (you don't need to do that level checking and you auto load levels now). Sorry if I mess with something and didn't notice and of course it's only a quick sugestion. A lot can still be improved.
Who is online
Users browsing this forum: Amazon [Bot], Bing [Bot] and 4 guests