Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Philippe Simons
@loki666
I may have a look at integrating this
but don't know when
@iarwain could you put this in the trello ?
OneArb
@OneArb
@loki666 +1
Sausage Johnson
@sausagejohnson
Thank you @loki666
I just added it to Trello.
iarwain
@iarwain
@loki666 nice, looking forward to it
Hezekiah M. Carty
@hcarty
@sausagejohnson @iarwain Hi! Sorry for the delayed reply. It's just the Intel integrated GPU and I grabbed + installed the latest driver from them without any improvement. So maybe an issue with being too new and something in gl(fw) not playing nicely with the relatively new drivers
On the plus side, the most recent Ubuntu runs beautifully on the laptop and everything works as expected here, so I'll live in a dual-boot world if I keep the machine
@iarwain I see the same performance on any of the included tutorial/demo applications that come with orx. Bounce and all the numbered demos. If I turn on the FPS display they top out around 45 FPS
iarwain
@iarwain
@hcarty There's definitely something not playing nicely with OpenGL on your computer. Do you have a second GPU on it or only the Intel integrated one?
Sausage Johnson
@sausagejohnson
@/all The Orx website is back up and running!
OneArb
@OneArb
@sausagejohnson Thanks!
iarwain
@iarwain
Thanks to @sausagejohnson and @FullyBugged for their work on this new site. We're now free of the abomination that was our joomla setup
Hezekiah M. Carty
@hcarty
@iarwain Only the Intel integrated GPU
And that's wonderful news about the site! Thanks so much!
Sausage Johnson
@sausagejohnson
Very welcome guys. There's more to come, but it's a start. :)
BeardPower
@BeardPower
@sausagejohnson Great! Thanks!
OneArb
@OneArb

Is it possible to have an example of creating an object defined at runtime, like a box, turn that instance into an orxOBJECT that I can rotate on itself for instance?

I see I can stick to using orxOBox_2DSet, where would I find the documentation for the vectors _pvWorldPosition, _pvPivot, _pvSize?

How do I create a set of objects I can manage?

in

orxSTATUS orxFASTCALL RenderEventHandler(const orxEVENT *_pstEvent)
...
orxOBOX boxArea;

What is the persistence of the boxArea object?

I am calling

 orxEvent_AddHandler(orxEVENT_TYPE_RENDER, RenderEventHandler);

within

orxSTATUS orxFASTCALL Run()
FullyBugged
@FullyBugged

@/all The Orx website is back up and running!

<3 Awesome result !!!

naroin
@naroin
hi there
i suppose orxInput_GetBindingName returns the name of the keyboard key ? like "Control Left" ?
how could i translate these strings in other languages?
iarwain
@iarwain
You'll have to add those as language keys yourself, I'm afraid
naroin
@naroin
yes, but how can i translate them with the orx translation system?
binding names are strings, not $variables
iarwain
@iarwain
check the locale API
naroin
@naroin
orxLocale_GetString ? can a key can have spaces?
or maybe all binding names have _ instead of spaces?
iarwain
@iarwain
yes, it can have spaces
naroin
@naroin
oh
didn't know
iarwain
@iarwain
I've just added a small convenience feature for handling joysticks, especially for those who want to display different sets of icons based on the actual controller: one can now retrieve the joystick names & ids from the config. They'll be store inside the Input section with the keys JoyName<Index> and JoyID<Index
The IDs match the infamous SDL game controller DB
FullyBugged
@FullyBugged

Here is a proof of concept made By @iarwain for me (I had two different type of controller to test it ;)
You can add it to your BounceAlt.ini
from the console, type
Object.Create Confirm

You should see the right button appearing and disappearing depending on what joystick is plugged on your USB port.

[XboxConfirm@Button]
Texture = XboxOne_A.png
ID = Xbox Controller

[Ps4Confirm@Button]
Texture = PS4_Cross.png
ID = Wireless Controller

[Confirm]
ChildList = XboxConfirm # Ps4Confirm

[Button]
Graphic = @
TrackList = ButtonTrack

[ButtonTrack]
0 = > Get Input JoyName1, > Object.GetName ^, > Get < ID, > == < <, > If < default hidden, Object.SetGroup ^ <
Loop = true
XboxOne_A.png
PS4_Cross.png
( or change the name of your textures for each button ) :)
Sausage Johnson
@sausagejohnson
@FullyBugged would you mind writing a little about this on the wiki? Or just some detailed notes for me and I can put up an article.
iarwain
@iarwain
I don't think this example is worth going in the wiki, it's just a quick proof of concept
Sausage Johnson
@sausagejohnson
No worries. THought it might be a new feature on the joystick improvements from earlier in the year.
FullyBugged
@FullyBugged
It would be a nice short video tutorial IMO :P
short, less than 5 minutes, on a very particular subject with an simple and visible example :)
while showing how cool Orx and the Console works In real time ;)
naroin
@naroin
a ps4 controller is named "Wireless Controller" in game controller DB?
it seems not.. then i dont understand how it works :)
naroin
@naroin
another question, is there a magic command to align multiple objects on the same line?
the goal is to easily show "Press {Button1Sprite} or {KeyEnterSprite}", taking account of the different sprites width (text can change its width because of translations)