Forum

Discussions about my various projects


Warning: include(/home/c99org/c99.org/nav.php) [function.include]: failed to open stream: No such file or directory in /home/c99org/forums.c99.org/themes/c99.org/head.php on line 46

Warning: include() [function.include]: Failed opening '/home/c99org/c99.org/nav.php' for inclusion (include_path='.:/usr/local/lib/php:/usr/local/php5/lib/pear') in /home/c99org/forums.c99.org/themes/c99.org/head.php on line 46
Not signed in (Sign In)

Categories

  • General
  • A place for discussions about anything
  • C99.ORG News
  • News regarding the c99.org server, hosted sites, and services.
  • DCBlap
  • Discussion about DCBlap and its addons
  • DCSquares
  • Discussion about DCSquares
  • FrotzDC
  • Discussion about FrotzDC and Infocom games
  • DreamZZT
  • Discussion about DreamZZT and ZZT games

Vanilla 1.1.2 is a product of Lussumo. More Information: Documentation, Community Support.

Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    •  
      CommentAuthorc99koder
    • CommentTimeJun 22nd 2005
     
    • Comments: 242
    • Joined: Jan 6th 2003

    DCSquares 2.0 has been released for Mac and Windows! This version features a brand new default theme, a new high score system, and improved gameplay. Because of the gameplay changes, the high score ladder has been reset.

    The Linux and Dreamcast versions should be available this weekend.

    • CommentAuthorSord
    • CommentTimeJun 22nd 2005
     
    • Comments: 17
    • Joined: Jun 22nd 2005

    I give this game a - rating meaning too adicting to stop and rate it!

    Anyways, now that I have taken a second off the game, I was just wonder (because I dought you will release the code) what you are using for the graphics library? SDL, OpenGL, something else? Also if you wouldn't mind, how do you set the timing for things like the different squares? I have only done utility like programs and some non time based graphics applications (like give an eq and I will graph it for you).

    Thanks!

    •  
      CommentAuthorc99koder
    • CommentTimeJun 22nd 2005
     
    • Comments: 242
    • Joined: Jan 6th 2003

    The game uses OpenGL for the graphics. I chose OpenGL because it's pretty fast (assuming you have a 3D card) and also pretty portable.

    The timing for the squares is a combination of a few things. Every game tick, the game choose a random number, and if that number is within a certain range, it creates a square. It will also create a square if there are less than 3 other squares on the board. It's a bit more complicated than that, because the frequency of the squares will increase as you progress through the game, but that's a pretty general description of how it works.

    I can't release the full source without compromising the online score ladder, but I'm always willing to provide snippits and tips.

    Thanks for the feedback, I'm glad you enjoy the game :)

    -Sam

    • CommentAuthorMetalSnake
    • CommentTimeJun 23rd 2005
     
    • Comments: 18
    • Joined: Dec 26th 2004

    Wow 2.0 is a great release! :)
    Just one question: Why isnīt the number of catched squares saved in the scores?

    edit: Oh I just saw that the board is much bigger if you set the theme to classic. Isnīt that a bit unfair?

    •  
      CommentAuthorc99koder
    • CommentTimeJun 23rd 2005
     
    • Comments: 242
    • Joined: Jan 6th 2003

    The number of squares is stored in the score codes, but isn't sent by the built in score submitter. I'll probably add it in a later version, but I figured the combo and score were more interesting, and I didn't want the score table to get too wide (it barely fits on 800x600 as it is).

    Also, the playing field in classic only looks bigger, they're actually the same size, it just scales the screen down in the default theme. The squares are a slightly different size, but not enough to greatly change the difficulty.

    -Sam

    • CommentAuthorSord
    • CommentTimeJun 26th 2005
     
    • Comments: 17
    • Joined: Jun 22nd 2005

    Also, the playing field in classic only looks bigger, they're actually the same size, it just scales the screen down in the default theme. The squares are a slightly different size, but not enough to greatly change the difficulty.

    Well maybe not greatly enough to affect it however the theme in general allows the mind to think faster because you don't have to see past the pictures, you just look for red and black. It is also very convienient to not have the info about the game updated off the screen because it makes a distraction - just my opinion though.

    Also, does this game slow down on slower computers allowing people to get away with a higher score? I got a G5 iMac so its no slow poke here :)

    • CommentAuthorSord
    • CommentTimeJun 26th 2005
     
    • Comments: 17
    • Joined: Jun 22nd 2005

    Oh one suggestion on pausing (for the next minor/major release) - on pause grab the mouse X and Y positions and on resume just before the game starts going again move the mouse back to its spot at the time of pausing

    •  
      CommentAuthorc99koder
    • CommentTimeJun 26th 2005
     
    • Comments: 242
    • Joined: Jan 6th 2003

    The classic theme has a handicap of not knowing what the powerups are, though, so hopefully that evens it out a bit.

    As for slower macs, it should adapt and get more choppy but the squares should move at the same speed. I have a 1.33Ghz G4 PowerBook, so it's also not slow on mine either :)

    As for pausing, it's a bit more complicated than that in 2.0 (that would have worked in 1.x). All of the movement is now based on your computer's clock, which is what lets it adapt to slower macs. Your computer's clock keeps ticking even when the game is paused, so it would throw off the timing. It's something I'll look into though.

    Thanks for the feedback, I'm glad you enjoy the game :)

    -Sam

    • CommentAuthorSord
    • CommentTimeJun 26th 2005
     
    • Comments: 17
    • Joined: Jun 22nd 2005

    I see what you mean about the timings and pausing.

    Oh btw it seems that if you change the volume using the volume keys on a Mac, while the picture of a speaker is on the screen the game slows quite a bit. Someone could essentially keep hitting the vol down key or something and use that to their benefit - if they can manage to pay enough attention to the game while doing it.

    •  
      CommentAuthorc99koder
    • CommentTimeJun 26th 2005
     
    • Comments: 242
    • Joined: Jan 6th 2003

    Yeah, the same thing happens with growl notifications. I think it has to do with the way OS X handles the translucency. I don't think there's anything I can do about it :?

    • CommentAuthorSord
    • CommentTimeJun 26th 2005
     
    • Comments: 17
    • Joined: Jun 22nd 2005

    Yeah, the same thing happens with growl notifications. I think it has to do with the way OS X handles the translucency. I don't think there's anything I can do about it :?

    Maybe its the one thing Quartz doesn't hand over to the GPU?

    • CommentAuthorsophyr
    • CommentTimeJul 10th 2005
     
    • Comments: 10
    • Joined: Jul 10th 2005

    hello,

    love the game, but (!), can't change the theme (I get an incomplete popup, no text), and I was wondering (and hoping to cheat) about the high scorers with no time.

    I'm on a g4 500

    •  
      CommentAuthorc99koder
    • CommentTimeJul 10th 2005
     
    • Comments: 242
    • Joined: Jan 6th 2003

    What version of OS X are you using? Try deleting the plist file from Library/Preferences/DCSquares.plist.

    Also, the scores without times are mentioned in the FAQ as well as in a post on the forums. People who enter a score code instead of using the automatic score submitter will not have a time recorded.

    -Sam

    • CommentAuthorsophyr
    • CommentTimeJul 11th 2005
     
    • Comments: 10
    • Joined: Jul 10th 2005

    10.3.5 - tried the fix you suggested, same problem. I started on v1.4 which crashed when I tried to submit my fantastic scores - and was ok after updating to v 2. coould that be causing any probs?

    yep, sorry, saw about the no time thing after 'twas too late.

    •  
      CommentAuthorc99koder
    • CommentTimeJul 11th 2005
     
    • Comments: 242
    • Joined: Jan 6th 2003

    Hmm. Well, the only thing I can think of is try downloading 2.0 again and trashing the old version. The list of themes is populated by scanning DCSquares.app/Contents/Resources/themes and displaying all the directories that are inside there. If you've browsed that directory with Finder, make sure to delete any .DS_Store files it created, because those will interfere with the directory scanning.

    -Sam

    • CommentAuthorsophyr
    • CommentTimeJul 13th 2005
     
    • Comments: 10
    • Joined: Jul 10th 2005

    you're right, I reinstalled & it's ok now - couldn't get rid of the .ds file directly, can't remember how, I'm new to os x