Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

connorshea

10
Posts
3
Topics
1
Following
A member registered May 08, 2016

Recent community posts

Oh and I should mention: hotloading is cool as hell, thank you so much for that!

I'd definitely appreciate documentation of all the available methods for the built-in classes, right now it definitely feels like working with a black box :P

I think I've discovered a bug?

Video:


Reproduction steps:

- Open a game on macOS

- Have another application open full screen

- Drag the game into the application's fullscreen space so it takes up part of it

- Resize the game so it takes up less space (more might also work)

- The game will now go back to windowed mode and be stuck with the resize cursor displaying. It no longer takes inputs, as far as I can tell.


macOS 10.14.4 Mojave, I can provide more info if needed.

I feel like doomwipe could be a little bit less seizure-inducing...

What version of mruby is this running on? Also, is there good documentation anywhere for what features mruby is missing from cruby?

(1 edit)

I'm not sure if it's just me, but it doesn't seem like golf_with_musical_notes is actually playing sounds. macOS 10.14, not sure if I can provide any other information here.

It'd be nice to have built-in aliases for a few basic colors, essentially you'd be able to provide symbols as the argument for colors, e.g. :red, :orange, :blue, :green, :yellow.


Would that work, or do we want to keep to just RGB values?

I don't want to make a new topic for every little thing I want to suggest, so I'll just start posting comments in this one :)

I had hoped to create a nice helper with named parameters for creating sprites, so that you could do something like this:

# before, doesn't really mean anything to me
[10, 10, 100, 100, [0, 0, 0]]
# after, much nicer!
sprite_helper(x: 10, y: 10, width: 100, height: 100, color: [0, 0, 0])

But unfortunately mruby doesn't support named parameters :( https://github.com/mruby/mruby/issues/363


Anyone have any other ideas or want to implement it in mruby for me?

I put together a little tasks.json file for use with VS Code, it makes running the dragonruby samples a bit simpler because I'm lazy :)


You can add it to .vscode/tasks.json in the dragonruby folder and then open the Command Palette (Ctrl/Cmd + Shift + P), choose "Run task", and then choose your task :) Should work on macOS and Linux, not sure about Windows.

https://gist.github.com/connorshea/9c4a1bede810497957e3fec50949bd63 (gist because itch.io's code formatter doesn't like me)