Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Unnamed Game Engine is known as Roole
#1
Unnamed Game Engine
better known as Roole

Introduction

Well, you know me, I love dealing with a couple of game engines. This is especially true if talking about Linux or Cross Platform applications.
There are a few based on Ruby either completely or partially. Yeah, among those are:
  • HiddenChest Laughing + Tongue sticking out
  • MKXP
  • Gosu
  • Ruby SDL2
  • Rubygame (old)
  • Dragon Ruby (commercial)
I don't mind working on HiddenChest at all Grinning but sometimes you need a break and working on another project is enticing indeed. That's how I ended up customizing Gosu once again. Thinking I've forgotten how many times I've tried to make it look more complete or look as some production ready engine. Happy with a sweat  Yeah, I even tried contributing to the Gosu codebase by suggesting a couple of basic changes to no avail. Sad

It's just that I kind of hate this "one man team" sort of projects. Happy with a sweat I hope that makes some sense to you, guys.

Extremely Basic Features

By the way, you can check THIS POST to get an idea on what I've been trying to do so far.

Since What's up, RMers? doesn't look like the best place ever to keep track of this project, I preferred to open this thread and see if one day I get my very own Game Engine Icon here. Laughing

So far I managed to implement a binary executable that encapsulates the old Gosu Rubygem. A Rubygem is a Pure Ruby or CRuby Extension that any Ruby script may require at any time. Since that didn't seem to work on my previous attempts of making it, I had to resort to the ugly and burdensome work of embedded its code in a CRuby executable. It's C because it depends on C programming language to contain some Ruby calls a la C. The truth is that you can also include as many C++ code as needed. Laughing

Actually I included some C++ namespace to let my executable intercommunicate between the Ruby and C++ portions of its codebase.
Happy with a sweat Don't worry! It's quite short indeed. Grinning

What exactly are you able to do with this Unnamed Engine?

Thinking Good question! I guess it's pretty much the same you can do with any Ruby Gosu project.
  • Load any kind of Pictures stores in JPG or PNG or TGA formats AFAIK
  • Load and play any MP3 or OGG soundtrack
  • Display text on screen using Normal, Bold, Italic and Underline styles
  • No predefined Game Window Size! Shocked
  • Execute custom Ruby scripts
Because it features a TrueType binding as the library in charge of all string characters to be rendered on screen, it's not possible to offer you some Outline style by default. Sad

There's almost nothing by default except that I introduced a few curious changes.

Scripting Section

Main Loop

While you're used to some basic Main loop like the following:

RMXP and RMVX
Code:
while $scene != nil
  $scene.main
end

RMVX ACE
Code:
rgss_main { SceneManager.run }

GOSU
Code:
Gosu::Window.new.show

In this Unnamed Engine's case it'd be...
Code:
Scene.init

Actually it's a hidden script by default. You just need to define the contents of Scene.init method like this
Code:
module Scene
 def self.init
   #your code
   self.scene = NewScene.new
 end
end

Exiting the Main Loop

In XP and VX you'd exit the game by assigning no value to $scene like this:
Code:
$scene = nil

In Ace it's...
Code:
SceneManager.exit

In Gosu it'd be...
Code:
some_variable_representing_window.close

In my Unnamed Engine it's...
Code:
Scene.close

Which in turn would make the scene be equal to nil.

Happy with a sweat So what do you think about it so far?
Well, any suggestion or constructive criticism is welcome! Grinning  
"For God has not destined us for wrath, but for obtaining salvation through our Lord Jesus Christ," 1 Thessalonians 5:9

Maranatha!

The Internet might be either your friend or enemy. It just depends on whether or not she has a bad hair day.

[Image: SP1-Scripter.png]
[Image: SP1-Writer.png]
[Image: SP1-Poet.png]
[Image: SP1-PixelArtist.png]
[Image: SP1-Reporter.png]

My Original Stories (available in English and Spanish)

List of Compiled Binary Executables I have published...
HiddenChest & Roole

Give me a free copy of your completed game if you include at least 3 of my scripts! Laughing + Tongue sticking out

Just some scripts I've already published on the board...
KyoGemBoost XP VX & ACE, RandomEnkounters XP, KSkillShop XP, Kolloseum States XP, KEvents XP, KScenario XP & Gosu, KyoPrizeShop XP Mangostan, Kuests XP, KyoDiscounts XP VX, ACE & MV, KChest XP VX & ACE 2016, KTelePort XP, KSkillMax XP & VX & ACE, Gem Roulette XP VX & VX Ace, KRespawnPoint XP, VX & VX Ace, GiveAway XP VX & ACE, Klearance XP VX & ACE, KUnits XP VX, ACE & Gosu 2017, KLevel XP, KRumors XP & ACE, KMonsterPals XP VX & ACE, KStatsRefill XP VX & ACE, KLotto XP VX & ACE, KItemDesc XP & VX, KPocket XP & VX, OpenChest XP VX & ACE
Reply }


Messages In This Thread
Unnamed Game Engine is known as Roole - by kyonides - 08-27-2020, 04:06 AM
RE: Unnamed Game Engine - by kyonides - 08-28-2020, 04:57 AM
RE: Unnamed Game Engine - by kyonides - 08-28-2020, 11:02 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
   SMILE GAME BUILDER only $13.99 DerVVulfman 0 818 12-27-2022, 05:06 AM
Last Post: DerVVulfman
   I have a request when making your next game... JayRay 1 4,546 11-07-2017, 10:56 PM
Last Post: kyonides
   Input on what sort of game you'd be interested in ChickenFetus 7 12,956 06-28-2016, 03:14 AM
Last Post: DerVVulfman
   Game Development Dream Team Kain Nobel 2 6,136 06-17-2016, 03:43 AM
Last Post: Bounty Hunter Lani
   my Game Battle Questions! JayRay 3 5,917 08-08-2015, 08:01 PM
Last Post: JayRay
   [Kinda-Poll] Pattern Game for new maker hanetzer 4 7,828 01-29-2015, 11:06 PM
Last Post: JayRay
Video  Lets Make a Game LilyKnight 27 29,567 09-26-2014, 04:34 PM
Last Post: greenraven
  Game Idea Thread KasperKalamity 30 35,546 11-14-2012, 12:58 AM
Last Post: KasperKalamity
  XNA Game Stdio 4.0 millarso 2 5,722 08-15-2012, 06:34 PM
Last Post: millarso
Question  Releasing game soundtracks Python Blue 7 10,146 06-15-2012, 02:34 PM
Last Post: Python Blue



Users browsing this thread: