Not logged inGosu Forums
Forum back to libgosu.org Help Search Register Login
Up Forum
Search
Topic Board Games with Gosu By D3nX Date 2020-06-13 11:01
Nice job dude !
Topic Any good tutorials for Gosu? By D3nX Date 2018-06-02 10:46
Bah, je pense pas être allé si loin que ca, étant donné que toi tu fais de l'OpenGL (or moi je sais pas en faire) et en + de la 3D avec Ruby / Gosu, c'est juste super !
Mais merci, ca fait vraiment plaisir ^^

Et tu sais, il y a un nouveau binding de OpenGL pour ruby, il a été mis y a 14 jours a l'heure ou je parle : https://github.com/vaiorabbit/ruby-opengl

Bonne continuation ^^
Topic Any good tutorials for Gosu? By D3nX Date 2018-06-01 13:32
Biensûr !
Tu n'est pas le seul dev Gosu français, je te rassure ;)
Topic Any good tutorials for Gosu? By D3nX Date 2018-05-30 10:29
Hey, I dont know if you understand french, but Im making a series of Ruby / Gosu tutorials on my YouTube channel, here is the playlist :
https://www.youtube.com/playlist?list=PLmeYaZTdVHmViu4EWpbJDmKFH8VRd-o2D

I dont know if it is a "good" tutorial but it could help you ^^
Topic Discord for Gosu users ! By D3nX Date 2018-04-11 02:58
Oh sorry, try this link then : https://discord.gg/gTaHxdm
Topic Discord for Gosu users ! By D3nX Date 2018-04-10 12:54
Hey,

I've recently got the idea for all the Gosu community, to create a Discord server. Then, we can solve problem easier and faster and help us together without have to make a post and wait a specific amount of time before receive it ^^

So, here is the discord server :
https://discord.gg/gTaHxdm

(PS: L'ill put jlnr in moderator if he join ^^)
Thx for reading, and don't forget to come !
Topic SpaceRace - USSR vs USA By D3nX Date 2018-03-20 07:05
Hey, just would to say you the new version is released on itch.io and Github !
Topic SpaceRace - USSR vs USA By D3nX Date 2018-03-15 10:39
Wow it looks really cool ! I also love low poly graphics (PS: your photo remind me Equilinox, from ThinMatrix), it looks really simple but beautiful !

"The "need artist" thing is something I experienced quite a bit myself. I have an image in my head how it would look cool but my skills are a bit limit. So I lately experimented with Blender (my 3d skills are definitely better than my 2d art) and creating a low poly image there and then render it to a 2d image. I found this tutorial really good - simple and well made: https://cgi.tutsplus.com/tutorials/secrets-to-creating-low-poly-illustrations-in-blender--cg-31770
Although the style is special I quite like it ;-)" -> Really cool ! I checked the website, it seem really clear and simple to begin 3D modelling ^^
"I have an image in my head how it would look cool but my skills are a bit limit." -> If I get it, you would make some sprites for the game ? If yes, you're welcome ^^ Even your skills are "a bit limit", I am sure you can do pretty goods stuff :)

If you need contact me, here is my Discord : Fokker974#4620
Topic SpaceRace - USSR vs USA By D3nX Date 2018-03-11 07:28
Hey,

Just would to say you I created a Trello, then you can follow the developpement within same time I developp :)
Here it is : https://trello.com/b/c7QqAWcU/spacerace
(NOTE: It's in french)
Topic SpaceRace - USSR vs USA By D3nX Date 2018-03-09 15:40
Hey again too,

So let me respond you :
"played a bit more" -> Thanks ! I'm happy you enjoy it :)
" Can I win somehow or just run for the Highest Score?" -> Actually, just run for the highest score, but in the next times, l'ill add some American or Soviet spaceships to unlock (but I need artist(s) !)
"When I collect boosters sometimes I get the fancy Overlay (I especially like the swirl!!!) but sometimes not. I guess its because I am still in the "boosted" state but its not exactly clear when the booster is over. Maybe you could do some visual to show that I'm back to normal?" -> When it's not, it's as you said : you still in "boosted" state, but yeah I agree on the fact that not exactly clear that booster is hover. Maybe I could stop them from comming when we are in boosted state ?
"e.g. Add "fire" to your rockets jetpack if its boosted." -> Good idea !
"The Score is a bit confusing. Distance traveled - totally clear. "Game Score: 298 Meters"? What does that mean?" -> Oh... That's an error I've done.... It should be points, sorry :( L'ill fix it soon.
"A Scoreboard would be cool to see how I did in the previous runs" -> It's already planned
"Maybe move the text in the buttons just a bit to the right. It looks a bit cramped." -> Not false, l'Ill fix this
"Change the booster visuals. The red cross reminds me of "get health/life" instead of fly fast as hell." -> It's right, but I would something that represent the two, because (now in the version I'm working on) the booster give a bit of life, but I would it boost and give you life, but not idea for something the represent the two things.
"Add a +1 Life booster" -> Already done in my current version of the game (the next beta I'm working on ;D)
"or maybe as a reward for some "milestones" like get +1 every 10.000m traveled." -> Not a bad idea, still I need to found a reward. But life is enough huh ?
"Improve the contrast of the textbar. The red on gray is a bit hard to read on certain lighting conditions" -> Well, it's true, just need to find out the best color ^^
"Make the shield you get with the superbooster a bit more visible. Took me a bit to actually notice the small white line around the ship. maybe change the color and add a bit of distance between shield and ship." -> Yeah, I saw the same things to myself, but a was a bit lazy.... Or maybe make the shield (transparent) on the spaceship ? But be sure, l'ill fix it this time !

"Back to the coding-style-suggestions - Its totally fine if you follow your own style within your own code, but if you at some point in the future might want to contribute to the ruby community or maybe work at a game with someone else following the community style is helpful ;-) And there is no need to actually change the code in your running game. I used quite some global variables in my game(approaches) too or just have a couple ow files "all over the place" but at some point it became inconvenient and I looked for alternatives. Now when I start from scratch I have developed some best practices for my personal workflow. So I guess just go on and maybe in your next games try to do some things differently. " -> Yeah, l'ill try (I think for my next game) to ain't use global variables such as this. Oh and I actually removed about two global variables

"So and thats a perfect transition to the unanswered but most important question ;-) => any other games planned?" -> Yeah, a big games I'm working since some month, it will be like a bit like (or a lot) Hearts of Iron IV (if you know it), but  locked at some stage....

"PS: My best distance travelled so far ~ 40.000m" -> Great !! :o Doesn't reached this distance by myself xD !

Hope my responses enjoy you ^^
Topic SpaceRace - USSR vs USA By D3nX Date 2018-03-09 09:12
Yeah I know that's possible, everything is possible in programming (especially with Ruby) ! Still, I'm using some global variables because it make simpler to use a same objects (such as a Channel) inside the program. So that's why I done in this way.
Topic SpaceRace - USSR vs USA By D3nX Date 2018-03-08 14:57
Hey, thank you for the reply ! Happy to see you like it =)

Now, let me respond to you suggestions :
"dont use emtpy brackets () after methods without parameters" -> I know it's not mandatory, still I like use them ^^
"then is only used if you write the code in the same line as the condition like if (true) then x = 1 end and in that case we usually write the condition behind the code like you did at some places. e.g. x = 1 if true" -> Yeah, not false
"class methods are called with a dot(.) too like Game.as_seconds and not Game::as_seconds" -> Yeah, that's true, l'ill fix it
"I don't like to argue about intendation (besides using two spaces instead of tabs) but you could be a bit more consistent. Most code ist aligned, but some ifs aren't which kinda "pokes me in the eye" " -> The indentation appear well in my code editor (Eclipse with Ruby extension), I think it's because of it !
"use require_relative 'animation' over require './animation.rb' " -> why ?
"you use quite a lot of global variables which in most languages is considered bad practice. I think at least the menu*-music ones could be dropped. As far as I understood it you use them to play the sample infinetly as long as the menu is open. You should look into Song.play(true) which play the song in a loop forever." -> Yup, but it's about only 6 global variables, still, l'ill try to make it better. For the music, yeah l'ill see about it.
"I personally would also move some files in subdirectories like all states to states/ and the rest to lib/" -> Not sure of doing it, I like this, but still better.

"
I found one "bug" so far -> you require './animation.rb' but the file is called Animation.rb which is no problem on Windows but nearly every other OS where filenames are Case-sensitive. After renaming it worked fine." -> L'ill fix it on Github (and my code)

Thank you for the ressources,  for reading and playings !
Topic SpaceRace - USSR vs USA By D3nX Date 2018-03-06 13:59
Hey,
Today I would presenting you a game I'm currently working on since some days : SpaceRace.
It's not a race game as the title could mean, but the race to conquest the galaxy as the USSR and USA fought for. So I would have your opinion on it ^^
Here some screenshots :
[https://img.itch.zone/aW1hZ2UvMjMxNjI2LzEwOTgxODEucG5n/original/qc%2BYNW.png]
[https://img.itch.zone/aW1hZ2UvMjMxNjI2LzEwOTgxNzkucG5n/original/C9xgAb.png]
[https://img.itch.zone/aW1hZ2UvMjMxNjI2LzEwOTgxNzcucG5n/original/GZR0bn.png]
[https://img.itch.zone/aW1hZ2UvMjMxNjI2LzEwOTgxODAucG5n/original/f%2FgsZd.png]
[https://img.itch.zone/aW1hZ2UvMjMxNjI2LzEwOTgxNzgucG5n/original/uBDCRF.png]

The downloads :
itch.io (exe) : https://d3nx.itch.io/space-race
github (source) : https://github.com/D3nX/space_race
Topic Yeti Runner By D3nX Date 2018-01-17 11:52
Hello guy, D3nX there !

So today I would present a game that I made with my friends for the french game jam #3 (chrismas special edition) using Ruby, Gosu and NeoGame (version 0.3, now disponible on Github -> https://github.com/D3nX/NeoGame/) !
The story is basicly a yeti who is grumpy but also hungry, and he live in top of a very very high mountain, so help to him to go far as possible to get food !

This game is a casual one. Also, by this game we have winned the game jam !!

So for myself, I entierly code the game and done the game design, one of my friend done some sprites and my other friend done the musics.

So here some screenshot :
[https://img.itch.zone/aW1hZ2UvMjEwOTQ4Lzk5MTg2NC5wbmc=/315x250%23c/AQ0%2FzJ.png]
[https://img.itch.zone/aW1hZ2UvMjEwOTQ4Lzk5MTg2NS5wbmc=/original/KPrTf6.png]
[https://img.itch.zone/aW1hZ2UvMjEwOTQ4Lzk5MTg2Ni5wbmc=/original/IY5KDR.png]

Here the jam page : https://itch.io/jam/french-game-jam-speciale-noel
And finally here the game page : https://d3nx.itch.io/yeti-runner

We hope you l'ill enjoy it !
Topic Bug in gosu By D3nX Date 2018-01-09 17:40
Hey,

So last days, I've been writing some game using Ruby and Gosu (latest version of Gosu, using Ruby 2.3.3 on Windows 7 Professional SP1), and I found a bug :

This code, should draw a white line on screen :

require 'gosu'

include Gosu

class Game < Gosu::Window
  def initialize()
    super 640, 480, false
  end

  def update()

  end

  def draw()
    img = Gosu.record(self.width, self.height) do
      Gosu.draw_line(150, 150, Color::WHITE, 250, 180, Color::WHITE)
    end

    img.draw(0, 0, 0)
  end
end
Game.new.show


But the output I got is this :
[https://img15.hostingpics.net/pics/963698ruby2018010921303071.png]
(And the color can change when I do nothing or if click on this window or another window)

So I hope jlnr will fix this issue =)

D3nX =)
Topic NeoGame - A Ruby game framework (early version) By D3nX Date 2018-01-05 09:06
Hello, happy new year to you and to Gosu ! :D
As you told me, I've done a game jam using a future version of neogame (with a major update), and I really enjoyed !
Here the jam page : https://itch.io/jam/french-game-jam-speciale-noel
And here my submission : https://itch.io/jam/french-game-jam-speciale-noel/rate/210948

I hope you l'ill enjoy the game I've made with my friends =)
Topic NeoGame - A Ruby game framework (early version) By D3nX Date 2017-10-07 04:24
Yeah I checked out Sapphire,it was pretty cool =)
And I can totally understand you way of thinking, sure Gosu without anything is really cool, because you have the pleasure of doing it with a lib that just simple. But I'm just making this library for make developper life easier and get started with a (in the future, I hope) powerful framework built-on Gosu, and do not have to rewrite in example collision class for each game, but make a simple bunch of tools for make game without rewriting some things.

Note: v0.2 is released on github.
Topic NeoGame - A Ruby game framework (early version) By D3nX Date 2017-10-06 02:57
Hey, thanks for this suggestions ! Actually I cant do this because I had a lot of homework but soon why not ? =)
Topic NeoGame - A Ruby game framework (early version) By D3nX Date 2017-09-24 16:52
Hey guy, so let me first present myself. So my name is D3nX (Denis =D), I'm 13 years old, and I love Gosu and Ruby.

Because Gosu is a simple multimedia library, I decided to extend it and making it more powerful,
and I decided to make my own framework based on Ruby and Gosu : NeoGame.

Here is the website(under construction, sorry for the quality, I'm not really good in HTML / CSS...) : https://niobean-generation.000webhostapp.com/index.html
And the github : https://github.com/D3nX/NeoGame

Actually, it's really an early alpha, but I'm quite happy of the job done. So, I just want want to know what did you think of it, some suggestions, and everythings you want for make this framework better !

Thanks at all =D

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill