The other option is :additive, give it a shot. It basically adds the color channels together, good for special effects.
I was hoping to make a simple 2D camera so that most of my code could be drawn relatively instead of always having to get an offset x,y, but I think I'm missing something :)
I tried this (really basic, I know, but before I hack around anymore I thought I'd ask):
def initialize(window, x=0,y=0)
@window = window
@x,@y = x,y
Oh and the assumption is that you would then use it as:
#... normal drawing code
This ends up not having any effect, any suggestions?
I think it would be pretty nice for a lot of games, a combination camera / clipping would let you do some decent windowing, etc.
@deps: I'm on a macbook pro, on the stock ruby 1.8.7 with a GeForce 8600M GT and I get a similar results. For what it's worth I needed to install the ruby-opengl gem to get it up and running.
Hey thanks for making this, I've really been wanting something along these lines.
That's pretty neat. I should really try texplay out sometime. Thanks for passing on the links.
Looks neat, do you have the source for the L-System code anywhere?
Thanks, yeah it's my idea. If you have any suggestions, or ideas for gameplay, let me know.
Easy enough to fix. I liked the colon syntax, oh well. Thanks for taking a look.
Thanks, I need to get ruby1.9 installed sometime soon. Perhaps next week, I don't want to muck up my 1.8 install though, I need that for real work ;)
That would probably also explain why the OSX template wasn't working out so well.
Hey I just finished (or at least started to finish) a fairly entertaining little word game called Lexery.
Each round starts with a random five letter word (and some of them are very random).
To make you new word, you can:
* Add a letter
* Remove a letter
* Replace a letter
* Swap two letters
You may never reuse a word, and you are allowed a limited number of
'imaginary' as long as you make them using one of the moves listed above.
That's it. Try to make as many words as you can from the given word.
The title screen gives the following example:
grass => glass => lass => last => salt
Anyways, I haven't been able to package this up just yet, but there is a ruby gem and source available so if you want to try it either grab it from github: http://github.com/adamsanderson/lexery/tree/master
Or once github has the gem built, you can install it with
gem install adamsanderson-lexery
Let me know what you think,
Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill