Bay 12 Games Forum

Please login or register.

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

Author Topic: The Bay12 72-Hour Roguelike Contest - February Theme: "The Director"  (Read 15994 times)

Siquo

  • Bay Watcher
  • Procedurally generated
    • View Profile
Re: The Bay12 72-Hour Roguelike Contest - February Theme: "The Director"
« Reply #45 on: January 14, 2011, 09:56:10 am »

Tonight I hope to complete a first working version of my Agricola-based game. It's a simple "gather resources"-"feed your family"-"expand your farm" type game with a time limit, and you get a score based on what you've accumulated in that time.

There's still a ton of stuff that needs to go in though, but I know that's exactly where most of my projects strand: bloat...  :(
Logged

This one thread is mine. MIIIIINE!!! And it will remain a happy, friendly, encouraging place, whether you lot like it or not. 
will rena,eme sique to sique sxds-- siquo if sucessufil
(cant spel siqou a. every speling looks wroing (hate this))

Blank Expression

  • Bay Watcher
    • View Profile
Re: The Bay12 72-Hour Roguelike Contest - February Theme: "The Director"
« Reply #46 on: January 14, 2011, 03:17:13 pm »

JS isn't capable of true multi-threading, unfortunately. It's far too high-level to give the developer any meaningful agency when it comes to memory management, process control, or other things of that nature.

It does, however, have event handling, so it is possible in theory to simulate multithreading by creating event callbacks which would perform particular calculations asynchronously, which would help stop intensive processes from causing the browser to become unresponsive.
What, you mean you don't like throwing setTimeout() calls everywhere?

(I kid, I kid.)
Logged

Endek

  • Bay Watcher
    • View Profile
Re: The Bay12 72-Hour Roguelike Contest - February Theme: "The Director"
« Reply #47 on: January 15, 2011, 09:33:53 pm »

JS isn't capable of true multi-threading, unfortunately. It's far too high-level to give the developer any meaningful agency when it comes to memory management, process control, or other things of that nature.

It does, however, have event handling, so it is possible in theory to simulate multithreading by creating event callbacks which would perform particular calculations asynchronously, which would help stop intensive processes from causing the browser to become unresponsive.
What, you mean you don't like throwing setTimeout() calls everywhere?

(I kid, I kid.)

setTimeout()/setInterval() is indeed what I was talking about, yes :D

WebWorkers is perhaps a better way of doing it, but that isn't widely supported yet.
Logged

Siquo

  • Bay Watcher
  • Procedurally generated
    • View Profile
Re: The Bay12 72-Hour Roguelike Contest - February Theme: "The Director"
« Reply #48 on: January 16, 2011, 07:34:37 pm »

Tonight I hope to complete a first working version of my Agricola-based game.
Ok, I lied, I've been playing TF2. Tomorrow! Maybe!

Oh, my segfault was a Neo. One of my guys kept managing to escape the world I made for him.
Logged

This one thread is mine. MIIIIINE!!! And it will remain a happy, friendly, encouraging place, whether you lot like it or not. 
will rena,eme sique to sique sxds-- siquo if sucessufil
(cant spel siqou a. every speling looks wroing (hate this))

SolarShado

  • Bay Watcher
  • Psi-Blade => Your Back
    • View Profile
Re: The Bay12 72-Hour Roguelike Contest - February Theme: "The Director"
« Reply #49 on: January 16, 2011, 10:55:28 pm »

Oh, my segfault was a Neo. One of my guys kept managing to escape the world I made for him.

had a similar problem myself, off-by-one error implementing this map generator
Logged
Avid (rabid?) Linux user. Preferred flavor: Arch

Siquo

  • Bay Watcher
  • Procedurally generated
    • View Profile
Re: The Bay12 72-Hour Roguelike Contest - February Theme: "The Director"
« Reply #50 on: January 17, 2011, 04:54:15 am »

I forgot to change an x to an y whilst copypasting :P

Also, I accidentally learned something new nobody ever tells you: In C++, you *can* define template classes inside the cpp file if you only call them from elsewhere within that same file. Learning something new every day...
Logged

This one thread is mine. MIIIIINE!!! And it will remain a happy, friendly, encouraging place, whether you lot like it or not. 
will rena,eme sique to sique sxds-- siquo if sucessufil
(cant spel siqou a. every speling looks wroing (hate this))

salmonjockey

  • Bay Watcher
    • View Profile
Re: The Bay12 72-Hour Roguelike Contest - February Theme: "The Director"
« Reply #51 on: January 18, 2011, 12:16:31 pm »

I forgot to change an x to an y whilst copypasting :P

Also, I accidentally learned something new nobody ever tells you: In C++, you *can* define template classes inside the cpp file if you only call them from elsewhere within that same file. Learning something new every day...

The more general lesson, in case no one ever told you, is that there isn't really any difference between "the cpp file" and any other file. If you want, you can include a .cpp file in a .hpp file. The file endings are just conventions to aid structure and readability.
Logged

Siquo

  • Bay Watcher
  • Procedurally generated
    • View Profile
Re: The Bay12 72-Hour Roguelike Contest - February Theme: "The Director"
« Reply #52 on: January 18, 2011, 02:31:52 pm »

Ah, but I know there's some really great advantages to splitting the two, and keeping them apart. Plus that I'm used to it by now. It's a good thing to do things "by the rules" at first, until you learn actually why that was a good idea.

Ok, I'm going to zip and upload the first release (after I've watched the Big Bang Theory with my gf), here's a screenie of my first highscore:

Spoiler (click to show/hide)
Logged

This one thread is mine. MIIIIINE!!! And it will remain a happy, friendly, encouraging place, whether you lot like it or not. 
will rena,eme sique to sique sxds-- siquo if sucessufil
(cant spel siqou a. every speling looks wroing (hate this))

Siquo

  • Bay Watcher
  • Procedurally generated
    • View Profile
Re: The Bay12 72-Hour Roguelike Contest - February Theme: "The Director"
« Reply #53 on: January 18, 2011, 03:15:13 pm »

I'm disqualified. I couldn't even do it in 7 days. Damn you, TF2!


Even though, there we go, I hope it actually works on any machine other than mine:

http://www.siquo.net/pachter/Pachter_0.0.1.zip

Spoiler: Manual (click to show/hide)
« Last Edit: January 18, 2011, 03:18:03 pm by Siquo »
Logged

This one thread is mine. MIIIIINE!!! And it will remain a happy, friendly, encouraging place, whether you lot like it or not. 
will rena,eme sique to sique sxds-- siquo if sucessufil
(cant spel siqou a. every speling looks wroing (hate this))

mendonca

  • Bay Watcher
  • [CLIVE]
    • View Profile
Re: The Bay12 72-Hour Roguelike Contest - February Theme: "The Director"
« Reply #54 on: January 18, 2011, 05:13:59 pm »

he he he ... I got 439 points -> wasn't sure what I was doing.

Then I got 368, when I knew a little bit more.

My version only seems to last a year ... did I download the demo? ;)


if it's any consolation this is definitely my favourite entry so far ...  ;D but joking aside, it's a neat concept! Look forward to seeing it progress!

Spoiler (click to show/hide)

Logged

Siquo

  • Bay Watcher
  • Procedurally generated
    • View Profile
Re: The Bay12 72-Hour Roguelike Contest - February Theme: "The Director"
« Reply #55 on: January 18, 2011, 05:22:09 pm »

Damnit, that was for testing the gameover screen :)

Fixed now, you may redownload.
Hmm, over 10.000 points is doable.

I could still compete, I'll just be "reusing" my knowledge of this project. Or expand on this one, there's a ton of stuff that could be added. hm.
« Last Edit: January 18, 2011, 05:41:48 pm by Siquo »
Logged

This one thread is mine. MIIIIINE!!! And it will remain a happy, friendly, encouraging place, whether you lot like it or not. 
will rena,eme sique to sique sxds-- siquo if sucessufil
(cant spel siqou a. every speling looks wroing (hate this))

mendonca

  • Bay Watcher
  • [CLIVE]
    • View Profile
Re: The Bay12 72-Hour Roguelike Contest - February Theme: "The Director"
« Reply #56 on: January 18, 2011, 05:46:02 pm »

Cool thanks. It works now - nice to see the thing progress year on year, it's quite a pleasant experience.

Unfortunately haven't got through to game over yet due to (unknown?) crashes, but yeah, it's cool. Thanks for sharing.
Logged

Siquo

  • Bay Watcher
  • Procedurally generated
    • View Profile
Re: The Bay12 72-Hour Roguelike Contest - February Theme: "The Director"
« Reply #57 on: January 18, 2011, 06:02:08 pm »

Crashes?! Damnit.
Logged

This one thread is mine. MIIIIINE!!! And it will remain a happy, friendly, encouraging place, whether you lot like it or not. 
will rena,eme sique to sique sxds-- siquo if sucessufil
(cant spel siqou a. every speling looks wroing (hate this))

Biag

  • Bay Watcher
  • Huzzah!
    • View Profile
Re: The Bay12 72-Hour Roguelike Contest - February Theme: "The Director"
« Reply #58 on: January 18, 2011, 10:03:08 pm »

Ohhh kay, I should have posted a bit earlier about this. Sorry, guys! I really do read each and every post.

TO EVERYONE STARTING EARLY:
Go for it, maybe I'll toss up a "January Honorable Mentions" thing or somesuch. If there are enough of you, of course. Follow the guidelines, etc.

@Siquo: downloading now. Great concept!
Logged

Willfor

  • Bay Watcher
  • The great magmaman adventurer. I do it for hugs.
    • View Profile
Re: The Bay12 72-Hour Roguelike Contest - February Theme: "The Director"
« Reply #59 on: January 19, 2011, 01:55:29 am »

I am going to be starting one tomorrow. It's going to be a delicious failure, but what-have-you.
Logged
In the wells of livestock vans with shells and garden sands /
Iron mixed with oxygen as per the laws of chemistry and chance /
A shape was roughly human, it was only roughly human /
Apparition eyes / Apparition eyes / Knock, apparition, knock / Eyes, apparition eyes /
Pages: 1 2 3 [4] 5 6 ... 10