Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 2 [3] 4 5 ... 7

Author Topic: The Bay12 7-Day Roguelike Festival - April Theme: Huzzah!  (Read 12500 times)

Max White

  • Bay Watcher
  • Still not hollowed!
    • View Profile
Re: The Bay12 7-Day Roguelike Festival - April Theme: Huzzah!
« Reply #30 on: April 08, 2011, 11:51:21 pm »

Posting due to extreme interest.
Also, this should be an official event, or a sticky, or something.


EDIT:
I just had a thought. A wonderful thought, and I think I want to make something, and I think I want it to be a roguelike, and I think I can do it in seven days. I will start tomorrow, and in a weeks time I will come back with something wonderfully awful. I wonder just how attached I can get you to feel for this character, using a method both underhanded and fun.

alfie275

  • Bay Watcher
    • View Profile
Re: The Bay12 7-Day Roguelike Festival - April Theme: Huzzah!
« Reply #31 on: April 09, 2011, 10:55:41 am »

Starting 7DRL.
Logged
I do LP of videogames!
See here:
http://www.youtube.com/user/MrAlfie275

Max White

  • Bay Watcher
  • Still not hollowed!
    • View Profile
Re: The Bay12 7-Day Roguelike Festival - April Theme: Huzzah!
« Reply #32 on: April 09, 2011, 08:02:33 pm »

So not knowing for sure where to start, I figure making the item system was a quick and simple problem that I should get out of the way as soon as possible. After all, items are independent of their environment, but the environment has items in it, so build from the bottom up! I did a little testing on my shiny new item generator and this came out.

Spoiler (click to show/hide)

So everything went as expected! Brilliant! Now to start on making the classes from the player, the minions and the bosses.

EDIT: Got annoyed with having several of the same capes turn up at the same time, so I fixed that, now the results are more evenly randomised.

Levi

  • Bay Watcher
  • Is a fish.
    • View Profile
Re: The Bay12 7-Day Roguelike Festival - April Theme: Huzzah!
« Reply #33 on: April 09, 2011, 10:47:09 pm »

Those are great names.  I want a nice cloak of the four winds in real life.  :)
Logged
Avid Gamer | Goldfish Enthusiast | Canadian | Professional Layabout

Max White

  • Bay Watcher
  • Still not hollowed!
    • View Profile
Re: The Bay12 7-Day Roguelike Festival - April Theme: Huzzah!
« Reply #34 on: April 09, 2011, 10:55:58 pm »

In real life I would want a feather cloak of the four winds. Highest speed rating possible! Although in game it will be powerful and hard to control, so it's a fun trade off.

EDIT: No realy, this is getting annoying. How do I make use of this libtcod dll? I is wanted to do stuff! Any advice?

Levi

  • Bay Watcher
  • Is a fish.
    • View Profile
Re: The Bay12 7-Day Roguelike Festival - April Theme: Huzzah!
« Reply #35 on: April 09, 2011, 11:38:58 pm »

This in python?   There is a tutorial hidden in the op somewhere. 

For me I just dropped libtcodpy.py, SDL.dll, libtcod-mingw.dll and one of the font png files into my main code directory.
Logged
Avid Gamer | Goldfish Enthusiast | Canadian | Professional Layabout

Max White

  • Bay Watcher
  • Still not hollowed!
    • View Profile
Re: The Bay12 7-Day Roguelike Festival - April Theme: Huzzah!
« Reply #36 on: April 09, 2011, 11:43:56 pm »

Sorry, I always forget to specify, c#. I guess I could convert my current code into python in a short amount of time, but I program a lot faster in c#, but python works better cross platform, but I I like how the c syntax works, but python is close enough to c syntax just replacing {} with indenting, but python tries to be smart and it annoys me!

So hard to choose... If I don't have a c# solution by tonight I pack up shop and move over to python territory. One day I might go home to c++, but not for this project!

Levi

  • Bay Watcher
  • Is a fish.
    • View Profile
Re: The Bay12 7-Day Roguelike Festival - April Theme: Huzzah!
« Reply #37 on: April 09, 2011, 11:49:17 pm »

The python/c# calls are probably practically identical.  But I have no idea how to compile/set up on c#.

I know how you feel.  I've been programming in ruby so long that all the other languages feel like they involve too much typing and not enough shortcuts.  :)   
Logged
Avid Gamer | Goldfish Enthusiast | Canadian | Professional Layabout

Max White

  • Bay Watcher
  • Still not hollowed!
    • View Profile
Re: The Bay12 7-Day Roguelike Festival - April Theme: Huzzah!
« Reply #38 on: April 09, 2011, 11:57:01 pm »

Throw up your python calls, if your willing. I might be able to translate between the two. If not then they will save me work later tonight when I translate what I do have into python.

How is ruby working for you? I have never done anything in it, only knowing it is some what high level.

Levi

  • Bay Watcher
  • Is a fish.
    • View Profile
Re: The Bay12 7-Day Roguelike Festival - April Theme: Huzzah!
« Reply #39 on: April 10, 2011, 12:03:09 am »

after this:
import libtcodpy as tcod

Here is a semi-random selection:

tcod.console_set_foreground_color(con, color)
tcod.console_put_char(con, x, y, char, tcod.BKGND_NONE)
tcod.console_blit(con, x, y, width, height, 0, 0, 0)
tcod.console_hline(con, x, y, width)
tcod.console_put_char(con, x, y, char, tcod.BKGND_NONE)
tcod.map_new(width, height)
tcod.map_set_properties(fov, x, y, True, False)
tcod.path_new_using_map(fov)

How is ruby working for you? I have never done anything in it, only knowing it is some what high level.

Ruby works fantastic for me, as long as I never have to link to another library.  I think rubyists in general tend to be sloppy coders so a lot of the interfaces and library supports tend to be buggy or non-maintained.

For getting something done fast ruby is great though.  Its like perl without the terrible syntax.
« Last Edit: April 10, 2011, 12:05:33 am by Levi »
Logged
Avid Gamer | Goldfish Enthusiast | Canadian | Professional Layabout

Max White

  • Bay Watcher
  • Still not hollowed!
    • View Profile
Re: The Bay12 7-Day Roguelike Festival - April Theme: Huzzah!
« Reply #40 on: April 10, 2011, 12:17:26 am »

I'll use c++ for any heavy lifting, but most things like accounting programs just do not need that level of power. C# I find is fast to program in (Partly due to the most wonderful visual studio) and plugs into most things like a boss. Making it talk to your SQL server could not be more simple if you tried (Language even have a 'using' feature that will close your stream when your done with it).

Sorry, enough of my fanboy daydreaming. I may be a little too emotionally attached. But while I have nothing else to do, time to dust off the python documentation. Be back with a rogulike!

Flaming Dorf

  • Bay Watcher
  • Oh No Indian!
    • View Profile
Re: The Bay12 7-Day Roguelike Festival - April Theme: Huzzah!
« Reply #41 on: April 10, 2011, 02:03:29 am »

Started today. I should be able to finish within a week, but only time will tell.
Happy coding, everyone. :)
Logged
[PERMITTED_JOINT:100] (It's a maximum number per day. This is the elven setting)

Levi

  • Bay Watcher
  • Is a fish.
    • View Profile
Re: The Bay12 7-Day Roguelike Festival - April Theme: Huzzah!
« Reply #42 on: April 11, 2011, 12:05:25 am »

Well, I'm currently building my super villain generator.  So far the names are...  Well, it needs some work.  Here are some samples so far:

Spoiler (click to show/hide)

My favorite three are "The Mighty Hobo", "Outsider Blue" and "Music Monster".

The most awkward has to be "Candle Bodybuilder".  I don't even want to know what that super villain is like.

The original intent was to associate the name vaguely with the power, but the best I can do is slightly increase the chance of it picking an appropriate name.  I think I'll just end up having a whole lot of villains who's names have absolutely nothing to do with their powers.  Haha.  I guess there is only so much I can do in 7 days.  I think after the Villain generator is done I'll focus on adding more powers and skills (time permitting).

Logged
Avid Gamer | Goldfish Enthusiast | Canadian | Professional Layabout

Biag

  • Bay Watcher
  • Huzzah!
    • View Profile
Re: The Bay12 7-Day Roguelike Festival - April Theme: Huzzah!
« Reply #43 on: April 11, 2011, 12:28:37 am »

I think my personal favorite is "The Bad Candle." Although "The Red Man" is actually pretty intimidating.

Looking forward to your entries, MaxWhite and Flaming Dorf!
Logged

Max White

  • Bay Watcher
  • Still not hollowed!
    • View Profile
Re: The Bay12 7-Day Roguelike Festival - April Theme: Huzzah!
« Reply #44 on: April 11, 2011, 02:44:44 am »

Dang python! It's called an attribute variable! It is middle priory between a local/parameter variable, and a global variable! Knowing this, I shouldn't have to type 'self' every time I want to use it, you should just know! Silly language could at least have the decency to use 'this' like every other sane language.

So... Fun little problem. I need for two of my classes to have bidirectional navigability. In c++ I would declare my class A, then declare and define my class B, then define class A. In c# I would just define them as I go, as it is omnipotent and can see the classes below what I'm currently working on. In python? I get bitch slapped because neither of these things work.

Why would anybody ever use this language?!?!?!?!?!?! Were it not for the fact that I enjoy being bitch slapped by a programming language, just for that extra smug feeling when it works...
Pages: 1 2 [3] 4 5 ... 7