Code Monkey home page Code Monkey logo

Comments (9)

evilangelist avatar evilangelist commented on May 22, 2024

I agree this is a problem and should be fixed. I ran into the same issue but was able to get around it with setting a layer property of 'group' to the proper z-index value and it worked.

from citrus-engine.

alamboley avatar alamboley commented on May 22, 2024

Indeed, it does the trick!

Also it seems the bug occurs often on a Mac but is very rare on Windows. What OS do you use?

from citrus-engine.

blackgun avatar blackgun commented on May 22, 2024

I am using Mac and Windows, but my target device is mobile, the problem occurs in all platform including Android and iOS.

"for in" loop to get object in hash map (such as object,Dictionary) doesn't get fixed order.

evllangelist's advice is a good solution, now I just use "L1,L2,..." as the layer name , then convert "tmx.layers" from object to array, that will get same order as my design in editor.

from citrus-engine.

alamboley avatar alamboley commented on May 22, 2024

Does the last post there help? http://forum.starling-framework.org/topic/tiled-maps-bug-objectmakerstarling

from citrus-engine.

blackgun avatar blackgun commented on May 22, 2024

I think it should, I think people has their own solution similar, but it should be fixed in CE.

from citrus-engine.

alamboley avatar alamboley commented on May 22, 2024

Yes it will be fix in the CE. I just have no time at the moment to test the best solution. I will try this one tomorrow and if it works well add it.

from citrus-engine.

blackgun avatar blackgun commented on May 22, 2024

I understand you. Maybe you can cut some functions, make CE small and you can easily develop it. For example, Flixel is a small excellent framework that is small and other people can add 3rd party tools libs. In my opinion, you added many particular functions for platform game genre but I don't think they should be implemented in CE. They should be made by game developer. Maybe you plan to make CE into a powerful platform game maker but I don't think game making tools like Stencyl is a good direction. More function more limitation.

from citrus-engine.

gsynuh avatar gsynuh commented on May 22, 2024

@blackgun, actually it's made for all types of games (I know you know)... the only problem is people see only one "starter kit" which is for platformers so people are inclined to think that CE = "platformer games only" (or they think "it must be hard to do anything else with it"), which is not true of course, and so they will only make platformers, or close to platformers, which is a shame because then newcomers will think the same, and the "games made with CE" page will not let them think otherwise at all...
Some are still brave enough and clever to have understood that CE could handle lots of other types of games ! I had a word with Aymeric about a new kit... just so everyone would see that CE is not and will never be platformer only - after that I think all that should be done is create new cooler demos, make other types of games with it, show Citrus's true potential (it's still pretty underestimated) .

Now , for what you are saying, you are talking about possible "extensions" or "plugins" right? That's a great idea because that means Aymeric will not have to handle the support for those plugins and people can contribute in other ways, but that also means some form of refactoring or something. I mean why the hell not for v4 :D jk though. I have no idea how feasible this thing is, one step at a time, let's all make sure people will no longer see CE as platformer only, I think that's one of the goal we should set ourselves (doesn't mean we shouldn't build platformers... the industry is still asking for platformers anyway.... but if you have an innovative gameplay idea, why not try it first with CE :)

from citrus-engine.

alamboley avatar alamboley commented on May 22, 2024

Yup, the platformer kit learns people how to create their own object, and how to use a physics engine which is a good starting point imho.

My idea with the CE is to support lots of things, showing that it is doable (example 3D Stuff), and if it's very used by the community improve it. This way I've direct feedback. For example I know that Away3D & AwayPhysics isn't used so I don't need to take time to support it (unless I've personnal projects/experimentations). But if someone would like to go this way, it's already integrated so he can start to improve it and contribute ;)

The bug is fixed now by the way!

from citrus-engine.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.