Hello Guest

Recent Posts

Pages: [1] 2 3 ... 10
1
Projects / Re: Starforger 2
« Last post by Lindeberg on January 11, 2018, 10:25:27 AM »
Yeah, can you reduce the file size somehow?
2
Ideas / A* Pathfinding?
« Last post by jonlemur on November 16, 2017, 02:38:54 PM »
Any plans for creating an A* pathfinder class for use with tilemaps? Is there one already that I've missed?

What I've seen of Otter so far is awesome btw
3
Help / Tiles look different between ogmo and otter
« Last post by inaba on October 05, 2017, 01:13:58 AM »
So I've got this problem in the title that is best eplained with this picture



It seems like Otter doesn't resize the tiles or something like that, how would I make it do that?
4
Help / Single Entity with multiple graphics and multiple graphic transformations
« Last post by 4lexKidd on September 18, 2017, 12:39:48 PM »
Hellow Fellow Otters,

I am quite new to Otter2d, therefor this question might be a little nooby.
I work on some kind of cogwheel-clock, which contains 2 cogwheels - a larger big sized cogwheel (functioning as the base) and a smaller sized cogwheel rotating around the bigger one. The problem here is that both shall rotate around there own image origins(which is in both cases there imagecenter) as well as the above mentioned relative rotation to eachother.

Here is a picture of the system in its core(with markings of where they should go):

https://1drv.ms/i/s!AnJZtUH4r073hWwFkQwwM8hSa3KG

At first i thought of using the entity of the clock (which holds the graphics of both wheels) as some kind of rotator but i didn't found a way to rotate it as a entity :/
I guess i would rather need some technique to make a graphic relative to another to be able to rotate it around its center while rotating its position in a larger circle OR the way more finiky way of trignometricly move its position in a circle, which i would like to avoid since i am not very familiar with the maths behind that sorcery xD

Is there an elegant way of solving that problem?
5
General / Hi question about Otter and For Kyle
« Last post by yolan51 on June 19, 2017, 04:16:59 PM »
Are you still working on it Kyle ? is their anyway for me to participate for free into developping it, I'd like to try to implement atleast a gamestate pattern to switch beetween GUI.

Or should I fork my own version somewhere ?

I'm interested in developping such framework since i did SFML in C back in 2012. The code get too easily messy when you need to build big thing with much organizing classes around your gameplay event and pixel correction.

I can do c#/Java easily.
6
General / Re: MonoDevelop - Fedora 25 - mono 4.8.0
« Last post by Kyle on June 16, 2017, 02:08:27 PM »
Running it on Linux and Mac is more up to SFML than me, unfortuantely, which support has not been that great.  I hope to make Linux and Mac versions more accessible with version 2.0 sometime in the future.  Sorry :(
7
Help / Sound and Sound Attenuation
« Last post by Power_Michael on May 23, 2017, 08:44:14 PM »
I am trying to implement sound that fades with distance in my game, so I have created a player who moves about a scene, and a boombox object that stays in one fixed location. I then defined the following in the boombox : entity class:
Code: [Select]
        Sound sound1 = new Sound("Sounds/salt.ogg", false);


        //Constructor
        public Boombox(float x, float y) : base(x, y) {
            var image = Image.CreateRectangle(32, Color.Orange);
            image.CenterOrigin();
            AddGraphic(image);

           // asf
            sound1.CenterSound(X, Y);
            sound1.RelativeToListener = false;
            sound1.Volume = 1;
            sound1.MinimumDistance = 0.5f;
            sound1.Attenuation = 2;
            sound1.Play();

and then in my player I have this line of code inside of my Update() method:

Code: [Select]
Sound.CenterListener(X, Y);
When I run the game, the song plays, but it doesn't fade when the player is farther away.
---Do note that it (sound1) is a full length song, and it is an .ogg.

So how would I go about making this work? Or does this feature not work properly? Please help :D

https://www.pifsc.noaa.gov/hawaiian_monk_seal/img/myth8_med.jpg // a seal to be ironic

-Michael
8
General / Re: MonoDevelop - Fedora 25 - mono 4.8.0
« Last post by PerryLan on May 15, 2017, 01:58:25 AM »
I don't see why the original Bathmate Hercules code here wouldn't work.
9
Help / Otter Slack Team
« Last post by Kyle on April 27, 2017, 05:26:22 PM »
The Otter community is much more active on Slack!

Join up here: http://otter2d.com/slack.php
10
General / Re: Saving and Loading
« Last post by Kyle on April 27, 2017, 05:23:56 PM »
Hey sorry I have been not checking the forums since we're all pretty much over on Slack these days.

There is a DataSaver class with some very simple functionality for saving and loading data.
Pages: [1] 2 3 ... 10