Not logged inGosu Forums
Forum back to Help Search Register Login
Up Forum
Topic Gosu Bullet Hell Shmup By hima Date 2009-08-02 15:52
Hey thank you for the compliment! Surprisingly I have been thinking about finishing this game too! I just got ruby 1.9 working with Gosu so let's see if what I can do XD

As for the shmup dev session 4, you can check out I have posted the game there :)
Topic Does Gosu support 2 gamepads at once? By hima Date 2009-06-19 15:21
For now you can use something like Joy2Key, which works very well in my opinion :)
Topic Grog (engine/framework for adventures) By hima Date 2009-05-23 19:37
Were you the one who uploaded that test video on youtube with Broken Sword graphic? :O

Anyway, the engine looks very cool! Surprisingly, my senior project is also a game engine/framework haha. It is too bad that I can't use Ruby/Gosu for that :(  My advisor wants me to use D programming language instead.

Can't wait to see the full release of the engine. I'm a sucker for point&click adventure XD
Topic When it comes to 2D Platform Games ,what would you rather? By hima Date 2009-05-23 19:33
I think it depends. If there's a jump button then the Up key should do something. Maybe moving the camera upward or let you aim upward.

Having a separate jump button allow you to do something like jump off while climbing the ladder too, considering the sensible choice for climbing key should be Up key. ( Using Up key for both jumping and climbing would be confusing.)
Topic Gosu Game Creating Competition By hima Date 2009-05-23 19:30
Yeah, I mean long contest. Or ones that are popular and are usually promoted in indie gaming websites. In case we can't have a Gosu contest/competition, we can show off Gosu power through other competition and hopefully get their attention to Gosu :D

I think python or pygame has a competition of some sort too, know? HSP ( Hot Soup Programming Language ) also hold a contest every now and then in Japan. So Gosu contest/competition sounds fine to me! Doesn't have to have a prize or anything it can just be for fun.  At least I'll have some motivation hehe.
Topic Gosu Game Creating Competition By hima Date 2009-05-23 01:35
Another way is to enter other competitions/contests using Gosu. If your game ended up getting one of the first three places then it's even better!
Topic PostProcessing: A (fragment) shader framework By hima Date 2009-05-21 05:03
Wow that really is amazing. Keep up the good work :)
Topic Selling Games Made with Ruby/Gosu? By hima Date 2009-05-21 04:56
SDL_Mixer for Window should be an option as well though. Some of us don't have that much money for licensing the audio library X(  ( At least, not until we could sell the first game! )
Topic Gosu Logo and Mascot? By hima Date 2009-05-16 19:26
But not a mascot! I remember seeing an anime girl holding a cup of hot chocolate or whatever last year on the gosu webpage. Is shee suppose to be the mascot?

I can draw and make one but need to know what's the concept of the mascot first. What is gosu stand for anyway? XD
Topic Creating a Gosu/C++ iPhone game By hima Date 2009-03-20 03:39
If it works, that would be SUPER!! :D
Topic Smarter Image Flipping (Gosu + Chipmunk)? By hima Date 2009-03-03 18:09
Oh what I mean is this one

draw_rot(x, y, z, angle, center_x=0.5, center_y=0.5, factor_x=1, factor_y=1, color=0xffffffff, mode=:default): center_x Relative horizontal position of the rotation center on the image. 0 is the left border, 1 is the right border, 0.5 is the center (and default)—the same applies to center_y, respectively.

Instead of draw, using draw_rot and you can specify what kind of coordinate you want to use. Hope that helps!
Topic Creating a Gosu/C++ iPhone game By hima Date 2009-03-03 17:25
Wow this is interesting! I don't owe a mac but is it possible to use PC to develop a game for iPhone? Maybe through VM or something?
Topic collision detection By hima Date 2009-03-03 17:22
What kind of game you're working on?  I made a bullet hell shmup and the game works fine with 500 objects circle collisions. So I don't think 100 - 200 objects would be a problem, unless you're doing some sophisticate collision like pixel perfect or rotate rectangle :)

But if you just need box collision like your first choice, you don't really need chipmunk since I doubt the speed difference between box and circle collision aren't that significant.
Topic Smarter Image Flipping (Gosu + Chipmunk)? By hima Date 2009-03-03 17:16
How about changing the  drawing coordinate from top-left to center-center?  You may need to change the coordinate, but I think it's easier this way. :)
Topic Gosu 0.7.12 released! By hima Date 2009-02-10 05:53
Yes! New updates :D  Also, the new design rocks ^ ^
Topic Building gosu with SDL instead of FMOD on OS X and Windows By hima Date 2009-02-04 09:40
That's sad to hear : /  Though, exerb work with the one-click installer, it doesn' compile the resources file like rb2exe does.

Anyway, will you release your built version of 1.8? Just so that if people want to use SDL Mixer then they can have a choice to go with ruby 1.8 :)
Topic Gosu sound... By hima Date 2009-02-01 14:11
Don't forget to add the choices for us to choose between SDL:Mixer or fmod as well :D
Topic [Action-Puzzle] DotPLUS By hima Date 2009-01-05 11:52
Yeah I think it'll work very well with iphone too.  But I've heard that game development on iphone is pretty expensive... :'(
Topic [Action-Puzzle] DotPLUS By hima Date 2009-01-05 01:54
Thanks HybridMind! If you're having trouble downloading from mediafire, try download it from this link instead


As for the recording, I use Camtasia Studio 3. It was shareware but now that they've reached version 5 or something, they've turned version 3 to freeware.  It's pretty good and very easy to use as well :) After I record it, I then export it to .avi file, and then manage the movie with Window Movie Maker ( the fade in and fade out effect )
Topic [Action-Puzzle] DotPLUS By hima Date 2009-01-03 14:09



In year 2XXX, there is a rumor of a super computer called 'The Babel' that can grant you any wish if you get to its deepest core. You take a role of one of the most intelligent hackers with yourown hacking tool called "DotPLUS" that turn any security system into just a simple series of mathematics.  However, breaking into the core of The Babel will be more difficult that you could imagine.

How deep could you go? Will you be able to get into the core of The Babel?


  Left Mouse          -  Decide/Select Block
  Right Mouse        -  Cancel/ Restart Block Selection
  Mouse wheel up  -  Temporary fasten the blocks speed/Start the explosion

How To Play


  -  Clicking on blocks will add the block value to 'Current Sum'
  -  Match 'Current Sum' to the 'Target Sum' and all the selected blocks will be ready to explode
  -  Before the blocks explode, if you can form another group that makes 'Current Sum' matches the 'Target Sum', you'll start a 'Chain Combo'
  -  Once all the blocks are exploded, the new target sum will be releftsented.
  -  Once any blocks touch the top, you have 5 seconds to eliminate the blocks to get yourself out of this danger situation. Failing to do so will result in game over.



  -  If you want to play in fullscreen mode, open display.ini with a text editor and change the number to 1

  -  The more number of blocks used to match the sum, the higher the score you'll gain. So save the longest combination for a higher chain would be a better choice.

  -  Utilize "0" blocks wisely. They add nothing to the sum but they increase the number of blocks used , which mean higher score!  However, not using them might fill your screen with a useless 0 and give you a game over :O



There is no ending yet though so it's pretty much just an arcade/endless mode. I'm planning on working more on this and turn it into a commercial project.  But fmod is preventing me from doing so :'(   I'll make all the se and bgm original later. Right now it's more like an idea experiment prototype etc XD
Attachment: dotplus-4.jpg (36k)
Topic Available fonts / default font / fixed width font question By hima Date 2009-01-02 17:40
You can distribute a game with a font. You just need to create a font folder inside the game folder. And when you load a font do something like this

@font =, "dat/font/SP-Normal.ttf", 20)

Here I save the font in dat/font/ folder.  And the font file name is SP-Normal.ttf. It has to be the filename, not the font name :)
Topic Anyway to compile to one exe file? By hima Date 2009-01-02 08:48
Thank you so much HybridMind! I've been using exerb which work very nicely though it won't encrypt your resources file. Now I can use this instead :)
Topic Gosu Bullet Hell Shmup By hima Date 2009-01-02 06:43
Oh sorry I was going to attach the source code here as well. I probably forgot x (  Here you go!

Sorry for the poor comment and coding.X(  I was kinda rush since I only have less than a week to work on it. I was thinking about finishing the game along with refactoring the code and release the source code so that people could learn from it. Will try to do that if I have time :)
Topic Ultimate Comet V2.0 New Release By hima Date 2009-01-02 06:42
Ok I know the problem now. The game screen is too big and it somehow got minimize. I have to go to task manager and maximize it so I could play the game X(

The ship is kinda hard to control though. I'll try using gamepad with the help of Joy2Key. Hopefully it'll be easier that way :D
Topic Building gosu with SDL instead of FMOD on OS X and Windows By hima Date 2009-01-02 06:15
Sorry to bump this but I really need help with not using fmod with gosu on windows :(  Or can someone tell me what I can do with the template provided on the above post?
Topic Ultimate Comet V2.0 New Release By hima Date 2009-01-01 08:07
This looks really interesting but too bad that it won't run for me. There is no window or anything at all but I could hear the sounds. Once I pressed enter the game closed itself though :/
Topic Gosu Bullet Hell Shmup By hima Date 2008-12-31 13:15
Sorry for the late reply. I kinda borrow the music from other game for now hehe

Anyway, the game's up there! Please try it out :)
Topic Building gosu with SDL instead of FMOD on OS X and Windows By hima Date 2008-12-27 09:11
Can we have a template for Window version too?  Thank you in advance! :)
Topic Gosu Bullet Hell Shmup By hima Date 2008-12-01 12:08

Here are some game videos. I don't know if I can attach youtube video here so the link should do for now. :)
Topic Gosu not working with ruby 1.9? By hima Date 2008-12-01 12:01
This is what I got when I tried to run gosu on ruby 1.9

D:/My Documents/My Game Development/Ruby/TestGosu/ [BUG] Segmentation fault
ruby 1.9.0 (2007-12-25 revision 14709) [i386-mswin32]

-- control frame ----------
c:0005 p:-2507356 s:0012 b:0012 l:000011 d:000011 TOP   
c:0004 p:---- s:0010 b:0010 l:000009 d:000009 CFUNC  :require
c:0003 p:0009 s:0006 b:0006 l:000005 d:000005 TOP    init.rb:1
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH :inherited
c:0001 p:0000 s:0002 b:0002 l:000001 d:000001 TOP    <dummy toplevel>:33
DBG> : "init.rb:1:in require'"
DBG> : "init.rb:1:in

I hope I didn't do anything wrong....Has anyone tried this yet? Ruby 1.9 is said to be much faster so I really wish it could work with gosu! :(
Topic Anyway to compile to one exe file? By hima Date 2008-11-26 16:09
No, I think it's the  replace frozen string thingy.  But now that I solved it according to this link

It gave me no error, but now it doesn't produce any .exe file either :/
Topic Anyway to compile to one exe file? By hima Date 2008-11-26 02:23
Wow, I finally got exerb to work.  Still, exerb won't do anything with all your resources file though :(  Is there any way to deal with this so that no one can steal your resource?
Topic Anyway to compile to one exe file? By hima Date 2008-11-25 17:03
I've tried rubscript2exe, but it doesn't work. It give me no error but it give me no exe file neither :(   I've managed to compile the game into one big  .rb file now.  I've also tried exerb, but it doesn't seems to work with .rb file compiled from tar2rb

So, does anybody know any other approach? Or maybe how to use exerb to compile everything into one .exe file?  Thank you in advance.
Topic Scene or GameState system Tutorial? By hima Date 2008-11-22 15:48
Thank you jlnr!  It's good to see different approach on this same concept. :)  
Topic gosuDuel By hima Date 2008-11-22 15:41
Pretty good little game! I'm sure this will help beginner to start with Gosu and C++ :)   I found the shooting sound effect to be a bit annoying though.
Topic Gosu Bullet Hell Shmup By hima Date 2008-11-22 15:38
Sorry that was me ^ ^;;

Oh, and I haven't tried ruby 1.9 I don't know if it's gonna be faster.   But turns out I have to change the laser to something else. Rotate rectangle collision detection with almost thousand objects don't really do well in Ruby :/
Topic Gosu Bullet Hell Shmup By hima Date 2008-11-16 17:58
In order to promote ruby game libraries , we need more game created with those libraries. So, here it is!  It seems like Gosu can handle the bullets pretty well, though it started to lag when the number reach 800.   Anyway, it's enough for a nice shmup game :)



It's for shmup-dev prototype development session 6. Hopefully I can finish it in time :(

This is my entry for Shmup-Dev rapid prototype session 6. The theme for this session is "You're not the boss of me" or basically a boss rush shmup.

Arrow keys        -  Movement
Z                 -  Shoot/Decision
X                 -  Bomb
A                 -  Adjust Bet
Shift             -  Hold for precise movement

------ Star Point System -------
- At the beginning of each boss pattern, you'll have a short amount of time to adjust your bet by pressing A. Your amount of current bet is shown on the right , next to the star icon.  The minimum bet is 1 and the maximum bet is the number of your lives.

- Beating that pattern without losing a life means you've won the bet. You'll collect star points with the same amount of star points you've bet earlier.

- Losing a life during the pattern mean you've lost the bet. You'll lose the star point equal to the amount you've bet and your bet will be reset to 1. Meaning every life lost after this during this pattern will keep on decreasing your star point by 1.

- Winning a bet without using any bomb will double the amount of star point you gain.

------ Other Information -------

- Each boss has three patterns.

- The number of bombs will be reset to 2 after you've defeated a boss.

- Defeating a boss without losing any lives will resulting in another bonus bomb ( 3 bombs in total.)

- Right now there's only 4 stage in total. The requirement to meet the fourth boss is 20 star points or above.

------ Something That I should fix -------

- The number of bombs will NOT be reset after you've died. (Not a system....I just forgot ^ ^;;)

-  Where's the pausing screen :'(

-  There should be something to tell the player that their star points has meet a requirement to fight a hidden boss.

Attachment: Shmup.jpeg (136k)
Topic Scene or GameState system Tutorial? By hima Date 2008-11-11 15:15
Yup. It's me hima ! :)
Topic Scene or GameState system Tutorial? By hima Date 2008-11-10 12:38
You're welcome! I think this question will be good for other beginners like me, and since we have forum which is much easier to read'n search, might as well post it here. :D

Anyway, this is weird. I was playing around a bit and then the error's gone. I even tried undo and turning it back to before I fix it, the error still gone :(  Weird.  In any case, here's the file so you can see my code. I haven't done anything except if you press Enter on the first scene, then it change to the second scene. And press ESC on the second scene will terminate the window.
Attachment: TestGosu.rar (0B)
Topic Scene or GameState system Tutorial? By hima Date 2008-11-10 08:55
Could somebody please show me how should I write a scene or gamestate system in Gosu? I try having a variable $scene that will store and object such as Scene_Title , Scene_Menu, and in the main loop then I just call $scene.update

But it doesn't seems to work with rendering font since got this error when I try to draw in the scene class

" in `draw': While creating a bitmap, the following error occured: Not enough storage is available to process this command.



The scene classes are in different .rb file by the way.

Any help or tutorials are appreciate. Thank you in advance!

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill