Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > The real world > Idle chatter

Reply
 
Thread Tools Display Modes
Old August 12, 2013, 21:41   #1
Narvius
Knight
 
Narvius's Avatar
 
Join Date: Dec 2007
Location: Poland, Katowice
Age: 27
Posts: 589
Narvius is on a distinguished road
My Roguelike project

So, ever since I got into Angband for real (which seems to be early 2008, so over five years ago), I wanted to write my own roguelike. I've started, and quickly abandoned, several projects over that time, each time justifying myself with something along the lines of "it's too big a project for now".

Turns out I'm simply a lazy fuck. Over the last three days, however, I tried to power through and actually get something done.

https://www.dropbox.com/s/fg2ilyqovsm6es1/rgbRL.zip

So, this is an early prototype of my RL. Requires Windoze 64-bit, as well as SDL on $PATH and OpenGL. The Windoze64 requirement could be relaxed, but I'd have to fiddle around with the bundling, so only if someone wants it.
...yeah, I set the bothering-barrier kinda high with those requirements. :<

IN CASE ANYONE GETS TO TRY IT ANYWAYS:
Controls are Numpad + Numeric keys (1-3) + Space.

It's written in Common Lisp, though I'm currently somewhat ambivalent on open-sourcing it. I probably will at some point.

Also note that as of now, targetting self will usually result in a nice crash, coupled with cryptic error message and all I still am a lazy fuck, just a bit less.

Also, I don't ever want to write field of vision or pathfinding ever again. Please.


[Edit]
You have three resource bars, aptly named Red, Green and Blue. Each one of those serves as both HP and mana for spells.
There is no bump-attack - for the player, killing happens only via spells.
Transposition swaps places with a target, taking up no time in the process.
Spark is some direct damage.
Push... well, pushes away the target, three fields. If it crashes into something, it takes damage.
If any resource bar falls to zero through damage (but not through paying for spells), it becomes "broken" - it's locked at zero until the break wears off (ten turns for now).
The only way you can take damage other than green in this prototype is by casting Spark on self. If you take damage of a color you have zero in, you die. Damage bringing you down to zero doesn't kill you.
There is no goal, though you can try to kill all goblins. It's relatively achievable/easy.
__________________
If you can convincingly pretend you're crazy, you probably are.

Last edited by Narvius; August 12, 2013 at 22:07.
Narvius is offline   Reply With Quote
Old August 13, 2013, 05:39   #2
fizzix
Prophet
 
Join Date: Aug 2009
Location: Madison, Wisconsin, US
Posts: 3,002
fizzix is on a distinguished road
If you haven't already, you should also post this on some other roguelike forums. The other game forum on the bay12 website is a good option. Also the roguelike subreddit on reddit is probably worth it as well.

Also, I'm going to be in Poland for a couple days in September, I'm looking forward to it!
fizzix is offline   Reply With Quote
Old August 13, 2013, 05:47   #3
lukaus
Rookie
 
Join Date: Jul 2013
Posts: 11
lukaus is on a distinguished road
I don't know what those requirements mean O.o
Its good you're bearing down on your project, though!

But I am curious, how does one write the code for field of vision? I can't work out the code-logic behind it in my head. I guess itd be something like.. show everything within a certain radius, then find opaque things within that circle... then block out.. something.... :P

If there is some online guide or something, could you point me to it?
lukaus is offline   Reply With Quote
Old August 13, 2013, 06:00   #4
Derakon
Prophet
 
Derakon's Avatar
 
Join Date: Dec 2009
Posts: 8,927
Derakon is on a distinguished road
Lukaus: there's a number of possible algorithms you can use. For Pyrel, I copied this article, in large part because it had existing code available for me to steal.
Derakon is offline   Reply With Quote
Old August 13, 2013, 06:32   #5
lukaus
Rookie
 
Join Date: Jul 2013
Posts: 11
lukaus is on a distinguished road
Ah, amazing, thank you! This whole website looks quite useful..
lukaus is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Otherwise known as a Roguelike. xibalba Idle chatter 1 May 6, 2012 01:18
Olympus, my new and hopefully longer-lived project Therem Harth Variants 13 October 30, 2010 08:58
Variant Project Nick Development 47 July 12, 2010 18:56
TANG - Community Project Sirridan Vanilla 12 June 4, 2009 08:21
AngEdit - complementary project to JBand/Angband PaulBlay Development 0 May 29, 2009 16:13


All times are GMT +1. The time now is 12:05.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.