Not logged inGosu Forums
Forum back to Help Search Register Login
Up Topic Gosu / Gosu Showcase / Bottomless Mine v.1.0-beta2
1 2 3 Previous Next  
Parent - - By lol_o2 Date 2012-08-30 07:41
I recommend Ruby 1.9.2, because on my 'benchmark', 1.9.3 is slower.
Parent - By Spooner Date 2012-08-30 13:59
1.9.3 fixes a very important bug in 1.9.2 which makes loading files (via require) very slow, especially slow for something with 100s of files being loaded, which is. On Windows, changing to 1.9.3 will literally save about a second of startup time on a middle-sized game and be about 10s faster for a big Rails app. On other operating systems, the advantage is much less, but still measurable. It adds a few extra things, but nothing as important as this single fix is. No idea why your benches might have gone "wrong" like that - no idea what things you were actually testing though.
Parent - - By ExplodingCookie Date 2012-09-02 18:26
So where exactly do I get these libraries?
This game looks interesting.
Parent - - By ExplodingCookie Date 2013-02-13 03:07
Okay, I have the ruby-opengl gem installed, but I still get this error. LoadError: no such file to load - gl.
What am I doing wrong?
Parent - - By ExplodingCookie Date 2013-02-13 17:07
All I got was a page full of weird looking text.
Is this attachment usable by Macs?
Parent - - By jlnr (dev) Date 2013-02-14 08:30
No :) (but that's all I know - I forgot the right incantations to use gl on a Mac...)
Parent - - By ExplodingCookie Date 2013-02-15 17:22
Shoot, I don't have a Windows machine :(
This game looked interesting...
Parent - - By ExplodingCookie Date 2013-04-16 21:48
What is the minimum system requirements to run this?
Parent - - By lol_o2 Date 2013-04-17 13:23
My hardware is
AMD Phenom Triple-Core 2.1 GHz
Win 7 64x

On this I have no lags, but in some rooms (with mirrors) FPS drops to 40
Sorry for setback, but newer and faster version is nearly done. I was working on different projects and I think it's time I should finish this at last :)
Parent - - By ExplodingCookie Date 2013-04-17 13:41
So I don't think a Compaq LTE 5250 with
120 MHz Intel Pentium
Win 95
can run this very well. Go my hands on it at a Ham Fest.
Parent - By ExplodingCookie Date 2013-04-17 13:50
Still can't run this on my Mac. :(
Parent - - By jlnr (dev) Date 2013-04-18 04:41
Gosu has stopped supporting Windows 9x a long time ago. You would have to compile your own version and link against the Unicows support layer to get it to run.
Parent - - By ExplodingCookie Date 2013-04-18 22:40
Yeah... Got that computer at a good deal. Is there any way to get this game onto a mac? Metroid seems to be an interesting series.
Parent - - By jlnr (dev) Date 2013-04-19 00:30
The game's source is on github:

The best way would be to fork it, run it on a Mac, fix any errors as they arise and send the changes back as a pull request. :)
Parent - - By ExplodingCookie Date 2013-04-21 19:45
What do you man by forking?
Parent - By jlnr (dev) Date 2013-04-21 23:59
It's how collaborative development on github works — user A uploads their code, user B forks their code (=creates their own copy), user B makes changes, user B sends a request to user A to incorporate these changes.
Parent - By oli.obk Date 2013-04-19 08:52
oh wow, haven't seen such hardware specs outside of my microcontrollers lately
- - By lol_o2 Date 2013-04-20 10:29 Edited 2013-04-21 06:45
So, the final version is done. It's greatly optimized and the TexPlay-related bug is removed. I needed to convert music modules into .ogg for new version of Gosu, so the final size is... 97 MB. I made a terrible-quality  53MB version.
Report any bug you find, because it's still marked as beta.
Parent - - By lol_o2 Date 2013-04-21 06:47
Any idea what is this?
It's a video from a random guy playing my game who encounters 'game-breaking bug'.
Of course I don't have to say that everything works fine for me -_-'
Does the Windows version matter when 'compiling' the game?
Parent - - By jlnr (dev) Date 2013-04-21 23:54
Well, it does really look like a code bug :) I can't imagine how the Windows version would affect a bounding box calculation in such a specific way. The only thing that I guess can be slightly different across Windows versions is image loading, because GDI+ was relatively new in XP I think. But the solid areas are probably not loaded from an image?

I'm building iOS apps all day nowadays, and they're all chock-full of analytics to report errors, checkpoints etc., I guess Gosu games should do the same :) Or at least they might have a "bug" button that emails everything to the dev as a YAML file... Anyway, your best bet is probably to add debugging helpers and send it to this Mr dragonheart91.
Parent - - By lol_o2 Date 2013-04-22 13:36
I use Ashton for collisions. Each tile is drawing a square on a greater Texture. On the video's situation, whole corridor is masked the same way as gate at the end.
And debugging helpers are not best idea. Last time I had such problem, it came out that Y-axis was inverted when checking collisions (it was a library issue). And I don't think that dragonheart91 or any other player is so determined to play this game after all the past bugs -_-'
Recently I tried to play one of my games on my Asus laptop. Windows tells that it has better parameters than my PC, but FPS magically droped from 60 to ~5. Sadly, sometimes it feels like I'm making these games only for myself :(
Parent - By ExplodingCookie Date 2013-04-22 19:51
Things you don't understand always seem like magic.
Parent - - By jlnr (dev) Date 2013-04-23 08:24
How do you use Ashton for collisions? Does it use OpenGL textures for that / is there a chance that it is driver related after all?

Re 5 FPS: Do other OpenGL games work fine? This sounds like a Gosu or Ashton bug! Feel free to open a new topic / thread for this.

I know what you mean though, now that every Ludum Dare has ~1000 entries, it feels like there are more players than games. I wish Gosu would work on the Mac App Store or Ouya or something like that :/ And sadly enough, OpenGL & OpenAL still cause driver issues in 2013.
Parent - - By lol_o2 Date 2013-04-23 13:24
For collisions (writing) I made such method:

  def modify_mask(mask,method)
      if method[0].class==Image

To explain it better:  @mask  is hash for Ashton::WindowBuffers (so probably OpenGL Textures, right?) and every object (tile,door...) by calling this method, draws an Image or quad onto Texture.
I know it's not too efficient (new render block each time), but I ported Ashton after the game was completed so I had to replace  'splice'  and  'rect'  quickly.
And collisions come by just reading pixels for proper mask (so it's color = @masks[mask][x,y] and then true if color==Color::BLACK etc.)

And this ~5 FPS is rather OpenGL issue, because on this laptop even old RTS Tzar tends to lag. Maybe it's because of ATI gfx card?
Parent - - By lol_o2 Date 2013-04-25 19:18
Ruby is trolling me. Yes, that's case, not magic.
I just played BM on that laptop. No lags.
I couldn't believe so I played that game, which had 5 FP before and... NO STUPID LAGS!
The only issue is that images are loading 1-2 seconds, but problem vanished. Just vanished.
This dragonheart can't run Bottomless Mine (which I run on my second computer seamlessly). He has the same system and graphic card (different model) as me.
Just no comments -_-'
Parent - By jlnr (dev) Date 2013-04-30 14:25
Ouch. I don't know much about Ashton's internals, but dragonheart's problems and the 5 FPS thing sound like OpenGL issues to me - I used to have a Linux test box where rendering to textures would sometimes freeze for a long time.

I think the way to fix this in the long term would be not to use OpenGL for collisions, but I don't know a good replacement in Ruby either.
Parent - - By RunnerPack Date 2013-04-23 01:03
I noticed another (minor) bug while watching his video: when you "print" the story text at the beginning, it looks like your code prints the "HTML" tags one character at a time, as well. Like I said, pretty minor compared to the door thing...

I hope you can get this working well on Windows (and all other platforms, of course). THE WORLD NEEDS MORE METROIDVANIA GAMES! ;)
Parent - By lol_o2 Date 2013-04-23 13:07 Edited 2013-04-23 13:31
You're right about Metroidvania :) (however BM is only Metroid)

But how about Mariovania?
It's also my game, but I'm not putting it here yet, because this forum gets flooded by my projects :D (yeah, I need to make website sometime)
Up Topic Gosu / Gosu Showcase / Bottomless Mine v.1.0-beta2
1 2 3 Previous Next  

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill