Author Topic: 7D Koboldicide  (Read 21440 times)

kalaeth

  • Newcomer
  • Posts: 24
  • Karma: +0/-0
    • View Profile
7D Koboldicide
« on: March 03, 2017, 08:45:00 PM »
you return from your errands to find your house destroyed, your parents killed and the last of the kobold raiding party eating your dog's corpse. Swearing vengeance you...

I've just registered my entry for my very first 7DRL, 7d Koboldicide.

I'll be using python 2.7 + libtcod, and I'll build upon a framework I've been playing around with since I found the libtcod tutorial.

My elevator pitch AKA realistic goals:
 - ASCII graphs [done]
 - no stats, just skills gained through use [done and not done : leveling is through items]
 - 4-button + direction interface [done]
 - realistic inventory (no 10-feet poles somehow hidden inside your chainmail bikini) [semi-done. there are bugs]
 - self-contained story [kinda?]
 - overworld + dungeons [done + done]

my unrealistic goals (things I want but won't promise):
 - AI that cooperates to trap, ambush and kill the player [as expected, not done.]
 - gamepad support (probably not gonna be able of doing it in libtcod) [not done also.]

And.. that's it! I'll try to finish the framework tomorrow and begin either Sunday or Monday.

end result: https://github.com/kalaeth/7DKoboldicide/blob/after_fixes/7DKoboldiide_win_fixes.rar (win executable. linux executable available at the github page too)

(I'll use this thread to post updates throughout the 7DRL)

edit: changed link to bug fixed version


new edit : newer versions. I can do a thread in another sub-forum, since this is a post 7DRL version, but I'll still update the latest version here.

https://github.com/kalaeth/7DKoboldicide/blob/Koboldicider/linux_koboldicide_v0.01.zip linux
https://github.com/kalaeth/7DKoboldicide/blob/Koboldicider/win_koboldicide_v0.02.rar win
« Last Edit: April 18, 2017, 08:32:23 PM by kalaeth »

kalaeth

  • Newcomer
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: 7D Koboldicide
« Reply #1 on: March 05, 2017, 02:39:59 PM »
Day 0 about to finish.
Will begin work around 16h00, GMT.

Created the github repository and placed there my starting point, that is based on Jotaf's libtcod tutorial, with some other works I've been doing.

https://github.com/kalaeth/7DKoboldicide

Will update here at least once a day, whenever I stop.


kalaeth

  • Newcomer
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: 7D Koboldicide
« Reply #2 on: March 06, 2017, 12:26:38 AM »
Calling it over on day one. Hope to advance a bit more tomorrow!

Fixed all the residual bugs I could find, minor tweaks to UI, added start of game, created ground work for skills.
Did a bit of work on world map generation, still needs some work.

edit: updated screenshot
« Last Edit: March 06, 2017, 12:37:58 AM by kalaeth »

kalaeth

  • Newcomer
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: 7D Koboldicide
« Reply #3 on: March 07, 2017, 01:32:26 AM »
day 2
will update progress tomorrow, but check the color coded chars and spear throwing carnage;

Entrering the dungeon feeling A-OK: the


A few dead kobolds later..

« Last Edit: March 07, 2017, 09:04:21 AM by kalaeth »

kalaeth

  • Newcomer
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: 7D Koboldicide
« Reply #4 on: March 08, 2017, 01:31:37 AM »
day 3 done-
other beings have states : friendly, neutral and agressive for now.
fixed map creation
more UI tweaks (Added mini-map to corner. dungeon mini-map needs work)
and more.

I had to go and disturb the poor kobold during his meal..

kalaeth

  • Newcomer
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: 7D Koboldicide
« Reply #5 on: March 09, 2017, 02:08:27 AM »
Day 4 done

lots of stuff!
including:
 - almost fixed level switching
 - added a end condition and a way to reach it!
 - added NPC shops  : leatherworks, lumberjack and a nurse
 - fixed the forests:

kalaeth

  • Newcomer
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: 7D Koboldicide
« Reply #6 on: March 10, 2017, 02:24:34 AM »
DAY 5

Short dev day today... but tomorrow is friday! and then, the weekend.

fixed end game. still needs more fixing. Like, ending the game
added backpacks, bags and carry limitations. That aren't exactly working yet
added dungeon names! still don't do much with them, but looking at the stairs down tells you the name of the place

About to die:


have I mentioned dual wielding? And names for the enemies?


a plastic bag, a dangerous item..



edit : fixing the images.
note to self :
 -> remove the XP message since it's not actually doing anything.
« Last Edit: March 10, 2017, 10:28:49 AM by kalaeth »

kalaeth

  • Newcomer
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: 7D Koboldicide
« Reply #7 on: March 11, 2017, 04:28:17 AM »
day 6
not a lot of stuff visible but tons of tiny stuff and a couple set backs (I seem to have broken the maps again, but all can be fixed. Hopefully.)

so.. me after punching a kobold to death:


and me deciding which hat to wear:

kalaeth

  • Newcomer
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: 7D Koboldicide
« Reply #8 on: March 11, 2017, 06:07:37 PM »
finished day 6 one hour ago. I now have 23hours. No more content will be added, now it's time to finish the game!

help menu:


things that must get fixed :
 -> dungeon levels
 -> the quit bug (quitting the game doesn't quit.)
 -> levels aren't persisting

things I'd like to still have time to do:
 -> save/load would be cool, but since the game can be won in a hour or so, I don't think it as a priority
 -> pick a image for the menu background
 -> etc etc


kalaeth

  • Newcomer
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: 7D Koboldicide
« Reply #9 on: March 12, 2017, 02:52:17 AM »
things that must get fixed :
 -> dungeon levels [fixed]
 -> the quit bug (quitting the game doesn't quit.) [fixed?]
 -> levels aren't persisting [fixed]

things I'd like to still have time to do:
 -> save/load would be cool, but since the game can be won in a hour or so, I don't think it as a priority
 -> pick a image for the menu background [done]
 -> etc etc

also, the weapon switching isn't working all that well. best idea would probably be to redo the entire inventory handling part... maybe tomorrow.

For now. here is the first version : https://github.com/kalaeth/7DKoboldicide/blob/master/7DKoboldicide_linux.7z
(in windows, you can try to run with python 2.7 and the required dlls. no win exec yet, if i can I will do it tomorrow)

kalaeth

  • Newcomer
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: 7D Koboldicide
« Reply #10 on: March 12, 2017, 04:59:54 PM »
and i'm calling it DONE

success, sort off. will talk about it later / tomorrow.
for now, here's the linux version : https://github.com/kalaeth/7DKoboldicide/blob/master/7DKoboldicide_linux.7z

edit: here's the windows one : https://github.com/kalaeth/7DKoboldicide/blob/master/2017%207DRL%207DKoboldicide.zip

new edit : added missing SDL.dll
« Last Edit: March 12, 2017, 06:09:57 PM by kalaeth »

kalaeth

  • Newcomer
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: 7D Koboldicide
« Reply #11 on: March 13, 2017, 11:58:14 PM »

kalaeth

  • Newcomer
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: 7D Koboldicide
« Reply #12 on: April 09, 2017, 11:15:19 PM »
so, after a pretty decent score in the reviews, I decided to finally do a new exec for the post 7DRL of koboldicide.
there's new zones, although only the desert has actual content (try and kill worms for a while, or grab a boomerang under the desert.
there's more new stuff to discover, so.. enjoy!

https://github.com/kalaeth/7DKoboldicide/blob/Koboldicider/linux_koboldicide_v0.01.zip linux

https://github.com/kalaeth/7DKoboldicide/blob/Koboldicider/win_koboldicide_v0.01.zip win
« Last Edit: April 10, 2017, 08:25:15 PM by kalaeth »

Avagart

  • 7DRL Reviewer
  • Rogueliker
  • *
  • Posts: 567
  • Karma: +0/-0
    • View Profile
Re: 7D Koboldicide
« Reply #13 on: April 10, 2017, 09:06:15 AM »
I'm unable to play it, unfortunately. Game crashes at start. I was trying to run Koboldicide as windows binary, and from sources. Didn't try it under linux.

Sources (python 2.7.12):
Code: [Select]
Traceback (most recent call last):
  File "C:\Users\Elvis\Downloads\7DKoboldicide-Koboldicider\7DKoboldicide.py", line 8, in <module>
    import libtcodpy as libtcod
  File "C:\Users\Elvis\Downloads\7DKoboldicide-Koboldicider\libtcodpy.py", line 60, in <module>
    _lib = ctypes.cdll['./libtcod-VS.dll']
  File "D:\Programowanie\python\python\lib\ctypes\__init__.py", line 437, in __getitem__
    return getattr(self, name)
  File "D:\Programowanie\python\python\lib\ctypes\__init__.py", line 432, in __getattr__
    dll = self._dlltype(name)
  File "D:\Programowanie\python\python\lib\ctypes\__init__.py", line 362, in __init__
    self._handle = _dlopen(self._name, mode)
WindowsError: [Error 126] The specified module could not be found

windows binary (win10 64-bit):
Code: [Select]
Traceback (most recent call last):
  File "koboldicide.py", line 8, in <module>
  File "zipextimporter.pyc", line 82, in load_module
  File "libtcodpy.pyc", line 60, in <module>
  File "ctypes\__init__.pyc", line 437, in __getitem__
  File "ctypes\__init__.pyc", line 432, in __getattr__
  File "ctypes\__init__.pyc", line 362, in __init__
WindowsError: [Error 126] The specified module could not be found

I encountered these errors in 7DRL version and latest release.

edit: just found the source of this issue. Your roguelike started to work properly after adding SDL.dll to game directory.  Also, it seems that SDL2.dll (that is present in game archive) is unnecessary to run Koboldicide.
« Last Edit: April 10, 2017, 09:11:46 AM by Avagart »

kalaeth

  • Newcomer
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: 7D Koboldicide
« Reply #14 on: April 10, 2017, 12:36:09 PM »
oh, I placed the wrong dll then.. I'll fix it later today, when I'm at home.
 Thanks for the warning!