Not logged inGosu Forums
Forum back to libgosu.org Help Search Register Login
Up Forum
Search
Topic Second Generation Chingu Example Loader - Vastly Upgraded By ExplodingCookie Date 2013-09-24 18:09
I think just "Main Theme - ExplodingCookie" would be fine.

How would I install chingu though?
Topic Second Generation Chingu Example Loader - Vastly Upgraded By ExplodingCookie Date 2013-09-10 15:44
This is impressive, excellent work.
Topic Stageiods By ExplodingCookie Date 2013-08-13 19:55
Hello ml, thank your for your kind words. I was unaware of the sound issues on linux, that will be fixed next update. The music was composed by me in GarageBand, feel free to use it, just credit ExplodingCookie. Yes the website is mine. Beekeeping is cool, and you get used to the bees after a bit. :)
Topic Blocks 2D (in development) By ExplodingCookie Date 2013-05-16 16:51
Oh, I could not find which file to execute in the source.
Topic Can I use Gosu to make an Isometric 2D game? By ExplodingCookie Date 2013-05-16 15:05
Yes, Pokémon, Earthbound/Mother and early Legend of Zelda games used this viewpoint.
Topic Multiframe animations By ExplodingCookie Date 2013-05-16 15:02
Thanks for the quick responses everyone.
@oli.obk: I use "@cur_image = (milliseconds / 175 % 2 == 0) ? @walk1 : @walk2" as in the Cptn. Ruby Tutorial.
@jlnr: Thanks, I'll have a look at that
@lol_02: Thanks to you to!
Topic Can I use Gosu to make an Isometric 2D game? By ExplodingCookie Date 2013-05-15 23:11
These are the movement method I use in Stageoids

To activate the move command, put this function into the update function in main.rb file.

if button_down? Gosu::Button::KbLeft
     @player.move_left
end

This calls the move_left function in the player.rb file. This is...

def move_left
   //Move left at the speed the move_speed value
   @x = @x - @move_speed
   //Make it so we can't leave the screen
   if @x < 0
       @x = 0
   end
end

For this to work, you need to define these variables in the player.rb file's initialize function.
@x = 0
@y = 0
@move_speed = 10

This will start you in the bottom left corner.

For the other directions duplicate the functions and replace the values as follows...
::Right::
KbLeft -> KbRight
move_left -> move_right
@x - @move_speed -> @x + @move_speed
@x < 0 -> @x > 0

::Up::
KbLeft -> KbUp
move_left -> move_up
@x - @move_speed -> @y + @move_speed
@x < 0 -> @y > 0

::Down::
KbLeft -> KbDown
move_left -> move_down
@x - @move_speed -> @y - @move_speed
@x < 0 -> @y < 0

To create the player to move around in your game, use @player = Player.new(self) in the initialize function in main.rb

For collisions with walls, I suggest you have a look the Cptn. Ruby tutorial.

As for the scrolling, unfortunately, I have no idea.

When you have a working prototype, create a post in the showcase forum with the file attached so people can download it and help you work errors and bugs out.
Topic Multiframe animations By ExplodingCookie Date 2013-05-15 22:53
How do I do this, I can do two frame animations, however I don't know how to have three or more frames in an animation.
Topic Blocks 2D (in development) By ExplodingCookie Date 2013-05-15 22:52
Image looks good. Unfortunately, I use only Macs. Therefore I cannot try it out due to this apparently being windows only. Nice work for your first time with Gosu and Ruby, welcome aboard!
Topic Bottomless Mine v.1.0-beta2 By ExplodingCookie Date 2013-04-22 19:51
Things you don't understand always seem like magic.
Topic Bottomless Mine v.1.0-beta2 By ExplodingCookie Date 2013-04-21 19:45
What do you man by forking?
Topic Bottomless Mine v.1.0-beta2 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.
Topic Bottomless Mine v.1.0-beta2 By ExplodingCookie Date 2013-04-17 13:50
Still can't run this on my Mac. :(
Topic Bottomless Mine v.1.0-beta2 By ExplodingCookie Date 2013-04-17 13:41
So I don't think a Compaq LTE 5250 with
120 MHz Intel Pentium
30 MB RAM
Win 95
can run this very well. Go my hands on it at a Ham Fest.
Topic Son of Sword By ExplodingCookie Date 2013-04-17 00:18
I agree!
Topic Bottomless Mine v.1.0-beta2 By ExplodingCookie Date 2013-04-16 21:48
What is the minimum system requirements to run this?
Topic Bottomless Mine v.1.0-beta2 By ExplodingCookie Date 2013-02-15 17:22
Shoot, I don't have a Windows machine :(
This game looked interesting...
Topic Bottomless Mine v.1.0-beta2 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?
Topic Bottomless Mine v.1.0-beta2 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?
Topic Bottomless Mine v.1.0-beta2 By ExplodingCookie Date 2012-09-02 18:26
So where exactly do I get these libraries?
This game looks interesting.
Topic Bottomless Mine v.1.0-beta2 By ExplodingCookie Date 2012-08-29 20:43
I don't know if this is because I have a Mac, but I need require rubygems present before the require gosu function for it to initialize. By the way, what is gl and glu?
Topic Stageiods By ExplodingCookie Date 2012-05-15 13:09
A new update! The spaceship and shots look a little more 3d.

Soon to be coming...
Skill Points
Player Skins
Cheats
Topic Deathly Dimensions By ExplodingCookie Date 2012-04-30 15:35
In short, the one of the greatest platformers not called Mario.
Great job Phelps.db and EuphGuy19!
Topic RubyBurger By ExplodingCookie Date 2012-04-25 22:33
Here are some redoes of the existing ingredients.
Very nice clone by the way :)
RubyBurgerTextures.zip
Thanks! It was very fun to build; I'm no longer working on this (but I'm considering doing this in another java-based library -- Slick2D). You can message me on GitHub if you want push permissions (I don't know how to do that at this point, and I won't learn if I don't need to) and do anything you can think of with it. Just as long as it doesn't create spam or something when you open it ;)
Topic Stageiods By ExplodingCookie Date 2012-03-10 16:58
Hi, this is a simple game that resembles Space Invaders.
http://www.beeworthy.net/BeeWorthy/Non_Related/Entries/2012/3/10_Stageiods.html
By the way, feedback is appreciated.
Attachment: Stageoids.png (171k)

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill