Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Krice

Pages: [1] 2 3 ... 134
1
Programming / Re: How to apply lighting to this FOV routine?
« on: August 22, 2017, 05:17:23 PM »
Well there is one solution and it's a "manual" array of data for the light intensity. It's bit more tedious way, but with that you can simply forget math, because you don't need it. You need only FOV part which in this case is already there. Then create light data for each radius size (shape of the light with intensity values from 0-8). There aren't that many of them so it's doable.

2
Programming / How to apply lighting to this FOV routine?
« on: August 22, 2017, 07:25:56 AM »
http://www.roguebasin.com/index.php?title=LOS_using_strict_definition

So I'd like to use lighting with this routine which seems to be quite nice. My lighting values are from 8 to 0 (dark). I have some kind of idea about distance and light value, but this routine is kind of strange and I'm having difficulties to figure out exactly how.

The closest I got was getting a distance from my Coords class like this: (oc = origin coordinates)
Code: [Select]
   while (next.x != x1 || next.y != y1)
    {
int d=oc.Get_Distance(next);
v=8-d;
if (v<0) v=0;
...

But with this the light source is rectangular in shape.

3
Programming / Re: Recommended Language/Development
« on: August 21, 2017, 10:35:10 AM »
I recommend C# and Visual Studio or MonoDevelop, all free. C# is a nicely structured language and  very easy to learn.

C# is solving like 10% of the technical problems compared to C++ (something like memory management, strings and lists are easier in C#). It's just a language, it's not magic. One of less known problems in advanced languages is that they tend to be slower than C or C++. It's not a problem in small projects, but may become a surprising issue in large scale games.

4
Programming / Re: Help me find a better language than C++
« on: August 21, 2017, 10:27:30 AM »
It just makes sense for a next generation game to be written in a next generation programming language

It is kind of funny that we still have to use programming languages that were developed mainly in 1970's when for example graphical displays were quite rare and everything was text and command line based. As in linux development style today. I really think we need something better than anything we have today, with new kind of thinking that would remove all those tedious procedures we have in programming. Most of my problems in programming are technical problems that could have been solved by using more advanced built-in algorithms than what we have.

5
Events and News / Re: Roguelike Radio podcast
« on: August 18, 2017, 10:20:18 AM »
Anything as "complex" or more so than nethack is also going to be bad.

Buddy, you are on a wrong forum with that opinion.

6
Events and News / Re: Roguelike Radio podcast
« on: August 17, 2017, 09:36:46 AM »
Nethack is bad.

I know, but it's still the best roguelike we have. It's quite weird to realize that.

7
Events and News / Re: Roguelike Radio podcast
« on: August 14, 2017, 09:29:29 AM »
Har! In that case, I can't think of a single Roguelike from the last 20 years.

It's true, because there are no new roguelikes. ADOM and Crawl have been updated, but it's not the same.

I also have lot of bad days, but it has nothing to do with this.

8
Events and News / Re: Roguelike Radio podcast
« on: August 12, 2017, 08:02:24 AM »
Not every Roguelike has, or should, be of the mega project variety

Most of these "roguelike" games are not even the level of original Rogue, let alone something more complex as Nethack (which in my opinion should be the starting point of complexity for a new roguelike game). This is the problem. We get all these new games, but none of them are roguelikes! It's a strange situation, but for commercial game developers money is important so they need to put their games in some category and I guess roguelikes is what they are using.

9
Events and News / Re: Roguelike Radio podcast
« on: August 11, 2017, 06:50:59 AM »
if you are not following up with looking into things before passing judgement

It was an educated guess and now when I was watching gameplay video on youtube I was right. It's exactly like all those simple "roguelikes" designed for casual players. You could say they have all roguelike features (turn-based, permadeath, random dungeon generation, rpg-system (often, as in this case, -very- light weight one)) but it's not everything. You need more than that.

10
Events and News / Re: Roguelike Radio podcast
« on: August 10, 2017, 02:04:51 PM »
not defamatory and negative as that ill serves the place.

I'm not negative, I'm realistic. The worst service to this community is always think every roguelike game is good or at least trying to stay positive.

11
Other Roguelikes / Re: Bionic Dues source code may be released
« on: August 10, 2017, 02:01:50 PM »
start to thinking about releasing source code to community in some form.

They needed thinking way before they were creating a commercial roguelike. But if it's any good, then open source it, don't just talk about it dudes. Releasing to open source doesn't mean someone will continue it, more often nothing happens. The number one reason for this is that most projects have poor quality source code.

12
Events and News / Re: Roguelike Radio podcast
« on: August 09, 2017, 12:26:42 PM »
Golden Krone Hotel is pretty clearly a Roguelike

Didn't sound like it, but how would I know, I've never even seen it or tried it.

13
Programming / Re: Help me find a better language than C++
« on: August 09, 2017, 10:07:46 AM »
it has a (perfect) CFFI so you can trivially use any C library.

Why would that be a good thing anyway? It's like saying the language sucks so much it needs C. Well, anyway, I have tried D. It's like C# but less modern and without Visual Studio's cool explanations for everything. D was an attempt to "fix" C++ but it doesn't really work that way. Java was also supposed to be that kind of language and it was a complete failure. Java's only legacy is that anything using Java is a huge security risk to your computer.

14
Events and News / Re: Roguelike Radio podcast
« on: August 08, 2017, 07:39:48 AM »
First 10 minutes and I'm already getting angry. For start, light as a functional thing has been used in games before, it's not like he invented it. For example it's an essential weapon in my 7DRL game 'Teemu' to damage grues in the grue lair.

Then he is counting the amount of commands in Nethack. Yeah, there are a lot of commands in a true roguelike. Unlike in your not-roguelike.

15
Programming / Re: Help me find a better language than C++
« on: July 27, 2017, 07:52:15 AM »
I wanted to use C# for gui stuff mainly and I've never used Unity. I guess you could create a pseudo-UI just using plain images and stuff like that, but it would somehow feel weird. By the way, I tried XCode/Swift, but it has similar kind of "problem" with UI stuff, because you are working with default UI elements, but if there is something special you need then it's going to be harder to implement. Or maybe it's easy after all who knows, but it feels quite overwhelming.

I think it would be great to have something in between SDL2 and those complete UI systems like Windows forms or XCode. Other than crappy linux-based libraries like wxWidgets.

This turned again to UI problems, but they are one big problem in programming languages. I believe the actual success of a language depends on what kind of UI libraries you can use.

Pages: [1] 2 3 ... 134